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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Parameter animation

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 200 Views
    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 Offline
      Helper
      last edited by

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

      On 31/03/2005 at 03:41, xxxxxxxx wrote:

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

      ---------
      Hi all,

      there seems to be something I am generally missing out in the Maxon SDK documentation: I am trying to write several importers/exporters for animation data. I can't however find the neccessary documentation of how to create animation tracks/sequences/keys of diverse data types. The only way to find out is to find solutions in this forum (good forum then!). Sorry for this lengthy claim, but I think Maxon should really improve the documentation of their SDK - current state is below many open source projects!

      Here my actual question:

      I want to create a parameter animation for the camera field of view (I managed the translation and rotation bits thanks to information found in this forum). What are the magic constants I need for these not well documented descriptors? Any code example welcome.

      many many thanks in advance

      ..from a very frustrated SDK user

      Oliver

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

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

        On 10/04/2005 at 15:11, xxxxxxxx wrote:

        The trick to finding the right constants is to know how to match up what's seen in C4D to a .res file in the resource. I admit that the docs could be clearer on this. In this case you're looking for Ocamera.res. In that file you'll find that you want to set CAMERAOBJECT_FOV. So do AllocValueTrack(cam, DescLevel(CAMERAOBJECT_FOV, DTYPE_REAL, MYID)) and the add value keys to animate the FOV.

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