gltf-test
gltf-test copied to clipboard
Update the Khronos glTF Sample Viewer from 1.x to 2.x
I am currently in the process of updating the Khronos glTF Sample Viewer I use from version 1.x to 2.x.
https://cx20.github.io/gltf-test/examples/khronos-gltf-rv/index.html?model=Duck&scale=1
My sample is missing some features, so I'll list them below.
- [x] Adjust the canvas size to the browser window size
- [x] Add control panel
- [x] Rotate on/off
- [x] IBL on/off
- [ ] Light on/off
- [ ] Tone mapping
- [ ] Variant selection
- [x] Embedded Camera selection
- [ ] Animation support
- [x] Camera support
- [x] Mouse support
- [x] Updated test results in README.md
Additional Information
https://github.com/KhronosGroup/glTF-Sample-Renderer/blob/main/API.md
A control panel has been added and the built-in glTF camera can now be selected. https://cx20.github.io/gltf-test/examples/khronos-gltf-rv/index.html?category=sampleModels&model=VC&scale=0.2&type=glTF
https://github.com/cx20/gltf-test/pull/792 https://github.com/cx20/gltf-test/pull/793