diego2k
04-01-2012, 09:42 AM
Hello,
I try to set the camera orientation to an model...
With the camera position and the view direction I can calculate
the "look at"- direction. But how do I get the rotation of the "lool at" vector?
For those who are familiar with QT:
I try to convert QGLViewer::Camera to an glRotationf/glTranslatef on a object.
Thanks!
I try to set the camera orientation to an model...
With the camera position and the view direction I can calculate
the "look at"- direction. But how do I get the rotation of the "lool at" vector?
For those who are familiar with QT:
I try to convert QGLViewer::Camera to an glRotationf/glTranslatef on a object.
Thanks!