[osg-users] Backporting help from trunk to 2.8.x, osg::State::drawQuads and osg::State::color
Hello OSG users, I'm attempting to backport a patch made in osg trunk (specifically r11768 that fixes some text clipping problems using osgText), and the official trunk patch calls two functions that seem to be not yet present in 2.8. It seems that the call to osg::State::Color() can be replaced by a call to glColor4f(). Is there an equivalent to osg::State::drawQuads()? How was this done before? Any pointers or help would be greatly appreciated. Thanks. Eric ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Backporting help from trunk to 2.8.x, osg::State::drawQuads and osg::State::color
On 5/23/2011 12:56 PM, Eric Sokolowsky wrote: Hello OSG users, I'm attempting to backport a patch made in osg trunk (specifically r11768 that fixes some text clipping problems using osgText), and the official trunk patch calls two functions that seem to be not yet present in 2.8. It seems that the call to osg::State::Color() can be replaced by a call to glColor4f(). Is there an equivalent to osg::State::drawQuads()? How was this done before? Any pointers or help would be greatly appreciated. Thanks. Possibly you could take the trunk source function bodies, and put them in 2.8 osgText instead of in State, thereby having the functionality available to osgText, but not impacting core OSG. -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Backporting help from trunk to 2.8.x, osg::State::drawQuads and osg::State::color
Paul Martz wrote: On 5/23/2011 12:56 PM, Eric Sokolowsky wrote: Hello OSG users, I'm attempting to backport a patch made in osg trunk (specifically r11768 that fixes some text clipping problems using osgText), and the official trunk patch calls two functions that seem to be not yet present in 2.8. It seems that the call to osg::State::Color() can be replaced by a call to glColor4f(). Is there an equivalent to osg::State::drawQuads()? How was this done before? Any pointers or help would be greatly appreciated. Thanks. Possibly you could take the trunk source function bodies, and put them in 2.8 osgText instead of in State, thereby having the functionality available to osgText, but not impacting core OSG. -Paul Yes, that is a good idea. I'll look into that next. I hope it doesn't pull in too much. Eric ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org