[osg-users] Debugging "Warning: detected OpenGL error 'invalid value' after RenderBin::draw(, )" (UNCLASSIFIED)

Craig, Joel S. (SED/TMI) joel.craig at sed.amrdec.army.mil
Wed Oct 24 14:24:29 PDT 2007


Classification:  UNCLASSIFIED 
Caveats: NONE

We received this error message whenever our thread tried to update the state
of a node while the drawing thread was trying to render it. Adding a mutex
solved our issue.



-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of
Jean-Sébastien Guay
Sent: Wednesday, October 24, 2007 2:00 PM
To: osg-users at lists.openscenegraph.org
Subject: [osg-users] Debugging "Warning: detected OpenGL error 'invalid
value' after RenderBin::draw(, )"

Hello Robert,

I remember you mentioning a way (in OSG) to find out the source of the
message

Warning: detected OpenGL error 'invalid value' after RenderBin::draw(,)

sometime in the past, but can't find the post just now. I recall it having
to do with setting something in a stateset to get explicit debug messages
printed which would help find the source of the message...

I'm getting this when updating a vertex attribute array, and I was hoping
there was a way to eliminate it, because my geometry also disappears when it
happens, which leads to flashing (as I'm updating attributes in a loop, and
the message seems to pop up once in approximately 10 attributes updated).

Thanks in advance for any advice on how to debug this situation.

J-S
--
______________________________________________________
Jean-Sebastien Guay     jean-sebastien.guay at polymtl.ca
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Classification:  UNCLASSIFIED 
Caveats: NONE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4985 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071024/227b5d92/attachment-0003.bin>


More information about the osg-users mailing list