3D Backface Culling

From CGAFaq

Jump to: navigation, search

To test to see if a polygon in 3D is backfacing, first define all points of all polygons in clockwise order. Let the first three points of the polygon be , , and . Define

If is positive the polygon is visible. If is negative the polygon is invisible (or the other way).

Personal tools