Sign in to follow this  
kslam

Back face removal and Object culling

Recommended Posts

back face removal is done by using the dot product.

first, compute a vector from the viewer position to the position of one vertex of the polygon - it does not matter which vertex is used. then, compute the dot product of this vector and the polygon normal (computed using the cross product).

if the result is positive, the polygon is not facing the viewer and can be discarded.

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