Meshlab's code implementation for trackball orientation operation of the object #1463
Unanswered
WillyTuring
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi you guys,
I am trying to implement the trackball orientation for the object in Qt5 similar to how we could drag the left-button of the mouse and having the object rotate with different orientation while keep the center of the "spherical ball" stand-still not changing at all.
My current problem is that with my implementation, the object will appear rotate away from or toward to us while we drag the left-button of the mouse around, meaning that the center of the "trackball" is actually changing. I know the description is rather vague, but i am hoping that some people could give me some guidance on the procedures/thinkings behind it or pointing me to some resources to study. Thanks in advance for any kind help.
Edit: My current situation is like when we rotate the "trackball", the ball behaves as if it is like the earth rotates around the sun rather than behaving as self-rotates which is what we want.
Beta Was this translation helpful? Give feedback.
All reactions