LDraw App for iOS

Re: Transparency bug - in Bricksmith, too
On the Effects tab of LDView's preferences dialog there is a Transparency box, and in this box is Sort check box (which is enabled by default). If you uncheck the check box, LDView will exhibit similar behavior to that described above, although in LDView all transparent shapes are always drawn last, so they can never occlude opaque geometry, only other transparent geometry.

The Sort check box causes all transparent geometry in the entire model to be put into one huge list of triangles (as the last step of the file load). Then, each frame, these triangles are sorted (mosty) back to front. (I say mostly, because doing a really good job of sorting them takes more time, and usually doesn't produce a very visible difference in quality. Additionally, since triangles are free to intersect, it's not actually possible to fully sort them unless intersecting triangles are first chopped up.) There are other more advanced ways to draw transparent geometry that don't require all the transparent triangles to be sorted every frame, but they're much more high-tech.
« Next Oldest | Next Newest »

Messages In This Thread
LDraw App for iOS - by Renaud Breard - 2011-12-02, 20:10
Re: LDraw App for iOS - by Jim DeVona - 2011-12-02, 20:44
very nice, and one thought - by Steffen - 2011-12-02, 22:53
you are right - by Steffen - 2011-12-02, 23:49
Re: LDraw App for iOS - by Orion Pobursky - 2011-12-02, 21:29
Re: Transparency bug - in Bricksmith, too - by Travis Cobbs - 2011-12-07, 2:14
Re: LDraw App for iOS - by Renaud Breard - 2011-12-07, 18:21

Forum Jump:

Users browsing this thread: 1 Guest(s)