View Full Version : no-roll virtual camera

05-10-2003, 02:10 AM
what is the minimum number of real numbers required to define the position and orientation of a "no-roll" virtual camera?why?
How many floating point parameters does the gluLookAt function take?Why is this number not the same as in the above question?

05-10-2003, 02:53 AM
void gluLookAt (
GLdouble eyex,
GLdouble eyey,
GLdouble eyez,
GLdouble centerx,
GLdouble centery,
GLdouble centerz,
GLdouble upx,
GLdouble upy,
GLdouble upz);

First three parameters are the camera postion, next three are camera looking at position and the last three are the up vector.


05-10-2003, 11:08 AM
i started to answer, but it sounds like a homework question.