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

Camera orientation tool #361

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Camera orientation tool #361

wants to merge 5 commits into from

Conversation

brentyi
Copy link
Collaborator

@brentyi brentyi commented Dec 27, 2024

The orbit controls we use in viser can be unintuitive when what we're visualizing isn't aligned with the scene's "up" direction:

cameratool0.mp4

The new "Camera Orientation Tool" gives us a way to visualize the current up direction, both with the current up vector and the horizontal plane it defines:

cameratool1.mp4

The tool lets us reorient the camera controls:

cameratool2.mp4

It also lets us move the "look at" point, which also defines the centerpoint for orbiting:

cameratool3.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant