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

Chris Hanson xenon at alphapixel.com
Fri Jun 14 13:22:52 PDT 2019


I think you might want to try this OSG library we wrote, which adds order
independent transparency options:

http://alphapixel.com/project/osg-transparency-toolkit/



On Fri, Jun 14, 2019 at 9:56 AM Yu Jie <beingbad at 163.com> wrote:

> 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
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190614/c970f7ba/attachment.html>


More information about the osg-users mailing list