3 questions
0
votes
0
answers
31
views
Camera framing problem in R3F (CameraControls + different object aspect ratios +Screens with different sizes)
I’m building a 3D website in React Three Fiber, Three.js, and @react-three/drei.
The scene is a 3d circular monument with 4 wall-mounted objects spread evenly around the monument: Mirror, ATM, Statue, ...
0
votes
1
answer
96
views
How to implement view offset translation when using CameraControls in React Three Fiber?
In the camera-controls source code, there is an example of a view offset. How can this be implemented using the CameraControls wrapped in '@react-three/drei'?
let offsetUpdated = false;
const ...
1
vote
2
answers
545
views
Enable/Disable Rotation, Pan, Zoom in Camera COntrols
Is there any way to disable/enable only the rotation, pan, zoom options in Camera Controls.
In that, the enabled option sets enabled or disables all controls. But I need to specify the options like ...