Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 601651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:44:19+00:00 2026-05-13T16:44:19+00:00

I have a rigged (biped) and animated model in 3D Studio Max which I’ve

  • 0

I have a rigged (biped) and animated model in 3D Studio Max which I’ve exported as a .x file.

When I use it the animations run fine, however I’ve been trying to get the model itself to lean and turn from the hip but I’m having difficulty in finding where in the bone hierarchy I should apply the rotation matrices.

In 3D Studio Max there is a bipe object on the model called Bip01, when I select and rotate it the rotation cascades on all bones above the hip so I assumed that applyhing rotation matrices to the same D3DXFRAME (which has the same name, Bip01) would have the same effect but it does not. What happens is the effect ends up applying to everything in the bone hierarchy so applying transformations to Bip01 is like applying it to the route bone (which it might be as I’m not sure how to tell one bone from the other).

Here’s the code where frame transformations are updating and I’ve added a bit of code attempting to apply the matrix transformation to Bip01, I’m not sure if there is any other relevant code I can show… (the rotation value is just a random value I threw in)

void CAnimInstance::UpdateFrames( MultiAnimFrame* pFrame, D3DXMATRIX* pmxBase )
{
    assert( pFrame != NULL );
    assert( pmxBase != NULL );

if(strcmp(pFrame->Name, “Bip01”) == 0 )
{
D3DXMATRIX rot;D3DXMatrixRotationY(&rot, 3.141);
D3DXMatrixMultiply( &pFrame->TransformationMatrix,
&pFrame->TransformationMatrix,
&rot );
}

    D3DXMatrixMultiply( &pFrame->TransformationMatrix,
                        &pFrame->TransformationMatrix,
                        pmxBase );


    // transform siblings by the same matrix
    if( pFrame->pFrameSibling )
        UpdateFrames( ( MultiAnimFrame* )pFrame->pFrameSibling, pmxBase );

    // transform children by the transformed matrix - hierarchical transformation
    if( pFrame->pFrameFirstChild )
 {
  UpdateFrames( ( MultiAnimFrame* )pFrame->pFrameFirstChild,
    &pFrame->TransformationMatrix );
 }
}

*What I think I should be doing is finding all the children frames for Bip01 and apply the transform to them but how do I do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:44:19+00:00Added an answer on May 13, 2026 at 4:44 pm

    Bip01 is the root node for the skeleton in Character Studio – which I assume is where you skeleton is set up.
    So your code is correct i.e applying a rotation to bip01 and then cascading that down to all it’s children will update all bones in the skeleton.

    I’m guessing ( and it’s a total guess ) that the reason why you aren’t seeing this in 3D Studio Max is because it’s set up with a bunch of constraints to help the animator.

    What I’d suggest doing is finding the bone names – they usually follow a convention of bip01 – L Finger 1 etc then find the name of the hip bone ( it’s probably called Bip01 – Hip ).
    Alternatively on startup in your code, iterate from Bip01 down all the children and build up a dictionary of all bone names.

    I’m sure there’s a better answer but as my 3DS max is pretty rusty that’s about the best I can do for now 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.