PDA

View Full Version : gluLookAt(...)



atcbrambo
08-07-2004, 09:11 AM
I spent lot of time trying to make gluLookAt working, but I can' find a solution with this for :

1. Set the "camera like" view from zfar to znear, using glFrustum.

2. Have a satellite-like vision.

I can't find more details about eyr, center, up vector. Any help [or minima code] is welcome.

BRAMBILLA Giovanni

08-08-2004, 06:55 PM
atcbrambo, try this out. wordy, but there's code and pictures too :)

http://fly.cc.fer.hr/~unreal/theredbook/chapter03.html