{"id":19856543,"url":"https://github.com/vsg-dev/vsgexamples","last_synced_at":"2026-04-17T17:02:59.785Z","repository":{"id":37318393,"uuid":"156184063","full_name":"vsg-dev/vsgExamples","owner":"vsg-dev","description":"Example programs that test and illustrate how to use the VSG and optional add-on libraries","archived":false,"fork":false,"pushed_at":"2024-11-29T18:16:14.000Z","size":48528,"stargazers_count":147,"open_issues_count":12,"forks_count":67,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-12-06T22:44:22.903Z","etag":null,"topics":["cpp17","modern","scenegraph","vsg","vulkan","vulkanscenegraph"],"latest_commit_sha":null,"homepage":"","language":"GLSL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsg-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-05T08:26:08.000Z","updated_at":"2024-11-29T10:37:58.000Z","dependencies_parsed_at":"2023-09-27T20:09:18.440Z","dependency_job_id":"6fe32d9e-6497-40e3-86a1-ad7afeece54d","html_url":"https://github.com/vsg-dev/vsgExamples","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsg-dev%2FvsgExamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsg-dev%2FvsgExamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsg-dev%2FvsgExamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsg-dev%2FvsgExamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsg-dev","download_url":"https://codeload.github.com/vsg-dev/vsgExamples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226213,"owners_count":20904465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp17","modern","scenegraph","vsg","vulkan","vulkanscenegraph"],"created_at":"2024-11-12T14:15:49.643Z","updated_at":"2026-04-17T17:02:54.737Z","avatar_url":"https://github.com/vsg-dev.png","language":"GLSL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vsgExamples\nExample programs that test and illustrate how to use the [VulkanSceneGraph](https://github.com/vsg-dev/VulkanSceneGraph/) and optional add-on libraries. The example programs are grouped according to the type of features they illustrate and their dependencies.\n\n* [core](examples/core/) examples\n* [nodes](examples/nodes/) examples\n* [maths](examples/maths/) examples\n* [app](examples/app/) examples\n* [vk](examples/vk/) examples\n* [text](examples/text/) examples\n* [raytracing](examples/raytracing/) examples\n* [state](examples/state/) examples\n* [commands](examples/commands/) examples\n* [io](examples/io/) examples\n* [ui](examples/ui/) examples\n* [platform](examples/platform/) examples\n* [utils](examples/utils/) examples\n* [threading](examples/threading/) examples\n* [volume](examples/volume/) examples\n* [meshshaders](examples/meshshaders/) examples\n\n## Quick Guide to Building the vsgExamples\n\n### Prerequisites:\n* C++17 compliant compiler i.e.. g++ 7.3 or later, Clang 6.0 or later, Visual Studio 2017 or later.\n* [Vulkan](https://vulkan.lunarg.com/) 1.1 or later.\n* [CMake](https://www.cmake.org) 3.7 or later.\n* [VulkanSceneGraph](https://github.com/vsg-dev/VulkanSceneGraph/) use master\n* [vsgXchange](https://github.com/vsg-dev/vsgXchange/) optional - used for 3d model and image loaders\n* [vsgImGui](https://github.com/vsg-dev/vsgimGui/) optional - used for in window GUI examples\n\nThe 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.\n\n### Command line build instructions:\nTo build and install in source, with all dependencies installed in standard system directories:\n\n    git clone https://github.com/vsg-dev/vsgExamples.git\n    cd vsgExamples\n    cmake .\n    make -j 8\n\nFull details on how to build the vsgExamples can be found in the [INSTALL.md](INSTALL.md) file.\n\n## Running examples\n\nAfter you have built the examples you should set your binary search path to the vsgExamples/bin directory, and the VSG_FILE_PATH env vars.\n\n\texport PATH=\"$PATH:/path/to/vsgExamples/bin\"\n\texport VSG_FILE_PATH=/path/to/vsgExamples/data\n\nThen run examples:\n\n\tvsgmaths # run simple tests of vsg/maths functionality\n\tvsgdraw # run the vsgdraw example (a port of VulkanTutorial)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsg-dev%2Fvsgexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsg-dev%2Fvsgexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsg-dev%2Fvsgexamples/lists"}