THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/03/2005 at 08:02, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I have a generator that has two child input objects (splines). I also have a deformer (in the same .cdl) that is put under the second child object.
- ParentGen
- Child A
- Child B
- Deformer (Child of Child B)
Now the parent gets the Child B and I am using SendModelingCommand() to get the deformed spline. However, the deformer requires some data from the ParentGenerator to work correctly.
The first question arising is, what is the best way to pass data to the deformer?
I also have to consider a second problem though. The Parentgenerator gets the deformed spline at the beginning and THEN the data that actually should be passed to the deformer is calculated (as the parentGen needs the deformed spline to calculate the data).
This means, the deformer needs to recalculate the data on its own. This is really bad, as calculation times get pretty high.
So, anybody any idea how to solve this problem or how to workaround this?
Thanks in advance
Katachi