Replies: 1 comment
-
threejs has examples for sure, i would much rather want to stick to them, it won't be any different in react than in three. i only found this example but it animates a bit odd: https://codesandbox.io/s/wonderful-chandrasekhar-8l9rrj36j0?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hey THREE.js community,
for a upcoming project I would like to embed svg's into my Canvas. I tried to use this gist to load and draw svg's. However the svg's are not getting rendered properly while the shapes are still added to the canvas. I can log the component and also inspect the created meshes with the THREE.js dev tools however they do not get rendered.
Inspecting the children of the group it seems like all the refs are null. Does that make a difference?
I've attached a simplified version of the code that I am using with the essentials. Can someone help me out here and explain what is going on? Thanks alot in advance!
Beta Was this translation helpful? Give feedback.
All reactions