How to make the "Animated Textures" work ??? #4068
Unanswered
Cebolitoss
asked this question in
Q&A
Replies: 2 comments 11 replies
-
These are the more recent ones: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I feel like I'm nearly there, but also feel like I'm still far: 😭 😭😂 I'm not running the whole model-viewer-master anymore, is my actual folders structure. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to run a sample where I run a video on a 3D model, but I kept getting errors. To solve this I tried downloading the whole "model-viewer-master" and run it locally.
After the whole "model-viewer-master" was in my local server I kept receiving errors as 404 (Not Found) for lots of files as the files inside the "built" folder, the files inside the "node_modules\focus-visible\dist" folder. So I tried to fix the folders structure inspecting the original (https://modelviewer.dev), copying the files from the website folders structure straight to my local server. And once I fixed all the 404 (Not Found) for the "built" and "node_modules" folder, I kept receiving the "modelViewerAnimated.createVideoTexture is not a function" error, and lots of others.
I used the following online "model-viewer.js" to fix the node_modules 404 errors as bellow, but kept receiving the errors:
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.js""> </script>I'm really lost on what I'm doing wrong.
This are the errors that I kept receiving after fixing everything that I thought that would help.
What should I do to fix it?
Beta Was this translation helpful? Give feedback.
All reactions