_zor
June 30, 2008, 5:53am
1
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
_zor
June 30, 2008, 6:14am
3
thx but i don’t understand what “up vector” is : /
Zengar
June 30, 2008, 6:32am
4
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”.
_zor
June 30, 2008, 6:44am
5
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
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.