[Bf-committers] transparent meshes rendered out of order -- bug 153

Ton Roosendaal bf-committers@blender.org
Thu, 17 Apr 2003 12:58:28 +0200

Hi Jonathan,

[blush] This seems to be a missing feature in the game engine since the  
first release... it was at the todo list so long ago, that I assumed it  
being implemented already. Quite simple to do so as well.

So: this is not something that broke down with the latest release. With  
the new outlook of having collision detection back in the engine, this  
will be one of the hot topics at the 'features to implement' list  
again. I'll mark the bug report active again!


On Wednesday, Apr 16, 2003, at 22:11 Europe/Amsterdam, Jonathan Dubois  

> I have updated the example with non-intersecting planes and the  
> problem is
> still present in the game engine.   Even if only the center of the  
> plane
> is used to determine which plane is drawn first / last I dont  
> understand
> why objects which are farther away are getting rendered in front of  
> those
> which are closer to the camera.
> the offending example is at
> http://bec.physics.udel.edu/blender/transparency-test.blend
> Regards,
> Jonathan DuBois
>> Date: 2003-04-14 11:23
>> Sender: ton
>> Logged In: YES
>> user_id=103
>> Outside of the game engine, transparant faces are not rendered
>> in a specific order. In the engine, transparant faces are sorted
>> and drawn using the 'painters algorithm'. This means that no
>> z-buffering is used (cannot be used!) between transparant faces.
>> The center of a face defines which one is drawn first.
>> In your example file the transparant faces interesect. Subdivide
>> them to get the correct result.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
Ton Roosendaal  Blender Foundation ton@blender.org