Both sides previous revision Previous revision Next revision | Previous revision | ||
hpl3:engine:model_export [2014/09/12 20:39] aaron.clifford |
hpl3:engine:model_export [2018/12/04 07:47] (current) nebej |
||
---|---|---|---|
Line 47: | Line 47: | ||
It is prefered if looped animations are exported so that they have the same keyframe at the first and last position. This will guarantee that they are looped correctly. | It is prefered if looped animations are exported so that they have the same keyframe at the first and last position. This will guarantee that they are looped correctly. | ||
+ | ===== Additional animation setup ===== | ||
+ | |||
+ | Additional information about the animation can be setup by adding a .anm_info file with the same name as the animation. This file can be used to specify advanced settings that might be hard to get correct when exporting. The anm_info file is stored as an xml document. | ||
+ | |||
+ | ==== Bone Setup ==== | ||
+ | |||
+ | Information about which bones should be active for the animation can be specified in the file. You can either include or exclude bones. Each bone is specified with a name (wildcard allowed) and if it should affect all the children of the bone(s). | ||
+ | |||
+ | Here is an example of some XML code. | ||
+ | |||
+ | <code> | ||
+ | <AnimationInfo> | ||
+ | <BoneSetup> | ||
+ | <!-- Start by exluding all bones from this anim --> | ||
+ | <Exclude Bone="*" /> | ||
+ | <!-- Then include the top of the left arm and all its children --> | ||
+ | <Include Bone="j_L_Arm_1" Children="true" /> | ||
+ | <!-- Then exlude the lower part of both arms using a wildcard --> | ||
+ | <Exclude Bone="j_*_Arm_3" Children="true" /> | ||
+ | </BoneSetup> | ||
+ | </AnimationInfo> | ||
+ | </code> | ||
===== 3DS Max ===== | ===== 3DS Max ===== | ||
Line 115: | Line 137: | ||
Select all mesh and bone items (double-click your root bone to select all connected). Only selected items will be exported. | Select all mesh and bone items (double-click your root bone to select all connected). Only selected items will be exported. | ||
- | Then File>Export as...>autodesk FBX 2013 | + | Then File>Export as…>autodesk FBX 2013 |
**Exporting a skeletal animation:** | **Exporting a skeletal animation:** | ||
Line 127: | Line 149: | ||
Select all bone items (double-click your root bone to select all connected). Only selected items will be exported. | Select all bone items (double-click your root bone to select all connected). Only selected items will be exported. | ||
- | Then File>Export as...> | + | Then File>Export as…> autodesk |
- | autodesk | + | |
- | FBX | + | FBX 2013 |
- | 2013 | + | |
===== Blender ===== | ===== Blender ===== |