Springheel's Rigging Workflow: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 7: Line 7:
I use Lightwave 8.0 to work on character meshes.  I'm not a proficient enough modeler to make high poly characters from scratch, so I usually put together bits and pieces scavenged from Doom3 and models created for TDM by Oddity.
I use Lightwave 8.0 to work on character meshes.  I'm not a proficient enough modeler to make high poly characters from scratch, so I usually put together bits and pieces scavenged from Doom3 and models created for TDM by Oddity.


Important things to remember:  The md5mesh format is less forgiving than regular .lwo models, so a few extra things need to be done.  A character model can (and usually does) have multiple layers.  A single layer can reference only one material.  A single poly or vert cannot be mapped onto two different UVmaps, or the texture will be distorted.  Meshes that meet at sharp angles may need to be on separate layers to avoid strange black shadows in game.
'''Important things to remember''':  The md5mesh format is less forgiving than regular .lwo models, so a few extra things need to be done.  A character model can (and usually does) have multiple layers.  A single layer can reference only one material and one UVmap.  A single poly or vert cannot be mapped onto two different UVmaps, or the texture will be distorted.  Meshes that meet at sharp angles may need to be on separate layers to avoid strange black shadows in game.


== Create the skeleton ==
== Create the skeleton ==
Line 16: Line 16:


I use Maya 7.0 to create skeletons.
I use Maya 7.0 to create skeletons.
== Exporting to Md5Mesh ==
Error "expecting to find weight but found }" generally means that the mesh references a non-existent joint.  This can easily happen when copying character partss that are weighted for a different skeleton.

Revision as of 20:49, 16 August 2011

This article is WIP.

This is a reference for me (so I don't have to relearn important steps), as well as anyone who wants to see the workflow I follow when adding new characters to the game.

Create the model

I use Lightwave 8.0 to work on character meshes. I'm not a proficient enough modeler to make high poly characters from scratch, so I usually put together bits and pieces scavenged from Doom3 and models created for TDM by Oddity.

Important things to remember: The md5mesh format is less forgiving than regular .lwo models, so a few extra things need to be done. A character model can (and usually does) have multiple layers. A single layer can reference only one material and one UVmap. A single poly or vert cannot be mapped onto two different UVmaps, or the texture will be distorted. Meshes that meet at sharp angles may need to be on separate layers to avoid strange black shadows in game.

Create the skeleton

If using an existing skeleton (like the default humanoid skeleton used for most characters), skip this section.

TDM human characters share the same skeleton so they can also share animations. Same with heads. New creatures, like ravens or steambeasts, need their own skeleton.

I use Maya 7.0 to create skeletons.


Exporting to Md5Mesh

Error "expecting to find weight but found }" generally means that the mesh references a non-existent joint. This can easily happen when copying character partss that are weighted for a different skeleton.