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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jean-Sébastien Guay
Sent: Wednesday, October 24, 2007 2:00 PM
To: [email protected]
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     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

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


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Classification:  UNCLASSIFIED 
Caveats: NONE

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to