On Tue, 2006-10-03 at 22:32 +0100, Robert Osfield wrote: > On 10/3/06, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Why is it in osg:Object at all? > > Because its useful in enough disparent parts of the OSG.
Right, I'm starting to see that as I look around the code. Since osg::Object is a mix-in class, in my experience it's good to be cautious about making it a "fat base" too. The two different design paradigms will clash in this manner we are seeing. > What about osg:Drawable as the base class that introduces this > method > since it is dealing with OpenGL resources? > > Well Drawables arn't the only place that has references to OpenGL > objects, Texture objects, Program, Shaders, FBO's, then there are the > classes that hold lists of these, and the scene grpah itself that > contains all these objects... Okay and that answers my previous question too. Regards, Marcus _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
