On 2/4/2011 5:28 AM, Sukender wrote: > Hi Ulrich, Robert, and all, > Ulrich, your idea seem briliant. When I was talking about "overwrit[ing] > existing userData" I thought about direct pointer access. Of course, if you > move userData to private, and give accessors for backward compatibility, then > it's okay. That way, it would only break code of derivate classes which > directly access the protected member "_userData" ; and this seems a > reasonable change to me. > > Thoughts? Ideas?
As Robert mentions, this has all been discussed extensively before. I was in on that discussion, about 2 years ago. Someone had proposed a pretty decent system that worked almost exactly like this, I think. Ahh, here it is. Ulrich was involved then too: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-November/035629.html I think a facility like this is extremely useful, and would like to see it move forward. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org