help me about gluLookAt
It is quite simple.
You specify where the camera is, where you want to look and which way is up.
gluLookAt(cameraX, cameraY, careraZ, lookAtX, lookAtY, lookATZ, 0, 1, 0); // positive Y up vector.
Very simple… Where the camera is and at what its pointed and which way the top of the camera is.
Read this:
http://www.opengl.org/resources/faq/technical/#indx0080
Thank you very much…
I will try this.
Hi ‘KraftDinner’. I want to know about the LookAt Vector and Up Vector to advance control camera.
Very Thanks
Dol