Hi All,

I've been looking at the extensions and while I haven't made a final
decision my current inclination is to introduce a couple of new classes:

   ColorMaski
   BlendFunci
   BeldnEquationi

These will subclass from ColorMask/BlendFunc/BlendEquation respectively and
add an Index parameter that is mapped to the StateAttribute::Member value
allow us to individual set each of the appropriate parameters.

The glEnablei/glDisablei would also need supporting, for this I'm think
that we might need a osg::StateSet::setModei(..) method to complimant the
standard setMode() and have osg::State handle the glEnablei/glDisablei
depending on whether a particular target is ON/OFF.

Thoughts?
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to