Hello Kris,

For SceneView based apps this new mask setting is needed to enable controlling glDrawBuffer from 3rd party libraries. Let me know if you run into more problems.

sv->getCamera()->setInheritanceMask(
        sv->getCamera()->getInheritanceMask() |
        osg::CullSettings::DRAW_BUFFER);

We set this up when we are configure sceneview.

Doug

On Mar 6, 2010, at 7:19 PM, Doug McCorkle wrote:

Hello Kris,

It appears this problem arose in rev 10547. It seems that setting GL_NONE on the SceneView camera for the DrawBufferValue is no longer valid. I am working on a solution for the SceneView implementation in VR Juggler.

Doug

On Mar 2, 2010, at 9:58 AM, Kristopher J. Blom wrote:


Robert,


      As for the svn: in my VR Juggler based app I cannot load
      anything using
      the svn version. I just get black and "Warning: detected
      OpenGL error
      'invalid enumerant' at after RenderBin::draw(..)" as in the
      thread from
      gcope:
      Migrating from 2.8.2 to 2.9.6. However, Garretts fix removes
      only the
      warnings and doesn't change that I don't see anything. This
      effects
      2.9.6 and the current svn and occurs both with VR Juggler
      2.2.1 and the
      newest svn versions. All of the osg samples I have tested work
      just
      fine, including the osgviewer, so it likely has to do
      something with how
      vr juggler calls OSG or using SceneView instead of Viewer.

      I'll have to look into this, but it'll be a while before I can
      free up
      time for this.

Do the standard OSG examples like osgviewer work fine on your system
with 2.9.x/svn/trunk?

yes, at least all the ones I tested.


Resolving this issue is probably best done using osg-users as this
will enable more users to see the problem, and some might have the
have seen the same problems and might be able to help characterize the
issue.

I'll try to get this done in the coming days.

-Kris


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

_______________________________________________
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