Replies: 3 comments 8 replies
-
Is there away to split the canvas in sections? Or have multiple canvases with the same scene? |
Beta Was this translation helpful? Give feedback.
-
https://codesandbox.io/s/r3f-multi-view-forked-rvwgu?file=/src/Panel.js Stuck with getting transform controls mouse picking to work. Issue occurring is the mouse coordinates are not updated to each panel. The transform controls in the example above (click on an object to attach) only work for the middle panel as the raycasting is still set to the whole canvas. Any idea on how to fix this? The only solution I can think of is to constantly update the mouse coordinates in useFrame, but this will kill performance Seems to be an unresolved issue: https://discourse.threejs.org/t/multiple-views-raycasting-transformcontrols/10299/9 |
Beta Was this translation helpful? Give feedback.
-
anyone figured out a solution to this ? i have the exact same problem |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have 4 viewports each with their own cameras.
How do you recommend I add orbitControls and transformControls to each camera?
I have to pass a domElement for both, should I overlay divs on top of the Canvas?
Beta Was this translation helpful? Give feedback.
All reactions