dawn-cmake/examples/glTFViewer
Corentin Wallez a0ad53b618 Enable format macros in glTFViewer
Without this compilation can fail in picojson.h because the PRId64 macro
isn't defined (it is used to print 64bit ints).
2017-05-30 15:55:34 -07:00
..
img Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
CMakeLists.txt Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
Camera.inl Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
README.md Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
glTFViewer.cpp Enable format macros in glTFViewer 2017-05-30 15:55:34 -07:00

README.md

NXT glTF Viewer

This is a barebones glTF model viewer using the NXT API. It is intended as a proof of concept for the API and is not a robust model viewer. It can load basic mesh/texture data from a few glTF sample models, such as:

  • 2CylinderEngine
  • BoxWithoutIndices
  • Cesium Man
  • Duck
  • Monster
  • VC (Virtual City)

Usage

build/examples/glTFViewer/glTFViewer path/to/Duck.gltf

build/examples/glTFViewer/glTFViewer path/to/Duck.gltf --backend metal

Screenshots

Duck:

Duck

VC (Virtual City):

Virtual City