<div dir="ltr">I think you might want to try this OSG library we wrote, which adds order independent transparency options:<div><br></div><div><a href="http://alphapixel.com/project/osg-transparency-toolkit/">http://alphapixel.com/project/osg-transparency-toolkit/</a> </div><div><br></div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 14, 2019 at 9:56 AM Yu Jie <<a href="mailto:beingbad@163.com">beingbad@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.<br>
<br>
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.<br>
<br>
<br>
<br>
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. <br>
<br>
Can anybody give me some suggestions about this situation. Thank you very much!<br>
<br>
<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Yu[img][/img]<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=76291#76291" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=76291#76291</a><br>
<br>
<br>
<br>
<br>
Attachments: <br>
<a href="http://forum.openscenegraph.org//files/geometrydisappeared_102.png" rel="noreferrer" target="_blank">http://forum.openscenegraph.org//files/geometrydisappeared_102.png</a><br>
<a href="http://forum.openscenegraph.org//files/well_transparency_206.png" rel="noreferrer" target="_blank">http://forum.openscenegraph.org//files/well_transparency_206.png</a><br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8px">Legal/IP •</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">Forensics •</span><span style="font-size:12.8px"> </span>Imaging <span style="font-size:12.8px">•</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">UAVs </span><span style="font-size:12.8px">• GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</span></div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]<br></div></div></div></div></div></div>