Re: [osg-users] how about high quality transparency in OSG?

2013-01-24 Thread Christian Buchner
Check out the osgdepthpeeling code sample for one (somewhat slow)
implementation of depth peeling.

We don't have automatic triangle sorting, but we do have sorting of
drawables and geodes in the "DepthSortedBin" render bins.

Christian
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how about high quality transparency in OSG?

2013-01-24 Thread eathin marks
So, is there anything already implemented for such stuff?
I mean, something like the order independent depth peeling, or the more 
expensive triangle sorting?

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how about high quality transparency in OSG?

2012-11-27 Thread Chris Hanson
OpenGL 4.x also has extensions which permit an A-buffer implementation:

http://blog.icare3d.org/2010/07/opengl-40-abuffer-v20-linked-lists-of.html

I've tested this example (and fixed some of the source), but I have not
tried to implement it in OSG. The technique does work, and works well, if
rock-solid transparency is you primary goal and you're willing to accept
the other costs that come with this technique.


On Tue, Nov 27, 2012 at 3:55 AM, Christian Buchner <
christian.buch...@gmail.com> wrote:

>
> There's definitely sample code for depth peeling available
> (osgdepthpeeling)
>
> Sorting of geodes by distance is also implemented as a render bin feature
> - but sorting at geode level may be a bit too coarse.
>
> Transparency has been an issue in many forum/mailing list topics - because
> it's hard and non-trivial. Maybe try searching for those threads.
>
> Christian
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@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
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel  facebook.com/alphapixel
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how about high quality transparency in OSG?

2012-11-27 Thread Christian Buchner
There's definitely sample code for depth peeling available (osgdepthpeeling)

Sorting of geodes by distance is also implemented as a render bin feature -
but sorting at geode level may be a bit too coarse.

Transparency has been an issue in many forum/mailing list topics - because
it's hard and non-trivial. Maybe try searching for those threads.

Christian
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] how about high quality transparency in OSG?

2012-11-27 Thread Gianluca Natale
Hi all.
I took a (very quick) look at OSG 3.0.1 APIs,
to see if there is some technique for high quality transparency implemented, 
but I couldn't find anything.
So, is there anything already implemented for such stuff?
I mean, something like the order independent depth peeling, or the more 
expensive triangle sorting?

Thanks,
Gianluca

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org