Skip to main content
GameDev.net gamedev.net
🔒 Locked

Export animation with MAXScript

Started by rikardo Nov 4, 2008 at 2:02 AM 2 replies 3.6k views
Original Post
rikardo
rikardo
Hey! I have a script (written with MAXScript) that exports a mesh of the current selection in 3DS Max, vertices and faces. And writes that to a file, like this:

vertices 10
faces    15

vertices
[5.1, 4.4, 1.1]
[3.1, 7.3, 1.7]
...

faces
[1, 3, 2]
[3, 5, 4]
...
I want to do the same thing but frame by frame with a animation in 3DS Max. So the output of a maxscript of that kind would look like this:

frames   5
vertices 170
faces    240

frame 1
{
    vertices...
    faces...
}

frame 2
{
    vertices...
    faces...
}

frame 3
{
    vertices...
    faces...
}
...
As I said I already know how to do it with one scene, the actual problem is to step frame by frame. So if anyone have some ideas of how to do this "stepping" I would be pleased. With Best Regards Rikardo [Edited by - rikardo on November 4, 2008 2:46:51 AM]
rikardo
rikardo
*bump*
rikardo
rikardo
I got help in another forum, so I will post the full code here soon so other could take use of it.
rikardo
rikardo
I got the answer of my question in another forum, here is the link if you like to read how it was solved:

http://forums.cgsociety.org/showthread.php?f=98&t=692325

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.