viser icon indicating copy to clipboard operation
viser copied to clipboard

How can I make the built-in camera rovolve around itself instead of the some unknown point?

Open QinlongHuang opened this issue 10 months ago • 2 comments

Thanks for the amazing work! I was noticed that the current bulit-in camera is always revolving around an unknown point. It is useful for object-centric 3D scene. But in my scene (large-scale NeRF/3DGS visualization), I'd like to make things like first-person view. So what should I do?

QinlongHuang avatar Apr 17 '24 04:04 QinlongHuang

Hi! I did start an implementation for a camera-centric toggle in this branch: https://github.com/nerfstudio-project/viser/tree/brent/camera_centric_mode

But unfortunately it needs work to get running. We're currently using an off-the-shelf CameraControls component for the orbit controls, but I couldn't find anything comparable that supports camera-centric motion. We'd likely to have build something more custom, could use help here!

brentyi avatar May 12 '24 00:05 brentyi

Hi! I did start an implementation for a camera-centric toggle in this branch: https://github.com/nerfstudio-project/viser/tree/brent/camera_centric_mode

But unfortunately it needs work to get running. We're currently using an off-the-shelf CameraControls component for the orbit controls, but I couldn't find anything comparable that supports camera-centric motion. We'd likely to have build something more custom, could use help here!

Thank you very much, my native language is not English. You have modified the code, but it is not possible to rotate the environment around the camera. Now, the camera still rotates around the coordinate origin. Do I understand correctly? Thank you very much.

smart4654154 avatar Jul 10 '24 08:07 smart4654154