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

    Animation curves

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 307 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 18/04/2005 at 11:02, xxxxxxxx wrote:

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

      ---------
      My client wants to check animation data against equipment limits (max/min position, max speed). Some of the animation interpolation is curvilinear. I could do this two ways:

      1. Get the curves and use maths to find maxima and minima.

      2. Sample the timeline at a specified time interval to find the maxima and minima (with all discreet sampling caveats).

      The client needs this to be simple and inexpensive, so unless there is a simple way to do 1., 2. must be the alternative.

      Any way to get spline data or curves from the animation track/sequence/keys?

      Thanks,

      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 21/04/2005 at 12:47, xxxxxxxx wrote:

        For value keys you can use GetKeyValue() to access the tangents. However, I believe it will be very complicated to figure out the maths behind all the interpolation types available. I'd settle for a numerical algorithm.

        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 21/04/2005 at 14:04, xxxxxxxx wrote:

          Right. The frame (BaseTime) sampling method (2) is the one that I have employed. The client agrees that this is sufficient for their purposes.

          One observation and question regarding XPresso sliders: the client is using an XPresso tag to control rotation and position of elements (objects) - like a control panel. These are setup as sliders on the object containing the XPresso tag. The animation keys on the tracks for some of these sliders have soft interpolation. The value goes up to 2600, stays there for some time, and goes back down. And this matches the animation display. But the F-curve shows the value continuing to rise to the top of a curve and back between these keys. Despite the F-curve curvature, is there a limiting factor involved nonetheless?

          Thanks,

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