PDA

View Full Version : Camera Matrix



DaMangz
11-04-2002, 03:45 AM
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.

jebus
11-04-2002, 04:05 AM
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).]

DaMangz
11-04-2002, 04:25 AM
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.