Closed DavidHnilica closed 5 years ago
Lets try it thanks Dave and David
Hi David, I'm using your ArcBall class in openGLControl and not in SheneControl. My project is a 3D CAD. I would like to extrate the rotation angles x,y, z, after ArcBall rotation, so that I can save the Views. Do you have any idea of how to do that?
I image I have to use the ModelView matrix gl.GetDouble(OpenGL.GL_MODELVIEW_MATRIX, mv);
Is there any utility function or method to get these values? Or do you have any document tio help me in this?
Thank you very much.
changed arcball behavior:
-screen coordinates adjustment changed -added changeable radius of the virtual sphere (normally circle inscribed in rectangular screen is taken as ball). This allows (IMO) easier rolling. -sphere mapping changed according to the following article : https://www.opengl.org/wiki/Object_Mouse_Trackball
(sphere when pointer is inside circle, hyperboloid otherwise)