• Advertisement

Archived

This topic is now archived and is closed to further replies.

glFrustum()

This topic is 5983 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites

  • Advertisement