Re: [osg-users] Bug with applying global default attributes?

2020-02-02 Thread OpenSceneGraph Users
I have determined that the problem is exercised if the first node sets the blend for FBO 1: stateset->setAttribute(new osg::Enablei(GL_BLEND, 1)); osg::BlendEquationi* blendEq = new osg::BlendEquationi(1, osg::BlendEquation::RGBA_MAX); osg::BlendFunci* blendFunc

Re: [osg-users] Bug with applying global default attributes?

2020-02-02 Thread OpenSceneGraph Users
I can confirm the bug also exists on 3.6.5-rc3 branch. I don't know if it pre-existed that. I have too many dependencies to be able to share a model. Simplistic models do not seem to exhibit the same behavior. I'll keep trying to debug. When is applyGlobalDefaultAttribute supposed to be

Re: [osg-users] Bug with applying global default attributes?

2020-01-30 Thread OpenSceneGraph Users
Hi Rob, Have you tried the 3.6 branch? Is the issue a regression? Could you provide a test model and screenshot of the results your are getting vs expecting if possible. Cheers, Robert. On Wed, 29 Jan 2020 at 19:41, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > > I have

[osg-users] Bug with applying global default attributes?

2020-01-29 Thread OpenSceneGraph Users
I have been testing with trunk and have only come across one problem so far (this might not be a new issue). I have a simple viewer set up with two nodes.  The first is loaded from an osgb.  Internally it sets the glBlendFunci(0, GL_MAX) via osg::BlendFunci. The second node also sets