Save baseobject references
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/03/2009 at 09:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Windows ;
Language(s) :---------
I need an help on how to save baseobject references during the copyto procedure (and also how to save them in the hyperfile).
My deformation plugin store a variable number of baseobject ref. taken during the modifyobject procedure (the ref to all deformed objects group).
The problem is that when cinema start the render (shift + r) the scene is copied, and seems that the olds pointers aren't valid!
I suppose to need to convert this pointers references in something like a LINKS that didn't change instead, but I don't understand how to do this!
I hope to be clear, my english is terrible! -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2009 at 15:44, xxxxxxxx wrote:
Use BaseLinks (LINK description resource), yes. Otherwise, the references you are using are probably only class member pointers which store memory addresses - absolutely useless for copying and saving to disk.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/03/2009 at 01:58, xxxxxxxx wrote:
Thank's kuroyume very much.
I'll try to test it, seems to be the right way!