Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    Stop repeating Execute on a failed IRR

    SDK Help
    0
    2
    229
    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

      On 25/08/2016 at 03:34, xxxxxxxx wrote:

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

      ---------
      Hello.

      I have a VideoPost plugin. I want to fully disable C4D's IRR in my renderer but I'm not sure how to do that.
      IRR causes Execute to run repeatedly even though I return RENDERRESULT_USERBREAK on the very first VIDEOPOSTCALL_FRAMESEQUENCE open call. Can I stop that somehow ?

      Thank you.

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

        On 26/08/2016 at 01:27, xxxxxxxx wrote:

        Hello,

        it is the job of the Interactive Render Region to re-start the render process all over again if needed. So a user-break is not seen as something that should end this process. The IRR will only stop if it is no longer dirty or the rendering process was successful. So when the RENDERFLAGS_IRR flag is set you would have to return anything else but RENDERRESULT_USERBREAK.

        best wishes,
        Sebastian

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