1. ## gluLookAt

gluLookAt( GLdouble eyeX,
GLdouble eyeY,
GLdouble eyeZ,
GLdouble centerX,
GLdouble centerY,
GLdouble centerZ,
GLdouble upX,
GLdouble upY,
GLdouble upZ )

can you explain me what "center" and "up" are? please don't use technical expressions because beginners don't understand that

it is enough if you tell me how to look at a 3D object from exactly the top of it.(with angle of 90)

thx

2. ## Re: gluLookAt

http://www.opengl.org/documentation/...lu/lookat.html

center is the target of your camera, and eye is the center of the camera

3. ## Re: gluLookAt

thx but i don't understand what "up vector" is : /

4. ## Re: gluLookAt

Up vector is wgere the top of yur head looks at Imagine it liek this: when you have a camera, you can rotate it around it's view vector (the eye and the target point are the same!). The up vector explains this rotation. Usually you want the camera head to look "up".

5. ## Re: gluLookAt

hmm

can we say that eye-up states the direction of our head and center is the actual place that we want to look?

thank you very much if i understand correcty
and if i don't, still thank you very much

6. ## Re: gluLookAt

SOrry I read too fast, I forgot the up vector...

can we say that eye-up states the direction of our head and center is the actual place that we want to look?
Yes, you can think that the up vector is the vertical rotation axis of your neck when you do a camera panning movement.

7. ## Re: gluLookAt

thx thx thx

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•