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 <[EMAIL PROTECTED]>
To: [email protected]
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    [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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to