pouët.net

Exporting skeletal animation data from 3dsmax

category: general [glöplog]
 
have anyone tried to export bones, weights and animation frames from 3dsmax? flexporter doesn't seem to do the job right when it comes to bones... is there any good plugin for this task? i suppose its possible to do it from maxscript though, but its quite a job
added on the 2004-10-16 13:13:51 by Duckers Duckers
If you want it for bipeds you can try the character studio plugin -physique modifier-.
added on the 2004-10-16 14:20:26 by ithaqua ithaqua
or try Cal3D and rip/rewrite the 3dsmax exporter ;)
added on the 2004-10-16 14:38:10 by kb_ kb_
if you are writing your own exporter this is no problem, you say you use flexporte so just iterate the bones yourself and save em out...
added on the 2004-10-17 11:38:47 by pantaloon pantaloon
flexporter is fucked for skins, unfortunately.
so you'll have to write your own exporter or rip one that does work for skins =)
added on the 2004-10-17 14:21:10 by smash smash
okay.. thanks for your help
added on the 2004-10-17 16:13:59 by Duckers Duckers
get 3dsmax6 and use the Igame interface in it. They made a lot of good work on it, just check the code for the xml exporter. i have not tried exporting bones yet, but the code is there. A huge improvement over previous maxsdks, coding an exporter is now super-simple =)
added on the 2004-10-17 16:36:42 by stil stil
My exporter does it like this:
1) Scan the object INode's modifier stack for a skin modifier (SKIN_CLASSID).
2) Disable the skin modifier, to return the mesh to the rest-pose.
3) Export the mesh as usual.
4) Get the ISkin-interface from the skin modifier, and use it to get the ISkinContext-interface.
5) Use the ISkin-interface to get the bone references and their rest-pose transforms (GetBoneInitTM()).
6) For each vertex, use the ISkinContext-interface to get the indices of all assigned bones, and the corresponding weight.

Since the bones themselves are just regular objects aswell, exporting their animation paths is the same as usual.
added on the 2004-10-17 17:31:04 by Scali Scali
Alternatively, you can license limp ninja technology
added on the 2004-10-17 18:41:57 by Shifter Shifter

login