Robert,
I had not tried it on any other version, but I will drop back 1.9.7 and go from
there to see if I can isolate it.
I will also make the changes to State.cpp.
Thank you,
Chris
> Subject: RE: [osg-users] open scene graph 2.0 Warning: detected OpenGL error
> (UNCLASSIFIED)> Date: Fri, 29 Jun 2007 11:58:06 -0600> From: [EMAIL
> PROTECTED]> To: [email protected]> > Classification: UNCLASSIFIED
> > Caveats: NONE> > > I've been seeing these as well.> I open 2 separate
> Viewers with separate GraphicsContexts> (Linux/Xwindows/Quatro).> Minimizing
> the second window stopped the error.> That window had a primary camera and a
> secondary camera for a screen> space ortho overlay - symbology.> I had a
> textured rectangle and 2 lines drawn on it.> Last night I somehow got that
> error to go away.> If I can isolatae it better I'll post.> > Bwana> >
> -----Original Message-----> From: [EMAIL PROTECTED]> [mailto:[EMAIL
> PROTECTED] On Behalf Of Robert> Osfield> Sent: Friday, June 29, 2007 10:04
> AM> To: osg users> Subject: Re: [osg-users] open scene graph 2.0 Warning:
> detected OpenGL> error> > Hi Chris,> > I don't know the source of error, I
> doubt this error has much to do with> anything you've done, especially as
> you've be able to pinpoint the> introduction of the OpenGL error to between
> 1.9.3 and 2.0.> > To me this error report sounds like an value is being
> passed to OpenGL> that is not support by your OpenGL driver. This suggest
> that the OSG> using some OpenGL setting in one of its osg::StateAttribute
> that aren't> support in OpenGL 1.3 or at least Mesa's interpretation of it.>
> > The question is what change broke things for you, there was almost two>
> months between 1.9.3 and 2.0 so there is quite a few things that might> be
> the cause, I can't think of any likely candidates off the top of my> head. To
> isolate the needle in a hay stack hunt, did you test any> versions between
> 1.9.3 and 2.0?> > Upping the error checking regularity in osg::State might be
> useful.> Unfortunately there isn't an env var that you can just switch on,
> but> you can do it by changing some code, in src/osg/State.cpp change the>
> code in the State::State contuctor from :> > #if 1> _checkGLErrors =
> ONCE_PER_FRAME;> #else> _checkGLErrors = ONCE_PER_ATTRIBUTE; #endif> > To> >
> #if 0> _checkGLErrors = ONCE_PER_FRAME;> #else> _checkGLErrors =
> ONCE_PER_ATTRIBUTE; #endif> > This might provide a an error a bit closer to
> where it was generated.> > Robert.> > On 6/29/07, Chris and Heather Kosek
> <[EMAIL PROTECTED]> wrote:> >> >> > Hello,> >> > I want to first say
> thank-you for the help you have provided in the > > past and congratulations
> on 2.0 and the Quick Start Guide. The Quick> > > Start Guide has been helpful
> and instructional to me.> >> >> > Now my question: When using 2.0 examples I
> get the following warning> > > which I did not see using osg 1.9.3 or osg
> 1.2> >> > Warning: detected OpenGL error 'invalid value' after> >
> RenderBin::draw(,)> >> > What did I miss or what do I need to do? I have not
> seen anyone else> > > mention this, so I have concluded it must be me.> >> >
> glxinfo> > direct rendring: Yes> > OpenGL renderer string: Mesa DRI Intel(R)
> 845G 20040919 x86/MMX/SSE2> > > OpenGL version string: 1.3 Mesa 6.2.1 glu
> version: 1.3> >> > cat /proc/version> > Linux version 2.6.9-34.EL> > gcc
> version 3.4.5 20051201> > Red Hat 3.4.5-2> >> >> > Thank you in advance for
> any help and again congratulations, Chris> >> >
> ________________________________> > Play free games, earn tickets, get cool
> prizes! Join Live Search Club.> > Join Live Search Club!> >
> _______________________________________________> > osg-users mailing list> >
> [email protected]> >
> http://openscenegraph.net/mailman/listinfo/osg-users> >
> http://www.openscenegraph.org/> >>
> _______________________________________________> osg-users mailing list>
> [email protected]>
> http://openscenegraph.net/mailman/listinfo/osg-users>
> http://www.openscenegraph.org/> Classification: UNCLASSIFIED > Caveats: NONE>
> > _______________________________________________> osg-users mailing list>
> [email protected]>
> http://openscenegraph.net/mailman/listinfo/osg-users>
> http://www.openscenegraph.org/
_________________________________________________________________
With Windows Live Hotmail, you can personalize your inbox with your favorite
color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/