[Libpapyrus-users] Having copies/clones of objects in the canvas
Status: Beta
Brought to you by:
rvinyard
From: Julius Z. <zi...@mr...> - 2009-05-11 08:20:48
|
Hello list, many 3d scene graph libraries I worked with allowed diamond shaped scene graphs, so that one group of objects can be reached via multiple pathes (containing different transformations), leading to effectively having multiple "clones" of a group in the scene. As far as I understand, papyrus cannot support this, since there is only one parent group in every Drawable. Is there an alternative way of producing clones or (deep) copies of parts of the scene graph? Papyrus::Drawable::clone() looks like a candidate, but I cannot figure out how to use it. Is it meant for other than internal library use? How are the policies for copy constructors of Drawables in papyrus? Any help is appreciated, Julius |