ff9562f792
This patch adds the support of the parameter 'baseVertex' of drawIndexed on D3D12, Metal and Vulkan back-ends. BUG=dawn:51 TEST=dawn_end2end_tests Change-Id: Ibd25884ad2abceaaed744d74c4ee6b0ae6b3fa1b Reviewed-on: https://dawn-review.googlesource.com/c/3221 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> |
||
---|---|---|
.. | ||
img | ||
Camera.inl | ||
README.md | ||
glTFViewer.cpp |
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:
VC (Virtual City):