-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
I expect have a controls can support zoomed and rotated with the current mouse position in screen #19599
Comments
Do you mean #17145? It zooms to cursor, but rotates around center -- not the projected cursor position. |
yes...this question some example google can find all have rotate problem... I feel it is very difficult for me to realize this function... |
Sorry, I do not understand what rotation behavior you want. A video would be helpful. |
https://api.bimface.com/preview/16442f9e ,such as this site you will find you can make current mouse cursor position in screen as zoom and rotate‘s center. The autodesk's navisworks is the same logic。。。 |
the orbitcontrols rotate target always in the center of screen,
such as obrit controls the rotation center always in the center of screen, it have many problems when I want to zoom by the mouse cursor position。。。 |
Sorry, I find the rotation behavior in https://api.bimface.com/preview/16442f9e very confusing. Zooming to cursor makes sense to me; rotating around the cursor does not. Maybe someone else has a different opinion... |
I'm with @WestLangley on this one. Rotating around the cursor is very un-intuitive and can quickly move the model off-screen, making it difficult to bring it back on. |
This video explains how zooming and rotating work in Navisworks: https://youtu.be/9CAoruSqA4A?t=78 A "pivot point" is set using a raycaster-like feature. I do not see three.js implementing an API like that. |
yes...The other important feature is you can directly zoom in or out at your mouse position ,and the orbit controls you must use mouse right button move the you want scene to the screen center。。。 |
But this should be implemented via #17145. |
Closing. I think it makes senes to focus on #17145 in order to bring "zoom-to-cursor" in production. |
such as navisworks viewer behavior。。。
The text was updated successfully, but these errors were encountered: