Skip to main content
GameDev.net gamedev.net
🔒 Locked

glFrustum()

Started by Viscous-Flow Sep 1, 2001 at 12:44 PM 0 replies 350+ views
Original Post
Viscous-Flow
Viscous-Flow
Can someone please give me a short example of the glFrustum function, especially in relation to moving the near and far clipping planes. I have tried using it, but I keep getting rather strange looking objects floating around in my world, ack! I think it is just because I don''t really understand how the function works other than what they said on an OpenGL website. Also if you could tell me whether or not to parameters in the function are in pixels, world units, or some other unit of measurement, that would be very useful. Any help would be greatly appreciated!
zedzeek
zedzeek
all gl functions use the same units. what the units distances are is up to u.
the gluPerspective( FOV, aspect, near, far ) command is easier to understand perhaps use this instead

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.