Hi Gordon, Mike, as I have posted already before (however my patch was not accepted ;-( , this warning comes from the geometry shader implementation. I do not remember the line correctly, but you have to change only one value in the constructor of the Program.cpp
There is one geometry shader value is set to 0, I think the number of output premitives. I know this is the specification, however if you do not use the geom shaders this does produce the warning. Just a change to any positive value do remove the warning and do not produce any errors during the rendering. I'll check the changings of the osg installed on my machine, and can provide you with more specified information. On the machine, I am writing from, I do not have osg installed. Best regards, Art --- Mike Weiblen <[EMAIL PROTECTED]> schrieb: > dude, where's your repro? > -- mew > > > On Fri, Mar 21, 2008 at 12:37 PM, Gordon Tomlinson > <[EMAIL PROTECTED]> wrote: > > > > > > Hi Y'all > > > > Ok I know this question is a little nefarious, > > > > As we continue our testing and porting to OSG > 2.3.x we getting the > > following when ever we add out shaders to the > scene > > > > Warning: detected OpenGL error 'invalid value' > after RenderBin::draw(,) > > (in ...\src\osgUtil\RenderStage.cpp > RenderStage::drawInner ) > > > > > > We only get this once after we add to the scene, > the shaders appear to be > > working fine, no compile errors etc. if we remove > and then re add again we > > get one warning again, > > > > > > Any pointers would be appreciated, sorry theres > not much info, ( problem > > does no show on OSG 1.2 ) > > > > Cards 8800 and Quadro 4500 > > > > > > > > > > > > > > > > Best Regards > > > > > > > > Gordon > > > > > __________________________________________________________ > > Gordon Tomlinson > > Email : gordon.tomlinson @ overwatch.com > > YIM/AIM: Gordon3dBrit > > MSN IM : Gordon3dBrit @ 3dSceneGraph.com > > > > > __________________________________________________________ > > > > > > "Self defence is not a function of learning tricks > > but is a function of how quickly and intensely one > > can arouse one's instinct for survival" > > - Master Tambo Tetsura > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > -- > Mike Weiblen -- Austin Texas USA -- http://mew.cx/ > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > E-Mails jetzt auf Ihrem Handy. www.yahoo.de/go _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

