Shop Mobile More Submit  Join Login

This is a Tutorial on how to export a model with animation as fbx file out of Blender.

Exporting to fbx with included animation out of Blender is a difficult thing, especially if you
want to use it for 3D web applications like Verold or the coming soon animation feature
on Sketchfab, it is important to reduce the animation keyframes, so the animation runs
smoother and also the whole scene will loads faster. After the export, the result often
looks not like you have made it in Blender or in the worst case you get a crazy moving
polygons salad on the screen, also the export may take a lot of time or fails. This is why
i wrote this tutorial.
There are a lot of things you need to consider, like the number of
keyframes, inverse kinematics and bone constraints are not supported like in blender
and it is better to have only one animation in your fbx file after the export.

I used the Blender version 2.70 for the export, because there are some problems
with the fbx exporter under 2.74.

For this tutorial I decided to used my animated dragon, because it has a lot of animation
bones, actions and bone constraints, what can cause problems if you simply export it
as fbx. Also, I will show you how to keep the numbers of the keyframes small by using
bake actions.


1

1. Export the animation as a bvh (motion capture file).


I did a lot of animation for this dragon, but I only want to export the idle animation now,
so I go into the Pose Mode (1), then I press the a key to select all bones,
now I choose the idle animation (2) into the Drop Sheet Editor.

2
Now I export the bvh.
File/Export/Motion Cature (. bvh).
The bvh exporter will only export the current action and this is good.

3

2. Separate the model from the armature and save the blend file.


I select the armature and then I press the x key to delete the armature object.

4
5
Also, I delete the armature modifier from the object.

6
Now I save my file.

7

3. Setup the export scene.


I need an empty scene, so I click on Load Factory Settings under File,
then I delete the default cube and the camera.

8
I Append the model of my dragon.

9
1. Select the blend file
2. Objects
3. The object you want to append

10

11
Next I need to import the bvh Idle animation.
File/Import/Motion Capture (.bvh)

1213
After importing the bvh file the armature rotation needs to be corrected.

14
I select the armature and fix the x rotation under the transform sector.
0° to -90°

16

15
It is important to apply the rotation, So I select the armature by
pressing Crlt + p key and then I click on Rotation to apply.
17
Next I need to connect the Model with the armature.
I select the model first and then I select the armature with Shift key pressed.
Now I press Crlt + a, then I set the parent to Armature Deform.

18

4. Reducing the keyframes.


Reducing the key frames is important, it speeds up the animation playback,
it reduces the file size and the whole scene loads faster. So now I go into the Pose Mode,
press the a key to select all bones, and then I click on Bake Action...

19
1- Enter the last frame of animation here
2- Defines the frame step, 3 should be okay

20
Before Bake Action...

20
After Bake Action...
Now the file is ready for export.

21

5. Exporting and Testing.


File/Export/Autodesk FBX (.fbx)

22
For testing my exported file, I use the Autodesk FBX Converter
Just drag and drop the file into the program.

23




Hope it helps :)
:iconmrhd:
mrhd Featured By Owner Aug 2, 2015
wow das geht weit über mein aktuelles blender level...noch
Reply
:iconrealtimebrush:
RealTimeBrush Featured By Owner Jun 29, 2015
Excellent work, the tutorial is very clear and the result works very well. I do like these type of tutorial I find it easier to iterate over a particular step that might need a little more focus.
Reply
Add a Comment:
 
×

:icondennish2010: More from DennisH2010



More from DeviantArt



Details

Submitted on
June 25, 2015
Link
Thumb

Stats

Views
1,521
Favourites
4 (who?)
Comments
2
×