Problems with Painters
The painter's algorithm works great... unless one of the following
happens:
- Big triangles and little triangles.
This problem can usually be resolved using further tests (i.e.
considering the bounding boxes as well). Suggest some.
- Another problem occurs when the triangle from a model
interpenetrate as shown below.
This problem is a lot more difficult to handle. Generally it requires
that primitive be subdivided (which requires clipping).
- Cycles among primitives
Usually the painter algorithm is used only when the database does
not include interpenetrating primitives. Examples of this type of
model include meshes and height fields.
|