gltf-test icon indicating copy to clipboard operation
gltf-test copied to clipboard

Update the Khronos glTF Sample Viewer from 1.x to 2.x

Open cx20 opened this issue 1 year ago • 2 comments

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

cx20 avatar Sep 07 '24 12:09 cx20

Additional Information

https://github.com/KhronosGroup/glTF-Sample-Renderer/blob/main/API.md

cx20 avatar Sep 07 '24 17:09 cx20

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

image

https://github.com/cx20/gltf-test/pull/792 https://github.com/cx20/gltf-test/pull/793

cx20 avatar Sep 28 '24 16:09 cx20