Basic GLB Viewer
- Model auto-rotates & bobs.
- Speaker cone animates on X-axis.
- Vertex colors enabled (if model has them).
- Drag to rotate (pauses auto-rotation).
- Scroll to zoom disabled (page scrolls normally).
- Right-drag to pan.
Important: You need to edit this HTML file and change the MODEL_PATH
variable in the script to point to your .glb
file.
Example: const MODEL_PATH = 'my_model.glb';
or const MODEL_PATH = './models/my_awesome_thing.glb';
Vertex colors should be visible if your model includes them. Speaker cone animation active on X-axis. Scroll to zoom on model is disabled.