Child pages
  • Animate Bones in Maya

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure you have correctly imported the bone models, following the instructions.
  2. Shift+select the bones in the same order that markers were chosen during the Calculate Rigid Body Motion process in MATLAB.
    Image Removed
  3. Click the imp Shelf Tool or type impdata in the Mel command line. Browse to the [yourfilename]xyzpointsAbsTforms.csv file.
  4. In the Import Data window, select Matrix (from svdrigid) and Transform Type: absolute and Apply to: selected objects
  5. Click Import button.

    Select one of the bones.

  6. Select imp from the XROMM_Tools shelf tab. Select Browse to File and navigate to find the filtered rigid body transformations csv file exported from XMALab. 

  7. If you exported the rigid body transformations from XMALab as a combined file, rather than a single file for each bone, then "Import Subset of data columns" and enter the appropriate column numbers for the bone you selected.
  8. Select Data type: “Matrix (from svdRigid)” and Apply to: "selected object"

  9. Click "Preview original file" to look for column headers; check or uncheck (as appropriate) box for Column Headers in Row

  10. Click Import button.
  11. Repeat these steps for the other bones in your Maya scene. 
  12. Play your animation to see motion. You may need to expand the time range to include all of the animated frames (436 frames for the pig example data).