PDA

View Full Version : about gluPerspective



04-14-2001, 08:25 PM
gluPerspective(fovy, aspect, zNear, zFar)

the function takes 4 parameters and I don't

quite understand what the first parameter

is...

according to the GLU API specification

the first parameter defines "the field-of-

view angle(in degrees) in the y direction".

what does it mean by "angle in the y direction"?

how's the angle measured?

Michael Steinberg
04-14-2001, 09:27 PM
The angle is defined in degrees and specifies the angle between the upper and the lower clipping plane.

vrempire
04-17-2001, 03:12 AM
hi iori,
well just like michael said,
if your world or object Y-position is bigger than the upper clipping plane or less than the lower clipping plane,then
your world and object will not be visible.