dawn-cmake/examples/glTFViewer
James Darpinian 664f8fd385 Fix GLTF viewer shader with wrong binding indices.
BUG=

Change-Id: Ifcc302280d52f4f1c1860d2a59b864372397ceb9
Reviewed-on: https://dawn-review.googlesource.com/1700
Commit-Queue: James Darpinian <jdarpinian@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2018-09-28 19:51:18 +00:00
..
img Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
Camera.inl Rename the copyright authors from NXT to Dawn 2018-07-18 22:54:06 +02:00
README.md Rename NXT -> Dawn in the comments 2018-07-18 22:54:06 +02:00
glTFViewer.cpp Fix GLTF viewer shader with wrong binding indices. 2018-09-28 19:51:18 +00:00

README.md

Dawn glTF Viewer

This is a barebones glTF model viewer using the Dawn 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