Replies: 1 comment 1 reply
-
Hi, just another newbie trying to picture the change. There are two things to note. First is that the code sample breaks on version 4.0.20 on wards so the changes are in file: Second, I think the canvas is right but threejs just takes svg upside down. I have drawn this conclusion from the stackoverflow post below: You can see that the original code has camera rotation 180 deg applied but does not work. Finally, to fix the problem I have added camera rotation on useFrame. Sample below: |
Beta Was this translation helpful? Give feedback.
-
Hi there,
i'm pretty new to
react-three-fiber
and 've just tried one of(probably outdated) SVG examples.I upgraded react-three-fiber version to v4 (from v2) and Scene in a Canvas rotated to 180 Grad degree.
here is a codesandbox to verify.
i can not find any "breaking changes Log" to get that fixed. is there any idea what should be tweaked.
tnx in anyway for building such an awesome lib.
Beta Was this translation helpful? Give feedback.
All reactions