Replies: 1 comment 4 replies
-
Hmm, not entirely sure. Are you using the glTF you uploaded to the editor, or the one you downloaded from it? I could imagine some indices might have been mixed up on export, though it would still be a bug. Can you share a repro link? Any errors in the console? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It's been a minute since I had to use the editor to output a GLTF and hotspots and I see a couple things are different. In my site, I updated the link to the newest version of the model-viewer JS. My old pages using data-position and data-normal are still working ok at rendering and displaying the hotspots. I'm adding a new page with a new GLTF with the data-surface parameter and the hotspots show in the middle of the model. Any ideas what I'm doing wrong? Thanks!
This is working...
`</model-viewer bounds="tight" src="/3dfile.gltf" enable-pan="" camera-controls="" interaction-prompt="none" oncontextmenu="return false;" environment-image="neutral" poster="poster.jpg" shadow-intensity="0" data-js-focus-visible="" ar-status="not-presenting">
This is not working and displaying the hotspots in the center...
`</model-viewer bounds="tight" src="/NEW_3dfile.gltf" enable-pan="" camera-controls="" interaction-prompt="none" oncontextmenu="return false;" environment-image="neutral" poster="poster.png" shadow-intensity="0" data-js-focus-visible="" ar-status="not-presenting">
`
Beta Was this translation helpful? Give feedback.
All reactions