PDA

View Full Version : gluLookAt and glFrustum help ..



ggauravr
04-01-2010, 10:25 PM
Can someone plz tell me what actually gluLookAt tell us ?
and glFrustum ?
I ve written a prog to display a wirecube.. but am unable to figure out the effects of these two functions..
Im confused over the orientation of Z-axis and object and eye coordinates etc.. thanks in advance..

ZbuffeR
04-02-2010, 12:31 AM
Read :
http://www.glprogramming.com/red/chapter03.html
http://www.glprogramming.com/red/appendixf.html

ggauravr
04-02-2010, 02:38 AM
thanks for help .. ZbuffeR :) ll check out that..

bdxxxx
04-03-2010, 03:38 AM
gluLookAt changes modeview matrix
glFrustum changes projection matrix