LDraw App for iOS


Re: Transparency bug - in Bricksmith, too
#17
I feel the need to defend OpenGL Smile

It's not a shortcoming of OpenGL it's a shortcoming of the chosen render technique by the developer. The use technique is fine for solid meshes and performs the fastest for such models. But when you know there is transparency in a model you need to change rendering technique to take care of this. This is the case in any API (also e.g. DirectX )

Like Travis pointed out the 'simplest' way is by sorting the data from back to front so the blending of colors gets done correctly automatically. But this sorting can be costly, there are other solutions floating around on the net including using extra buffers and very complicated shaders. But in the end it's always a quality vs speed thing.

In LDCad I use part level sorting, which is faster then sorting all triangles but less 'nice' in the case of overlapping parts etc. But in the end you barely notice such 'glitches'. Also the used sorting algorithm can be of huge influence depending on the amount of data.
Reply
« 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 Roland Melkert - 2011-12-07, 18:04
Re: LDraw App for iOS - by Renaud Breard - 2011-12-07, 18:21

Forum Jump:


Users browsing this thread: 7 Guest(s)