Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Deformer Caches

    SDK Help
    0
    3
    266
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

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

      On 27/10/2003 at 08:32, xxxxxxxx wrote:

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

      ---------
      Hello,
           I need to be able to return from the overloaded ObjectData::ModifyObject function without changing the cache.  In some of my deformers the procedures are very computationally intensive and the user needs to be able to tweak several parameters and then press an 'update' button to see the result.  Since parameter changes always set the object data cache flag to DIRTY_DATA the ObjectData::CheckDirty function is skipped.  I need a way to return from the ObjectData::ModifyObject function without destroying the previous deformer cache.  No matter what I do the cache always seems to be destroyed.  Does anyone have any useful ideas?
      Regards,
      Thomas Cray
      www.cidertank.com

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

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

        On 03/11/2003 at 13:29, xxxxxxxx wrote:

        To answer soon?
        Thomas

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

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

          On 03/11/2003 at 22:16, xxxxxxxx wrote:

          Unfortunately you cannot affect the dirty flag, other than making it dirty. One way would be to keep a cache of your own. Another would be to return a dummy proxy object during the period between detecting that a parameter has changed and that the user has pressed Update.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post