View Full Version : Help needed with using animation data from a file
Arnage 09-19-2002, 09:54 AM Does anyone know how to animate an object using x,y and z coordinates from a file? I think it's possible to create a script for it with maxscript but i have no scripting experience. Is there someone who knows a easy way to do this or knows where i can find a script/plugin to do this?
Thanks for the help
Arnage
|
|
Arnage
09-20-2002, 12:21 PM
Doesn't anybody know how to do this? :sad: (or are you just ignoring me because i'm new here?:p)
Ian Jones
09-20-2002, 12:32 PM
noone is ignoring... not that many ppl have MAX scripting experience, give it some time. Someone will reply.
yoni-cohen
09-20-2002, 02:57 PM
it is possible thru script transform
Arnage
09-21-2002, 02:23 PM
The file contains the x,y and z coördinates per frame and can be converted to any type that will work.
example:
10,10,10
10,20,10
20,10,00
etc.
yoni-cohen
09-21-2002, 02:31 PM
I'm not totaly sure about the way to implement it right now but, learn how to read strings in maxscript for the loading.
then you need to get this data into an array and step up the array using the currentframe as the index of the array, this way each frame you progress will load it's own xyz cord.
BrandonD
09-21-2002, 05:13 PM
It can be done through MAXScript either as a script controller or a utility. You can read data from a text file and apply it to object transforms, but it's not something simple enough to explain in a single paragraph. Your best bet would be to look at a similar script as reference...
Here's one that reads Lightwave .mot files and applies the data
http://www.scriptspot.com/bobo/mxs3/lwmot/Read_LW_MOT_015.zip
CGTalk Moderation
01-13-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.