Back face removal and Object culling
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.
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.
Hello :)
Backface culling is explained here.
I d not know what you mean by "object culling" but I assume you mean frustum culling. You can find interesting resources about frustump culling here, here and here. Of course, you'll find even more material with google.
HTH
Backface culling is explained here.
I d not know what you mean by "object culling" but I assume you mean frustum culling. You can find interesting resources about frustump culling here, here and here. Of course, you'll find even more material with google.
HTH
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement