Use the average of the three triangle vertices (rather than the first

vertex) to compute the depth used for sorting.  There are still annoying 
artifacts, but I've already spent too much time exploring all the ways 
to sort these things.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@31 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Andrzej Kapolka
2006-08-24 23:27:42 +00:00
parent 8e0bdacd05
commit 22b867bb61
2 changed files with 18 additions and 7 deletions
@@ -366,6 +366,7 @@ public class ModelViewer extends JmeCanvasApp
{
super.initDisplay();
_ctx.getRenderer().setBackgroundColor(ColorRGBA.gray);
_ctx.getRenderer().getQueue().setTwoPassTransparency(false);
}
@Override // documentation inherited