HI Glenn,

On 13 May 2014 17:41, Glenn Waldron <[email protected]> wrote:
> Robert, do you see this impacting the concept of data variance, which has
> traditionally had different semantics for a Drawable versus a Node?

No, the same rules will apply to Drawable in that their DataVariance
is used by the draw dispatch when multi-threading.

The usage of DataVariance on other Node's won't change either, it'll
still be their as hint to scene graph processing such as
osgUtil::Optimizer.

My hope with these changes is that the majority of existing
application will just work with no code changes, how close I can get
to this I don't know yet.

I have already checked in one related change that was a little less
controversial - that Node::ParentList used to be a vector<Group*> but
now is a vector<Node*>, this change allows classes not subclass from
Group to now own children, which is what Geode will now do - it's
children will be Drawable Nodes.  I had to make a few OSG code changes
to handle this change but most code, and I expect most end user
application code won't need any changes so I went ahead and checked it
in.  If code does break then simply changing from a Group* to Node*
will typically be sufficient to keep the code compiling.

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

Reply via email to