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

    Data driven Animation

    SDK Help
    0
    3
    678
    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 19/02/2018 at 02:23, xxxxxxxx wrote:

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

      ---------
      Hello!

      Is it possible to drive a C4D Animation by data?
      Especially, I want to gather data patterns in a database like SQL, mySQL or NoSQL and work with a real time connection to C4D.
      Maybe not only with C4D SDK tools possible?

      I imagine to use movement or voice patterns to be loaded and calculated/mixed with existing animations.

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

        On 19/02/2018 at 03:54, xxxxxxxx wrote:

        You may want to look at Tags in Cinema 4D. This sounds like something an expression tag could do.
        The tag gets executed every frame, allowing it to update any property of its host (but also any other)
        object in the scene.

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

          On 20/02/2018 at 03:02, xxxxxxxx wrote:

          Hi,

          welcome to the Plugin Café forums 🙂

          Niklas' suggestion is certainly one good option and I don't dare to add more, unless we have a better idea, what you finally want to achieve.

          Two additions from our side:

          The lookatcamera TagData example might be worth a look. In the end it is changing the camera#s rotation based on some condition (in your case this would be coming from the database of course).

          Niklas was not hundred percent precise, when saying a tag gets executed every frame. Actually a tag gets executed whenever the scene gets evaluated/executed. This may be caused by arbitrary events, etc. So one shouldn't rely on execution just happening once per frame.

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