Skip to content

Allow to rotate freely in orthogonal viewports #7569

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

Open
14 tasks
Tracked by #8330
philippotto opened this issue Jan 18, 2024 · 2 comments · May be fixed by #8614
Open
14 tasks
Tracked by #8330

Allow to rotate freely in orthogonal viewports #7569

philippotto opened this issue Jan 18, 2024 · 2 comments · May be fixed by #8614

Comments

@philippotto
Copy link
Member

philippotto commented Jan 18, 2024

Detailed Description

The orthogonal mode always renders the planes axis-oriented at the moment. In the arbitrary mode, the user can rotate the viewport, but there is only one. The user should be able to rotate the viewports in the default "ortho" view (could need some renaming then name would be alright as long as the viewports are orthogonal to each other).

Todo

  • adapt bucket picking (reuse picker for arbitrary mode)
  • adapt shader
  • adapt mouse interactions
    • mapping of mouse position to voxel position
    • ...
  • disable or support rendering of segmentation data in rotated viewport (how to interpolate?)
  • first iteration should only support skeleton tool
  • disable or support volume tools
  • UI
    • expose rotation value
    • allow "synced" mode where the rotation of one viewport, rotates the other viewports, too, so that the angles between them stay constant always keep viewports orthogonal to each other
    • "warn" user when angles are not axis aligned

Context

  • Specific to long-running jobs (set jobsEnabled=true in application.conf)
  • Specific to webknossos.org (set isDemoInstance=true in application.conf)
@normanrz
Copy link
Member

I don't think the viewports should be rotateable individually but rather always stay orthogonal to each other.

@philippotto
Copy link
Member Author

Great, then we can keep the name "orthogonal" mode for now.

@fm3 fm3 added the frontend label Nov 16, 2024
@fm3 fm3 changed the title Allow to rotate viewports individually Allow to rotate freely in orthogonal viewports Nov 16, 2024
@philippotto philippotto mentioned this issue Jan 15, 2025
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants