GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vsg-dev/vsgExamples: Example programs that test and illustrate how to use the VSG and optional add-on libraries

BranchesTags
Open more actions menu

Latest commit

 

History

2,818 Commits
2,818 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data
data
 
 
examples
examples
 
 
tests
tests
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
INSTALL.md
INSTALL.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 

Repository files navigation

vsgExamples

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.

  • core examples
  • nodes examples
  • maths examples
  • app examples
  • vk examples
  • text examples
  • raytracing examples
  • state examples
  • commands examples
  • io examples
  • ui examples
  • platform examples
  • utils examples
  • threading examples
  • volume examples
  • meshshaders examples

Quick Guide to Building the vsgExamples

Prerequisites:

  • C++17 compliant compiler i.e.. g++ 7.3 or later, Clang 6.0 or later, Visual Studio 2017 or later.
  • Vulkan 1.1 or later.
  • CMake 3.7 or later.
  • VulkanSceneGraph use master
  • vsgXchange optional - used for 3d model and image loaders
  • vsgImGui optional - used for in window GUI examples

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:

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.

Running examples

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)

About

Example programs that test and illustrate how to use the VSG and optional add-on libraries

Topics

cpp17modernscenegraphvsgvulkanvulkanscenegraph

Resources

Readme
MIT license
Activity

Stars

170 stars

Watchers

17 watching

Forks

86 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.