Yes you could  override the drawing of the geometry and sort at a triangle 
level at that point if you need to and then dispatch those sorted tri's  to OGL.

______________________________________________________________________________
Gordon Tomlinson 

[email protected]
IM: [email protected]
www.vis-sim.com www.gordontomlinson.com 
______________________________________________________________________________

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Maxym Bilinets
Sent: Sunday, January 17, 2010 10:25 AM
To: [email protected]
Subject: Re: [osg-users] Applying transparency to STL model

The problem is that my model is not convex.
Is there any possibility to sort triangles inside the model?


umituzun84 wrote:
> Hi Maxym,
> 
> Transparent objects drawing order is important. You have set " 
> ss->setRenderBinDetails(1, "DepthSortedBin");" so it make your object drawn 
> first. Try to draw it last with supporting "11" renderbin order instead of 
> "1".
> 
> HTH. Regards.
> Ümit Uzun
> 
> 


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22771#22771





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to