Re:Drawing isometric boxes in the correct order
by JoshTriplett on Thursday August 18, 2016 @07:34PM
(#12317006)
I wasn't suggesting that triangles avoid cyclic occlusion; I was suggesting that a triangle can't be concave. :)
The best solution for the cyclic occlusion problem still seems like a depth buffer.
You don't actually avoid the problem entirely when you're using just triangles because it's still possible to construct a "A overlaps B overlaps C overlaps A" cycle of occlusion using three triangles. It's more or less the same corner case as a cyclic occlusion problem with convex pole-shaped meshes.
For this reason it seems like graphics engines tend to just batch-render entire sub-meshes at a time because rendering entire meshes presents little additional complexity over rendering individual polygons (and is more performant). It's a leaky abstraction but the leaks are pretty rare.