Example programs that test and illustrate how to use the VulkanSceneGraph and optional add-on libraries. The example programs are grouped according to the type of features they illustrate and their dependencies.
The above dependency versions are known to work so they've been set as the current minimum, it may be possible to build against older versions. If you find success with older versions let us know and we can update the version info.
To build and install in source, with all dependencies installed in standard system directories:
git clone https://github.com/vsg-dev/vsgExamples.git
cd vsgExamples
cmake .
make -j 8
Full details on how to build the vsgExamples can be found in the INSTALL.md file.
After you have built the examples you should set your binary search path to the vsgExamples/bin directory, and the VSG_FILE_PATH env vars.
export PATH="$PATH:/path/to/vsgExamples/bin"
export VSG_FILE_PATH=/path/to/vsgExamples/data
Then run examples:
vsgmaths # run simple tests of vsg/maths functionality
vsgdraw # run the vsgdraw example (a port of VulkanTutorial)