glulookat

Can I find the OpenGL commands that are equivalent to
gluLookAt(0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0)? Thank you very much

Can I have a more explanatory question, Thank You.

Edit: Here is a gluLookAt description, but I don’t know if you are looking for that.

  • VC6-OGL

[This message has been edited by VC6-OGL (edited 01-28-2003).]

I have not got time to convert, but you can replace gluLookAt with the following:

gluLookAt( eye_location, look_at_point, eye_rotation)

This is a rough idea of how the code will look, plus a few math routines not in the example.

glRotate( look_at_point )
glTranslate( eye_location )
glRotate( 0, 0, eye_rotation )

Originally posted by tigeryhong:
Can I find the OpenGL commands that are equivalent to
gluLookAt(0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0)? Thank you very much