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

beelzebob999-osg at yahoo.com beelzebob999-osg at yahoo.com
Wed Oct 24 12:18:14 PDT 2007


We we're getting a lot of this error message as well.  In our case, it turned out we were telling opengl to draw a line with a width of 0.

----- Original Message ----
From: Jean-Sébastien Guay <jean-sebastien.guay at polymtl.ca>
To: osg-users at lists.openscenegraph.org
Sent: Wednesday, October 24, 2007 2:59:44 PM
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



More information about the osg-users mailing list