PDA

View Full Version : To all help me for camera by gluLookAt information...



Dol AI with 3D Bone system
10-13-2004, 09:56 AM
help me about gluLookAt

KraftDinner
10-13-2004, 11:17 AM
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

Dol AI with 3D Bone system
10-13-2004, 11:40 AM
Thank you very much...

I will try this.

Dol AI with 3D Bone system
10-13-2004, 07:43 PM
Hi 'KraftDinner'. I want to know about the LookAt Vector and Up Vector to advance control camera.

Very Thanks

Dol