Camera Matrix

How does gluLookAt build the camera matrix? What is the formula?

I have the formula for the projection matrix in the red book, but I don’t know how to make a camera matrix from it.

camera matrix? gluLookAt adjusts the modelview matrix. i know not of this “camera matrix” that you speak of…

jebus

[This message has been edited by jebus (edited 11-04-2002).]

Yargaridaroo,
Yep I know gluLookAt adjusts the MODELVIEW matrix. Sorry about the misunderstanding.

I just figured out how I can do what I want to do. I know how gluLookAt works now.