Trond A
27-04-2003, 08:33 PM
I have been writing a model compiler/viewer for a time now, and I am using the ASE fileformat from 3DS MAX3 to compile the models into my own format from. I am exporting each frame of the animation to one separate file (I figured out that there were some animation issues if trying to export entire animation to one file).
Anyway, the point is, I am trying to make some kind of a script that can export the frames for me, so I don't have to manually export 200+ frames. I have come to the point where I can export the frames to ASE files, but I still don't know how to alter the options screen for exporting ASE files, like setting whether or not I want to export animated mesh data, what frame I want to export, should I export texture coordinates etc. All of these things, and more, are in the options screen for the file->export->ASE feature of 3DSMAX, I just want to make it automatically set the flags I need.
Here is the script I have so far (short yes)
taFileNumber=0
sliderTime=0
for loop=0 to 30 do
(
taString = "e:\3dsmax3\anims\vincent" + (taFileNumber as String) + ".ase"
exportfile (taString) #noPrompt
taFileNumber+=1
sliderTime+=1
)
Don't know if this is the right place to post though, I'll try anyway :)
Thanks in advance,
-Trond
Anyway, the point is, I am trying to make some kind of a script that can export the frames for me, so I don't have to manually export 200+ frames. I have come to the point where I can export the frames to ASE files, but I still don't know how to alter the options screen for exporting ASE files, like setting whether or not I want to export animated mesh data, what frame I want to export, should I export texture coordinates etc. All of these things, and more, are in the options screen for the file->export->ASE feature of 3DSMAX, I just want to make it automatically set the flags I need.
Here is the script I have so far (short yes)
taFileNumber=0
sliderTime=0
for loop=0 to 30 do
(
taString = "e:\3dsmax3\anims\vincent" + (taFileNumber as String) + ".ase"
exportfile (taString) #noPrompt
taFileNumber+=1
sliderTime+=1
)
Don't know if this is the right place to post though, I'll try anyway :)
Thanks in advance,
-Trond