Melange BoneStates missing



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

    On 30/10/2010 at 21:04, xxxxxxxx wrote:

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

    ---------
    Can someone tell me why CalculateBoneStates() has been commented out in WeightTagData() for the Melange library?
    //void CalculateBoneStates(LONG index); // calculate JointRestState bone state (m_bMg, m_bMi, m_Len) from m_oMg
    When I use the Melange SDK to create a file with joints, (m_bMg, m_bMi, m_Len) are never calculated.
    And when this file is loaded into Cinema4D, the mesh is distorted, because these matrices have not been calculated.
    I don't have the source code to calculate these matrices, so I was hoping there was a valid reason why
    this function isn't available.  If there's another way to tell C4D to re-calcuate these matrices when the file
    is loaded into C4D, then please let me know.



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

    On 22/11/2010 at 15:45, xxxxxxxx wrote:

    the WeightTagData functions CalculateBoneStates(), TransferWeightMap() and GetIndexWeight() will be available with the next melange version coming this week.

    jens



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

    On 25/11/2010 at 08:31, xxxxxxxx wrote:

    the new version is available now. you can find it here.

    jens


Log in to reply