Advertisement

Frustum

Started by September 05, 2000 11:16 AM
3 comments, last by LaBasX2 24 years, 2 months ago
Hi! I want to do some 3d-clipping. Basically I know how to do that, but I don''t know exactly how to create the frustum from the given parameters (aspect ratio, fov, nearplane). Can anyone tell me where I can find information on how to build the frustum? Or does anyone know how to do that? The construction seems to involve quite a bit of trigonometry. Thanks cu LaBasX2
For aspect ratio and fov, near and back clipping plane, use gluPerspective(...)

For defining the clipping plane individually, use glFrustrum(...)
(you can find me on IRC : #opengl on undernet)
Advertisement
Yes, I know how to set up a frustum in OpenGL.
But I need to calculate the planes so that I can cull spheres
or bounding-boxes.

I don''t know how to combine the fov and the aspect ratio.

Can someone please help me?

Thanks

faq http://www.frii.com/~martz/oglfaq/ IIRC clipping culkling
Thanks for your replies!

This topic is closed to new replies.

Advertisement