Hi Robert, hi all,
first, thank you for what you've done with this project! I must say i didn't
expect the meta data to be in before the 3.0 ...
Right now, Sukender is more or less dying under his heavy workload, so I
think he reads his emails but unfortunately doesn't have enough time to
deeply look into everything you've said.
As for me I have two main questions:
1. This first question is not directly linked with the meta feature it's
just that i'm still very new to OSG and even more to serialization. How are
we going to serialize a custom type meta in our container? I've looked into
the UserDataContainer serializer, and I get that when it serializes the
_objectList, every object serialializer is called depending on the object
"type". But I still couldn't figure how and where I should specify the
proper serialization for a custom object.
2. When I see the 3 diffent attributes in the UserDataContainer for
_userData, _descriptionList and _objectList, I don't know if there's
something awkward, or if I don't fully understand the issues. The _userData
and _desciptionList are, to me, meta values like any other meta value, so
why the special treatment? It makes the UserDataContainer a little heavier
to have these three attributes instead of one std::vector. Couldn't we
imagine some kind of _userData and _desciptionList subclassing from Object?
Maybe this way we could make UserDataConainer inherit from std::vector
directly? Instead of being a container containing our real containers.
Well I hope my questions are not off-board ;)
Gregoire.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org