Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 25-06-2008 , 05:50 PM
Registered User
Join Date: Jun 2008
Posts: 2

Basic animation question - importing X,Y,Z path data

Hi Everyone,

I'm completely new to Maya. I'm working on a project where we video butterflies using two high-speed cameras. Using Matlab, we then track a certain point on the butterfly in both camera views and obtain the X,Y,Z position of that point versus time.

I am trying to figure out how to animate a butterfly along that path in Maya. Right now I am just starting out with small steps (trying to animate a rigid butterfly along a single path). My data comes in a txt file with the columns:

time X Y Z

My question is: what is the best way to animate an object along that path defined in my text file? We can do it by manually typing in the X,Y,Z using the keyframe animation procedure, but that is painstaking.

Is there a way to import my X,Y,Z data into some sort of motion path, then I can just attach my object to the path and animate it?

Or should I create a .anim file from my data and read that in?

Any ideas would be awesome! Thanks!

# 2 25-06-2008 , 06:53 PM
jsprogg's Avatar
Lifetime Member
Join Date: Feb 2004
Location: Chicago
Posts: 1,712
I believe you have to have Maya Unlimited to be able to do this although not 100% certain but in Maya Live you can go to track and then select import track points which should allow you to navigate to your txt file with the data.




2 x Modeling Challenge Winner

Last edited by jsprogg; 25-06-2008 at 09:00 PM.
# 3 25-06-2008 , 10:27 PM
Registered User
Join Date: Jun 2008
Posts: 2
Thanks a lot! I'm using the student version, and when i click on the Maya Live plugin, it says I don't have a license for it. bummer. thanks for your help though!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads