Menu

#90 Poor depth sorting of transparent triangles

open
nobody
None
5
2004-07-12
2004-07-12
No

When transparent objects overlap, it is well known that you should
render the transparent triangles from back to front to get the
correct appearance, but doing so is easier said than done.
One problem is that it's somewhat tricky to determine which of
two triangles is in front of the other as seen from the camera.
Another problem is that the "in front of" relation is not a linear
ordering or even a partial ordering. That is, if you know that
triangle A is in front of B, and B is in front of C, then you can't
conclude anything about the relation between B and C. It may
seem likely that A is in front of C, but it is possible that C is in
front of A, or that there neither is in front of the other.

Currently, when transparent objects pass in front of each other,
there are ugly flashing effects with individual triangles
brightening and darkening.

Discussion

  • James W. Walker

    James W. Walker - 2004-07-12

    Transparent colored boxes

     
  • James W. Walker

    James W. Walker - 2004-07-12

    Transparent textured boxes

     

Log in to post a comment.