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

    Document changes from frame to frame

    SDK Help
    0
    2
    285
    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 04/06/2016 at 11:58, xxxxxxxx wrote:

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

      ---------
      Hello.

      I have created a VideoPost plugin and whenever I render my scene in picture viewer, its execute runs for each frame. What I need to do is to detect the hierarchy changes from one frame to another and to do that I need to store the object pointers in a data structure of base links.

      So my question is whether or not this is the safe way to do it.
      Are the base links still valid in the next frame ?

      Thank you.

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

        On 13/06/2016 at 02:54, xxxxxxxx wrote:

        Hello,

        the rendering process works typically with a copy of the given BaseDocument. So as far as I can tell the BaseLink references should be fine. The only thing to care about might be references to virtual object inside generator caches.

        Best wishes,
        Sebastian

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