Hi David, On 6/15/06, david callu <[EMAIL PROTECTED]> wrote:
For the extensions, the osg::StateAttribute::Type is a problem too. For old OpenGL versions, the old GLenum have the same value to new GLenum For futur OpenGL versions, you must add to OSG API like osg::StateAttribute::Type
I'm afriad you need to accept that I don't agree with make GLMode an enumerate. I have explained my reasons why it just maps to GLenum and the benefits of this, and the pitfalls of noting doing this. You clearly don't think this reasons are important, so fine, I can't expect to carry everybody with my design decisions. However, its my job to weigh all the various pros and cons up and make what take what I think is right for the project. This will envitable lead to some disagreement with some developers, some of the time. I've just got shrug my shoulders and keep to the path. This is something you've got to do as well, you've made your case, I don't agree, so now its about working about how the problem you have in front of you i.e. how to build a map og OpenGL values to strings and back, and how to provide a fallback for when modes are arn't known. This isn't difficult, it's already done inside the .osg loader with little hassel. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
