Replies: 2 comments 4 replies
-
It's hard to help if you don't ask a question 😄. Try following this example: https://modelviewer.dev/examples/scenegraph/#createTexturesExample |
Beta Was this translation helpful? Give feedback.
2 replies
-
Can someone help me? |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi, I am Tri, a Designer.
I am new to this model-viewer, I learn this for a month and I am doing a showcase project but I am stuck on a function.
I want to change the texture with the uploaded image (just for the demo so I don't need to upload it to the server) by click on a button.
This is for my sample: https://test-3d-texture.trivu9.repl.co
The model: Custom frame rec.glb.txt
The texture I want to upload and replace with:

And source code (if need):
Thank you for your help.
PS: Before I open this forum (or something) I try to read all the documents I can find but I don't know the code as much so I really need your help.
Beta Was this translation helpful? Give feedback.
All reactions