Hi, On Monday, February 18, 2013 15:56:02 Christian Buchner wrote: > does osgoit require the loaded 3D model to be transparent already? What do you mean? If parts of your model are not transparent they should not render transparent? Right?
> I remember that I was able to run osgdepthpeeling with the dumptruck model > successfully, but with the osgoit sample I can't get this to render any > transparency at all. It did for me the other way round. I never saw something sensible with osgdepthpeeling. But loading a model with transparent triangles renders fine with osgoit. At least the ones that I usually tried. Only if your model contains protected state attributes that need to be overwritten this can hurt. Especially the blend mode need to be overruled by the viewer code. For the zurich paper, I also read that. IIRC the loaded model needs to have all the state replaced by the viewer codes for multiple render targets which makes all the colors and textures and whatnot just disappear or requires a lot work to translate that. That simpler algorithm does not need any cooperation from the model except the blend state must not be protected. So it's about to view a model just like it would look like with osgviewer but with correct(er) transparency. Greetings Mathias _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

