Hi Ivan and Paul, On 1/3/07, Paul Martz <[EMAIL PROTECTED]> wrote:
With that in mind... I don't see that glHint is used at all in current OSG. What you would probably want to do is derive a new class from StateAttribute to support this. (To do this properly (support .osg file format and all) you'd need to create a NodeKit.)
The OSG should support hints as part of osg::StateSet/osg::State, but as yet I haven't got round to implementing it - there has always been higher priority things for me to do. As Paul mentions subclassing from osg::StateAttribute would be a clean way of implementing it at least for a single hint type. I think modify the core OSG to supports hints will be the better long term way to do it though, but its lot more work... Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
