[osg-users] corrupted rendering

Riccardo Corsi riccardo.corsi at kairos3d.it
Wed Dec 21 06:46:07 PST 2016


Hi Robert and Laurens,

thanks for the fix, it works in my setup as well.
Riccardo

On Wed, Dec 21, 2016 at 10:30 AM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Laurens,
>
> On 21 December 2016 at 08:45, Voerman, L. <l.voerman at rug.nl> wrote:
> > I created a pull request for the master branch (link).
>
> Thanks for the fix.  I've reviewed it and decided that it would be
> more in keeping with how osgViewer::View's master Camera() sets it's
> StateSet::setGlobalStateSet() to do the same with the StatsHandler, so
> I've added a:
>
>     _camera->getOrCreateStateSet()->setGlobalDefaults();
>
> To the StatsHandler constructor.  I've checked this into git master,
> 3.4 and 3.2 branches.
>
> I have tested this with Riccardo's modified osgviewer.cpp and it works
> properly once this fix is applied.
>
> Thanks to both of you for your help homing and fixing this long standing
> bug.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161221/000bfede/attachment-0003.htm>


More information about the osg-users mailing list