Culling Plane-Test
Here is a culling test that will work anywhere in the pipeline.
Remove faces that have the eye in their negative half-space.
This requires computing a plane equation for each face considered.
We will still need to compute the normal (How?). But we don't have to
normalize it.
How do we go about computing a value for d?
Once we have the plane equation, we substitute the coordinate of the
viewing point (the eye coordinate in our viewing matrix). If it is negative,
then the surface is back-facing.
|
|
|