Updating Images #196
Replies: 2 comments 4 replies
-
I might have clue where your issue comes from, and I may be able to give you a hint on that, but could you provide a simple codesandbox to illustrate the way you tried to change the background texture ? Im not a react-three-fiber user, so it will help a lot. |
Beta Was this translation helpful? Give feedback.
-
Great, here is the link to the codesandbox. If you take a look at the code it converts a canvas to a dataURL which is used to create a texture. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone
So I am currently working on my CS master's degree and building an astronomical data viewing web application with React and WebXR.
I have been using three-mesh-ui to implement the GUI in the VR environment, with some help from your react-three-fiber sandbox.
However, I have run into a dilemma that I have been banging my head against a wall about, probably due to my inexperience.
The question is, how would you go about changing/updating an image on a block panel?
I have attempted a few ways but none of them seems to work. Primarily when I view the application on the Oculus browser with a headset like the Quest 2 the image does not update.
Any input on this would be appreciated very much.
PS - would any of you be interested in seeing the progress of the application so far?
Beta Was this translation helpful? Give feedback.
All reactions