Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced camera rotation controls #5823

Open
jleibs opened this issue Apr 6, 2024 · 2 comments
Open

Advanced camera rotation controls #5823

jleibs opened this issue Apr 6, 2024 · 2 comments
Labels
enhancement New feature or request 📺 re_viewer affects re_viewer itself

Comments

@jleibs
Copy link
Member

jleibs commented Apr 6, 2024

The default orbit camera maintains an up-axis and subsequently gets "stuck" at the extreme rotations where the definition of up would become inverted.

While the behavior of maintaining up can be helpful to prevent users from getting disoriented with 3D content, there are cases where advanced users would like to have arbitrary control of all 3 axes without these limitations.

Being able to enable this as an camera mode as needed would be a nice addition to the 3d viewer.

@jleibs jleibs added enhancement New feature or request 📺 re_viewer affects re_viewer itself labels Apr 6, 2024
@mp3guy
Copy link

mp3guy commented Apr 6, 2024

This would be great. FWIW, the Pangolin mouse handler really is the gold standard in 3D: https://github.com/stevenlovegrove/Pangolin/blob/master/components/pango_display/src/handler.cpp#L238. It allows in-camera-plane translation of a 3D point under the cursor, rotation around a 3D point under the cursor, zoom towards/away from a 3D point under the cursor and rolling around the forward vector of the camera. Nothing comes close to this in terms of ease of use and power; MeshLab, Blender, cloudcompare etc.. all fall short.

@Dvad
Copy link
Contributor

Dvad commented Jun 18, 2024

Pangolin mouse handler is hard to beat.

Blender with those settings is also quite good:
image

Rotation and zooming around the 3d point under the cursor is a superpower that makes navigating into big scene a breeze.

It would be great to have something like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 📺 re_viewer affects re_viewer itself
Projects
None yet
Development

No branches or pull requests

3 participants