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.06k stars 530 forks source link

How to use a fixed model file for gltf-viewer #370

Closed joylix closed 1 month ago

joylix commented 1 month ago

I want to use a fixed model file for gltf-viewer (to say my model file is "model/model_1.zip"), and automatically skip the file selection step, how should I do it?

donmccurdy commented 1 month ago

Hi! See the #model parameter mentioned here: