model-viewer
model-viewer copied to clipboard
Easily display interactive 3D models on the web and in AR!
Fixes #3506 `cancelInteraction(time)` allows to cancel a currently running prompt interaction and optionally have it jump to a desired keyframe through the `time` input. `cancelInteraction()` will keep the model's rotation...
With https://github.com/google/model-viewer/pull/3320, we have an API to run custom prompts. We'd like to have an API for interrupting/cancelling a currently running prompt, e.g. `modelViewer.cancelInteract()`, which can be used when events...
### Description When testing longer animations, it would be nice to be able to scrub time in modelviewer.dev/editor. This exists (and is very useful) on https://sandbox.babylonjs.com/ but since there's differences...
### Description Seems something goes wrong either with the bounds calculation or with click-to-zoom when meshopt compression is used (nodes might be scaled?). Trying to navigate in this model in...
### Description My guess there's some attribute sanitization going on and enable-pan is still missing? Clicking "Edit Snippet" on modelviewer.dev/editor and then saving (without any changes) removes enable-pan. #### Live...
### Reference Issue > // Rotating, translating and scaling are mutually exclusive operations; only // one can happen at a time, but we can switch during a gesture. With two...
Support for simultaneous viewing of multiple models in the viewer at once is required for augmented reality experiences. Consider the example of a "try-and-buy" experience where the user would like...
### Description I have point cloud scans that yield models without any materials once converted to GLTF/GLB. These models visually load, but then, break the code at a few places....
A naïve and incomplete attempt at #3211 I've never explored this part of the codebase so I'd like to hear your thoughts, particularly about using the canvas `dataURL` as the...
### Description When importing a glTF file containing spotlights, those spotlights are incorrectly placed/rotated in model-viewer. This seems to stem from an underlying threejs issue, where spotlights break when a...