Frustum
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(...)
For defining the clipping plane individually, use glFrustrum(...)
(you can find me on IRC : #opengl on undernet)
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement