Deformation count.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/07/2005 at 04:39, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9 
    Platform:   Windows  ; Mac  ;  
    Language(s) :     C++  ;

    ---------
    Hi All,

    another question from me.
    I know that a deformer is called for each geometry affected by deformer. So, if i try to deform a Extrude Nurbs, the deformer is called 3 time (for side and 2 caps).
    How i can know how many time is called?

    I'll like to prepare geometry only the first time instead n-time for each deformed part of objects.

    I hope that is clear (i dubt about this).

    Thanks in advance
    Renato T.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/07/2005 at 05:05, xxxxxxxx wrote:

    At what point do you need this information? the cache walk is not simple and even more complicated for deformers since they could have very complex hierarchies.
    Its not really clear under what conditions you need to do this, maybe that might make it easier to know why you need this. If you just need to init some data and then reuse it maybe there is a simpler way, hold the data in the document and init it on first call etc.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/07/2005 at 19:25, xxxxxxxx wrote:

    David,

    for examples, i done a deformer that need a polyobject like argument... and when i send "current state to object" to this object to get polys from a generator and/or is deformed by another deformer, my deformer generate a double target geometry.
    If i deform a cube over a Torus generator with a bend inside... the result is a double cube.
    Just trying to understand where is the error and why only if i send the command to reference geometry.

    Any idea?

    Cheers
    Renato T.


Log in to reply