Well by default it renders 9 depth peeling layers. And inbetween it has to
perform a depth buffer blit, which may stall the pipeline. To speed up the
depth peeling, the number of peel layers can be adjusted as necessary (the
demo offers hot keys for that)

To dynamically adjust the number of peel layers, unfortunately that would
require advanced features like occlusion query and I would probably have to
implement a custom RenderStage.  Maybe next time ;)

Paul Martz described here what he did to get that effect:
http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2013-January/061555.html

I wish his implementation was public.

2013/6/25 Robert Osfield <[email protected]>

> Hi Christian,
>
> > I have no objections to replace osgoit with this.
>
> And so it will be :-)
>
> I've now replaced the old osgoit with your new version, ported it to
> work under Kubuntu 13.04 and checked it into svn/trunk.
>
> The results are really pretty, even if the performance on my Geforce
> 560Ti is a bit lack lustre.  Is a high draw dispatch (~4ms) and draw
> GPU (20 to 35ms) normal?
>
> Cheers,
> Robert.
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to