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

    How to blend multiple Quaternions?

    SDK Help
    0
    1
    121
    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/12/2013 at 19:50, xxxxxxxx wrote:

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

      ---------
      How would you calculate the average value from let us say 10 Quaternions?
      In effect blend 10 Quaternions?

      I have tried to iterate through all 10, and to use QBlend successively on each and everyone, using the previous Quaternion result as one of the operands in the next QBlend.
      This gives me an average value to some extent, but it is not what I really am after.
      Or? I don't have a mathematician's head, so I am not sure. But blending them successively, will probably not get me the correct average value of all 10.

      Edited:
      I found out that if I vary the blend factor, the 3rd argument in Qblend(), I can get some very interesting effects, if I for example increase or decrease the value by the iteration index.

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