[osg-users] Order Independent Transparency and osg::Viewer

Yu Jie beingbad at 163.com
Fri Jun 14 00:56:40 PDT 2019


Hi, everyone. In order to make geometrys in my scene to be transparency, I have studied osgoit code. and I am sure "order independent transparency" will be the right way for me. But problems happened when i develop this function in my application.

In my application, i used osgViewer::CompositeViewer to render scene but not osg::Viewer that used in osgoit. Everything is well when use osg::Viewer, as showed in below picture. But in my application, all geometries disappeared when i add them into DepthPeeling transparency scene.



is there some special settings should be set for  "order independent transparency" in osgViewer::CompositeViewer. I have no solution for this problem after searched forum many times. 

Can anybody give me some suggestions about this situation. Thank you very much!



Thank you!

Cheers,
Yu[img][/img]

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




Attachments: 
http://forum.openscenegraph.org//files/geometrydisappeared_102.png
http://forum.openscenegraph.org//files/well_transparency_206.png




More information about the osg-users mailing list