dawn-cmake/examples/glTFViewer
Austin Eng b4b3ea05eb Reland "Rename texture.createTextureView to createView to match WebGPU"
This is a reland of 6f0b021dbf.
It also renames CreateDefaultTextureView to CreateDefaultView in a test
that landed after the tryjobs for the reverted patch passed.

Original change's description:
> Rename texture.createTextureView to createView to match WebGPU
>
> Bug: chromium:877147
> Change-Id: I186fc26054cc6729c859a4161c755a1133dc0bca
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6360
> Commit-Queue: Austin Eng <enga@chromium.org>
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>

Bug: chromium:877147
Change-Id: I8e1a1adc07ad2c78081ae3cb0fa2bdb648b39c50
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6361
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2019-04-09 16:57:00 +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 Reland "Rename texture.createTextureView to createView to match WebGPU" 2019-04-09 16:57:00 +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