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

[Bug] Suspected 3D interaction bug #3185

Open
jwrepo opened this issue Dec 10, 2024 · 1 comment
Open

[Bug] Suspected 3D interaction bug #3185

jwrepo opened this issue Dec 10, 2024 · 1 comment
Labels

Comments

@jwrepo
Copy link

jwrepo commented Dec 10, 2024

Bug description

when i write like this
this.renderer.getActiveCamera().elevation(87)
normal

When I write like this, then an exception occurs in the interaction
this.renderer.getActiveCamera().elevation(90)
abnormal

Steps to reproduce

https://kitware.github.io/vtk-js/examples/VolumeContour.html

Detailed Behavior

No response

Expected Behavior

I want elevation 87 degrees and 90 degrees to be the same

Environment

  • vtk.js version: 32.8.0
  • Browsers: chrome
  • OS: win11
@jwrepo jwrepo added the type: bug 🐞 Errors in functionality label Dec 10, 2024
@finetjul
Copy link
Member

If I modify the VolumeContour example by adding renderer.getActiveCamera().elevation(90); as such:

renderer.getActiveCamera().set({ position: [1, 1, 0], viewUp: [0, 0, -1] });
renderer.getActiveCamera().elevation(90);
renderer.resetCamera();

I do not have any error in the console. There only is a legitimate warning about the view up being reset.
Please provide more information about your change (use codesandbox ?) and wrong behavior.

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

No branches or pull requests

2 participants