PDA

View Full Version : gluLookAt and the modelview matrix



glguru
02-23-2000, 08:17 AM
Hi,
I posted this message in the beginners forum and didn't get a reply. So, I guess this is the next best place.

I am struggling with gluLookAt(...). Could someone please give me an indepth explanation
of it? For example, say I am given the
eye point, the at point and the up direction,
how do I formulate the modelview matrix?

Thanks for your time.

Eric
02-23-2000, 08:25 AM
Sorry but I do not know the answer.

The thing is, if nobody answers you, you should try to download the source code of MESA or the reference OpenGL implementation by SGI and look at their gluLookAt function....

Hope it helps !

Eric