Sign in to follow this  
RJSkywalker

Issue in exporting an animation in Maya to FBX

Recommended Posts

Hey guys,

I had a question regarding the type of animations that can be exported to FBX created in Maya. One of my animators created an animation of an object using Deformers specifically the Bend and Squash. It seems like FBX does not export this property (or even import). We tried exporting it with Bake Animation and the Deformed Models option but it did not work. Also, the object does not have any bones/joints associated with it.

Does anyone know if this is a FBX thing? Do we need to write a custom FBX  exporter to handle this?

Edited by RJSkywalker

Share this post


Link to post
Share on other sites
Does anyone know if this is a FBX thing?

Yes .FBX is a Skinned-mesh format, you need a Frame-mesh format like MD2.

 

FBX primary exports a mesh and then the bone transforms, it's your engine that then transforms the Skinnedmesh based on the bones imported from the .FBX.

There is a way to import the vertices animation using, morph targets (Blendshapes).

 

Note about morph targets: .FBX stores each morph target's final form as a mesh inside the file, then uses vector math for transitions.

 

Example: Vertex_A = (0,0,0) to Vertex_A = (5,0,0) so Morph target set to half will = Vertex_A (2.5,0,0) This is great for squash and stretch, however won't work for bends or rotations. 

 

Also again your engine will do the animation meaning that if you just import it, the animation won't play by it'self. You will have to read up on how your engine uses Morphtargets.

 

 

A workaround is to convert each step of the animation to it's own morph target, import the now large .FBX file and convert each tatget to a frame in your engine specific Frame Animation Mesh.

 

 

MD2 is widely used for this as it has everything you need, materials should be made in your engine and not exported, MD2 doesn't hold to modern mesh standards and as such it is recommended you convert to your engine Framemesh.

Edited by Scouting Ninja

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this