Why I can not load local .glb file? #2306
Replies: 4 comments
-
have same problem here. |
Beta Was this translation helpful? Give feedback.
-
Most likely the path is wrong; have you checked for console errors? Also note it must be served with proper CORS headers, though that's not usually a problem locally. |
Beta Was this translation helpful? Give feedback.
-
Can you give detail which front-end framework are you using? or just testing on the single html file? It would help to find out the structure of your path. It's a path issue locally |
Beta Was this translation helpful? Give feedback.
-
You need a web server, I use mongoose, it's very easy to use : https://github.com/cesanta/mongoose |
Beta Was this translation helpful? Give feedback.
-
src="https://modelviewer.dev/shared-assets/models/Astronaut.glb"
its ok to use the sample, but when I use my own glb file, nothing to show.
and my own glb can work on
https://modelviewer.dev/editor/
.who can help me?
Beta Was this translation helpful? Give feedback.
All reactions