Hi Robert

>Mapping all OpenGL modes to our own local enums might make you task
>easier

I don't have the claim to change the osg API just for my project,
i have other solution for solved the problem.

but i think it is a good idea ... at start ...


>, but it would make the rest of the OSG less maintainable and
>extensible.  The design of StateAttribute and StateSet is like this
>deliberately to make it maintainable and extensible, and its been a
>success, I'm not about to throw this out.

I don't understand why an enum osg::StateAttribute::GLMode is more or less maintainable and extensible than osg::StateAttribute::Type

>There are many more modes that attribute types, go browse through the
>OpenGL headers.

there are 47 type and 60 mode.

Thanks for your patience
david
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to