PDA

View Full Version : How to Set Camera View using gluLookAt() function?



jitendrapatil
06-02-2013, 10:39 PM
I have used glOrtho(500, 600, 600, 700, -100, 100) projection with this i want to use camera view settings with gluLookAt() method what should be the parameters for gluLookAt function on this projection..

tonyo_au
06-03-2013, 01:12 AM
They are not directly related. The gluLookAt should be used with the view-model matrix not the projection matrix.