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

Allow setting default camera position/direction in blueprint #8265

Open
Wumpf opened this issue Dec 2, 2024 · 0 comments
Open

Allow setting default camera position/direction in blueprint #8265

Wumpf opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
🟦 blueprint The data that defines our UI

Comments

@Wumpf
Copy link
Member

Wumpf commented Dec 2, 2024

This is a small subtask of:

3D spatial views decide their default camera pose heuristically based on a smoothed bounding box. This default pose is what is used on start & when resetting the camera.
The first step into configurable cameras is therefore to set the default position & direction for this default camera.

This is mostly orthogonal to all the other camera settings: it doesn't have any relation to how the camera is controlled (ego/orbit/other, follow-mode, movement/rotation sensitivity).
The accompanying ui should have two buttons for:

  • setting the current camera dir/pos as the default
  • resetting the camera to the default (same thing as double clicking in the view)

This was started in

Proposing to use keep the simple look-at camera style here that was used in that draft:

  • position
  • target position
  • optional up axis (sourced from View Coordinates, this part isn't in the linked draft yet)
@Wumpf Wumpf added the 🟦 blueprint The data that defines our UI label Dec 2, 2024
@Wumpf Wumpf self-assigned this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🟦 blueprint The data that defines our UI
Projects
None yet
Development

No branches or pull requests

1 participant