Jump to content

Importing character models: Difference between revisions

m
→‎Idle pose: sorta typo
(hope this helps)
 
m (→‎Idle pose: sorta typo)
Line 43: Line 43:
The relative positions and rotations of the body parts in this state provide a reference for any other pose. In fact, what is relevant here is not only the relative placement of the meshes, but also the placement of the center of rotation (a.k.a. joint) of every body part with respect to its parent.
The relative positions and rotations of the body parts in this state provide a reference for any other pose. In fact, what is relevant here is not only the relative placement of the meshes, but also the placement of the center of rotation (a.k.a. joint) of every body part with respect to its parent.
===Idle pose===
===Idle pose===
If you use '''-extract:dae TargetFolder ONCCkonoko_generic.oni''' (with ONCC rather than the TRBS without '''-noanim'''), OniSplit will look up the idle animation from the [[ONCC]]'s [[TRAC]]. Rotations (relative to the reference layout of the joints) are applied to the body parts.
If you use '''-extract:dae TargetFolder ONCCkonoko_generic.oni''' (with ONCC rather than the TRBS , and without '''-noanim'''), OniSplit will look up the idle animation from the [[ONCC]]'s [[TRAC]]. Rotations (relative to the reference layout of the joints) are applied to the body parts.


Keep in mind that this idle pose exported by OniSplit is just an arbitrary natural-looking pose, as opposed to the reference state (exported with the -noanim tag). It is certainly not a standard pose for you to match when importing a new model (unless you are swapping body parts between Oni characters that use the same idle pose, in which case you don't have to match anything anyway).
Keep in mind that this idle pose exported by OniSplit is just an arbitrary natural-looking pose, as opposed to the reference state (exported with the -noanim tag). It is certainly not a standard pose for you to match when importing a new model (unless you are swapping body parts between Oni characters that use the same idle pose, in which case you don't have to match anything anyway).
Line 50: Line 50:


Also note that the new body parts need to be aligned with the underlying bones not only geometrically, but in a way consistent with the relative placement and rotation of the joints. In XSI Mod Tool, any new body part can be positioned correctly for a specific pose and then be told to "Match All Transforms" of the underlying bone, thus becoming a consistent part of the character. Dunno about Blender.
Also note that the new body parts need to be aligned with the underlying bones not only geometrically, but in a way consistent with the relative placement and rotation of the joints. In XSI Mod Tool, any new body part can be positioned correctly for a specific pose and then be told to "Match All Transforms" of the underlying bone, thus becoming a consistent part of the character. Dunno about Blender.
===Importing===
===Importing===
Only [[TRBS]] are created at the moment, although [[TRMA]] could also be generated. An [[ONCC]] contains much more information than links to TRBS and TRMA and thus can not be generated automatically ATM.
Only [[TRBS]] are created at the moment, although [[TRMA]] could also be generated. An [[ONCC]] contains much more information than links to TRBS and TRMA and thus can not be generated automatically ATM.