GluLookAt() problems
I''m having a problem with the gluLookAt function, Im writing a 3d modeller and im using gluLookAt to orient all of the views. I can get all them correct, but using the function to orient the camera to the left (Left Viewport) is giving problems.
In my left viewport
...
::gluLookAt(-50.0f, 0.0f, 0.0f,
0.0f, 0.0f, 0.0f,
0.0f, 1.0f, 0.0f);
...
The camera just seems to be wrong, im getting strange coordinates when I click for a point on the left viewport.
Am I doing something wrong here, The up vector seems right though.
Please Help,
Keith
Try to perform a translation and rotation.
If it doesn''t work correctly with that, then you''ve problems in your code.
// Last Attacker \\---=( LA )=---// LA Extreme \\
If it doesn''t work correctly with that, then you''ve problems in your code.
// Last Attacker \\---=( LA )=---// LA Extreme \\
ICQ Number : 120585863
E-mail:
laextr@icqmail.comThis topic is closed to new replies.
Advertisement
Popular Topics
Advertisement