Deformer plugin , ModifyObject(...)



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

    On 25/09/2012 at 03:10, xxxxxxxx wrote:

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

    ---------
    Hi everybody,

    I have a Deformer Plugin that deforming a object based on data in file.
    ObjectData::ModifyObject(........)

    It all works fine.

    but , CINEMA 4D call ModifyObject(......) function only when modifier's parameter be changed.

    I want call ModifyObject(.....) every frame.

    It is similar to that below link.

    http://www.animationsnippets.com/downloads.html
    MDDReader (v1.2)



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

    On 25/09/2012 at 04:20, xxxxxxxx wrote:

    You have to override ObjectData::CheckDirty(). The documentation of ObjectData::CheckDirty() contains an example code showing how to update a deformer every frame.



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

    On 25/09/2012 at 04:49, xxxxxxxx wrote:

    thx, Yannick Puech
     
    I have some mistake.
     
    It works perfectly fine.


Log in to reply