donmccurdy / three-gltf-viewer

Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
https://gltf-viewer.donmccurdy.com/
MIT License
2.09k stars 534 forks source link

can we get a recording or GIF exporter? #274

Closed vznjpeg closed 2 years ago

vznjpeg commented 2 years ago

would be helpful when uploading 3D previews

donmccurdy commented 2 years ago

Hi! It's certainly a useful idea, but beyond the scope I have plans of supporting in this viewer.

If someone were interested in building something like this, I might suggest starting with Model Viewer. It has methods to export screenshots that could be called repeatedly and then assembled into a GIF or video. Some work already exists to use Model Viewer for generating screenshots from a CLI, as well: https://github.com/Shopify/screenshot-glb.