12 dec 2005: Fixed for 2.4 alpha
This is a very small script, but can save a lot of work to anyone attempting to create really interchangeable poseable clothes for their human models.
No complex cloth simulation here, just dressing human models with clothing objects which will deform along with the character for animation or posing by projecting the weight maps on the clothes object. With hooks and constraints you may even create new effects.
Easily create your own garments (tutorial), or import clothes from any resource, most commonly avaliable for the Poser program.
Use them on any human model, your own already rigged humans (make your own models!), imported from poser, or made with makehuman.
Of course the first basic condition is that garments fit and they cover the nude body (in rest position).
To use this script:
- Make sure face normals of clothing are pointing to the outside.
- Back up your work.
- Parent your clothing object to the same armature the body is parented to.
(Just for fun, set the body armature to some pose).
- Select the source object (body).
- Select the target object (clothes).
IMPORTANT: Always body first, clothes second, if not, body weight maps are DESTROYED.
- Run the script.
The number popup requester is for some issue I have not quite solved. For most cases a value of around 0.8 is good, basically this will prevent the influence from the wrong leg in trousers (lower the value if undesired results). I advice not to model your clothes with faces facing the body (they are not visible anyway), but if you do, a value closer to 1.0 will be necessary or some vertices will not be correctly assigned.
Of course you can always fix things by hand.
If the skin shows through your clothes, some tweaking of weights may still be necessary, or even adding vertices to the clothes object to bend more smoothly.
Look for it here: http://kokcito.tk