Export Soft IK



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

    On 25/11/2008 at 10:12, xxxxxxxx wrote:

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

    ---------
    Hello,

    when I export the scene hierarchy, animated with soft ik, I want to know which vertex belongs to which bone.
    Any ideas how to do that?

    Thanks
    Hans



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

    On 26/11/2008 at 03:32, xxxxxxxx wrote:

    Are you using bones or joints? Is the mesh weighted with vertex maps, ClaudeBonet maps or joint weight maps?

    cheers,
    Matthias



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

    On 26/11/2008 at 05:44, xxxxxxxx wrote:

    I am using bones and the mesh is weighted with ClaudeBonet maps.



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

    On 26/11/2008 at 06:29, xxxxxxxx wrote:

    Actually you can't say which vertex belongs to which bone because one vertex can be weighted by several bones.

    Also please do a forum search for "claude bonet" as there are several threads regarding claude bonet weights.

    cheers,
    Matthias



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

    On 26/11/2008 at 10:19, xxxxxxxx wrote:

    Thanks, I will have a look an that.

    I have second question about accessing CTrack from BaseObject.
    Everything, object and animation are done, and I want to export them to my own file format. But after I got the first valid object with GetFirstObject() and call GetFirstCTrack(), I got an "access violation reading location 0x0" message.
    The scene includes only one object.

    Any ideas why this happened?

    Thanks
    Hans

    Code:
    virtual LONG Save(PluginSceneSaver* node, const Filename& name, BaseDocument* doc, LONG filterflags)
    {
    ...
    BaseObject* pObj=doc->GetFirstObject();
    if(pObj)
    {
    CTrack* pTrack=pObj->GetFirstCTrack(); ** access violation **
    }
    ...
    }


Log in to reply