Git Product home page Git Product logo

vsgexamples's Introduction

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.

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)

vsgexamples's People

Contributors

anormann1974 avatar anyoldname3 avatar asafran avatar blobfish avatar follower avatar franciszhi avatar geefr avatar iconiqlabs avatar joaopmoliveira avatar juval avatar kannode avatar laurensvoerman avatar leeriva avatar lobneroo avatar pauljurczak avatar rhabacker avatar robertosfield avatar sbrkopac avatar theodoregoetz avatar timoore avatar tomhog avatar vsg-dev avatar xenonofarcticus avatar yangshen398 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.