Sign in to follow this  

Frustum problems

Recommended Posts

Enjoy    355
Hello everyone, In my game I am using some simple frustum culling. It is calculating, basing on combined matrix (PROJECTION X MODELVIEW). Culling is working right for me only for a NEAR plane. If I am trying to cull LEFT and RIGHT planes, too much culling is taking place. And also, NEAR plane culling is working in an inverse way. I mean, that it should be: if ( plane_point_dist(point) < - sphere_radius) cull; But for me is working: if ( plane_point_dist(point) > sphere_radius) cull; Why could this be? Thank you in advance, Ilya.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this