README.md

vsgExamples

Example programs that test and illustrate how to use the VulkanSceneGraph/VkSceneGraph and optional add-on libraries. The example programs are grouped according to the type of features they illustrate their dependencies.

Core examples

The Core directory contains examples illustrate core class features of the VSG such as reference counting, maths, visitors etc.

Desktop examples

The Desktop directory contains examples use the VSG's native Windowing to create various different desktop graphics applications

Android examples

Osg/vsg examples

The Osg directory contains a small set of example that depend upon the core vsg library, Vulkan, and add the dependency on OpenSceneGraph. The osg examples are only built when both the VSG and OSG are available. These examples use the OSG for data and performance comparison purposes.

Quick Guide to Building the vsgExamples

Prerequisites:

Under Linux and macOS : GLFW 3.3 or later. Used internally by libvsg. The plan is to implement native Windowing support so this dependency will later be removed, so far only Windows has native Windowing.

Optional 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.

Command line build instructions:

To build and install in source, with all dependencies installed in standard system directories: