Re: [osg-users] Shader problem on nvidia card

2010-12-22 Thread Robert Osfield
Hi Aitor, The warning you are getting OpenGL version test failed, requires valid graphics context. suggests that you are trying to do rendering from a thread that doesn't have a graphics context current. I know nothing about how you are setting up your graphics context or how you manage you

Re: [osg-users] Shader Problem

2008-06-12 Thread David Callu
hi CG when you remove a shader, osg::Program need to be relinked. this is done by osgUtil::GLObjectVisitor in osgViewer::Renderer::draw method. So this seem can be done at runtime. Which OSG version did you use ? Did you use osgViewer ? David Callu 2008/6/12 CG [EMAIL PROTECTED]: Hi all,

Re: [osg-users] Shader Problem

2008-06-12 Thread CG
Hi David, I'm using osg 2.4 and osgViewer. Regards, Cg Date: Thu, 12 Jun 2008 11:09:49 +0200From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [osg-users] Shader Problemhi CGwhen you remove a shader, osg::Program need to be relinked.this is done by osgUtil::GLObjectVisitor in

Re: [osg-users] Shader Problem

2008-06-12 Thread David Callu
: [osg-users] Shader Problem hi CG when you remove a shader, osg::Program need to be relinked. this is done by osgUtil::GLObjectVisitor in osgViewer::Renderer::draw method. So this seem can be done at runtime. Which OSG version did you use ? Did you use osgViewer ? David Callu 2008/6

Re: [osg-users] Shader Problem

2008-06-12 Thread CG
David, I'm using osg 2.4 and osgViewer. Regards,Cg Date: Thu, 12 Jun 2008 11:09:49 +0200From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [osg-users] Shader Problem hi CGwhen you remove a shader, osg::Program need to be relinked.this is done by osgUtil::GLObjectVisitor in osgViewer::Renderer