View Full Version : Attaching clothing to your Character
MaddogZ 10-15-2005, 01:15 PM well I finished modeling and rigging + smooth binding my characters for the scene I am working on but now I need to give them clothing
I have the clothing modeled and ready to be attached but I not sure exactly how to attach them
I was going to use maya's cloth sim but its just to slow and takes to much mem to use
so I tried smooth binding it but it dose not bind same as the skin I already bond and painted weights on so the skins interpeed each other
is there a way to transfer the painted weights over? even if the 2 geometry dont match copy weight just gives me a big error and shuts down maya
what would be the best way to get the clothing on the charactors with out them interpeeding with each othere
|
|
grrinc
10-15-2005, 03:00 PM
I posted a question like this a few days ago. Unfortunatly it got lost amongst the hundreds of other questions and never got answered!!
This is what I am going to try.....
I am going to use the geometry of my model ( it is a low res model that has been smooth proxied ) as a wrap deform for the clothes geometry. My basic model in its nude state is rigged and deformed with Comets poseDeformer. I am hoping to duplicate this model, point constrain it to the the rigged deforming model and then use that duplicate as a wrap deformer for any clothes that I wish too add on later. Wether this is a good idea or not I dont know, but if it works I will let you know. It 'feels' like it should work, but most things in Maya feels like they should work but often dont!!
try to use maya export/import weight tool.....
BUT
1- make sure you have the same number of verteces on both (try to duplicate the piece of the geometry to match the cloth)
2-make auto unwrap to the body.
3-export the weights...i usually use 1k res.
4- transfer the uvs from the body to cloth
4-import the weights to the cloth.
----
what I do is make the character then the cloth and bind them together (don't model what you can't see if you are not going to use cloth simulator)
hope that helps :)
MaddogZ
10-15-2005, 03:37 PM
well MSB thanks for your help I am not intierly sure what you mean lol can you explain :)
as for not modeling what you cant see this model is intended to have 3 difrent clothing sets
and one with out a shirt
MaddogZ
10-16-2005, 08:37 PM
I still have not figuerd this out can any one help?
well MSB thanks for your help I am not intierly sure what you mean lol can you explain :)
as for not modeling what you cant see this model is intended to have 3 difrent clothing sets
and one with out a shirt
sorry,i was busy...school...
first , about the transfer uv . you can't do it unless you have the same vertces order on both meshes.
why i stressed on uvs , actully becuase maya weights tool are uv-based.
so, think about it. if we have different shapes of meshes but the same shape of uvs we can have the same influence on both.
and abouth the wrap deformer.this is a popular way but it uses alot of memory.
hope that's better.
MaddogZ
10-16-2005, 11:54 PM
o well theres no way for me to match the verts becaus my skin has like 3x the amount of faces then some of my clothing
sence thats out of the question
can you explane in detail how this wrap deform works?
the wrap deforemer is a lattice basically , but insted you will model your lattice.and you have very importand attribute called the closet distance ,if i'm not mistaken..-you can find it in its options window-you can find about it in the manual.
hope that helps.
kap13
10-17-2005, 10:45 PM
I wanted to know how to do this myself. I put myself in the same position by making seemless characters and was planning to use cloth for a realistic cloth sim. The memory was not an problem at all for me, however, how maya cloth works was. You simly cant model the cloth items, you have to sew them together, thus making real cloths. The pracitality of this is usless for me. I can see how someone may find it usfull but it would be good if they gave an opotion to turn an object into a cloth object. The mesh coverter is rubish, im not even going to lie. I havent used the convert to cloth or create cloth object (or whatever its called) thing on 7 yet. Does anyone know if it works better now? Is this syflex thing any good? I need somthing thats simple and fast.
MaddogZ
10-18-2005, 02:27 AM
kap13
you are wrong about the maya cloth sim you can make any object into a cloth object and any object into a solid object
the only thing that hapens when you make a object into cloth is that it gets triedfacterd wich is no biggy seeing that most models are tri any way
as for the wrap deformer I still don't understand it I thought you could only use it befor you bind to make a low res model controle a high res one
kap13
10-18-2005, 05:26 AM
Have you had simulation form an object you have converted to cloth? I tryed it a few times on maya 6 and really did not like it. I couldent seem to get the rite collisions or even a half belivable representation from an object coverted to cloth. It seems to triagulate everything.
MaddogZ
10-18-2005, 12:32 PM
yes I have use the cloth sim number of times
1 make sure you res on your cloth and the colision object is decently high(the higer the better but alldo alot slower)
2 the unit mesure ment that you in is what disides what numbers you should input in
if in meeters I find that usely 20 colisionoffset and 100 depth is about right and in centimeetres 0.9 offset and 1 depth
tho every thing changes acording to the size of you model (the ones I sed are objects that cover the inter grid in pres)
you can spend a good time finding the right numbers but after you find them evrey thing works like a charm unless you in my case with 10k faces to work with and a crapy cpu it gose 1 frame evrey 10 minutes lol
I still have not figured out the wrap deformer thing nomater what I doo it wont seem to do any thing I select my Shirt thenshift select my bod and go deform-->craete wrap but when I move my joints my main bod still moves perfectly with but the shirt won't follow or do any thing its as if nothing was efecting it at all
kap13
10-18-2005, 03:36 PM
So your saying that if I used my naked character, then made clothes acroding to the characters gemetary then scal it up slighly so it covers the character. than all I have to do is convert to cloth and then refine the settings? Thats what you do? You have no problem with colliosions, resizing etc? This cloth sim may be worth another look if you rite.
cgtriguy
10-18-2005, 04:02 PM
I just did a little test with the wrap deformer and it worked out rather well. What you need to do is position your clothing over your rigged model so that it is as close a possible. Select the object to be deformed (clothing) and then shift select the object to do the deforming (your body) and go to Create Wrap Deformer. You may have to adjust the max distance attribute until you get it right.
MaddogZ
10-19-2005, 12:11 AM
yes kap13 you can
actuly you can make the clothing any way you want !!
I some times will do the duplicat face thing but a nother good way to make clothing is to make the skin live and draw curves on it then refine them and loft them to make your surface
this works extreemly well for baggy clothing like bellbotems and alike
the cloth sim even has cloth typ stats like lather or sillk but like I sed finding the right numbers can be hard some times :)
as for the wrap thing I have got it to work some how my skin got 2 extra shape nodes that had to be killed for it to work right
and the wrap is asome just what I wanted except for the fact that it now takes my scene 20 minutes to load now lol
is there any way to fix that or dose the wrap deformer always do this ?
ps kap13
I hate the grament style cloth to it just don't give you enough room to do your style of clothing even tho it dose make life like clothing if done right
kap13
10-19-2005, 01:14 AM
so how would you compare maya cloth to syflex?
cgtriguy
10-19-2005, 01:41 AM
If your wrap deformer has a lot of polys then it is going to take w while to calculate. Typically if you are going to use a wrap you want a very low poly mesh driving it. The wrap deformere essentially just turns your geometry into a lattice so every Vert is becoming a lattice point. You could create a low poly replica of your clotning and skin that to your rig to drive the clothing. The key to using a wrap is to keep the poly counts down to the minimum.
kryoboy
10-19-2005, 02:38 AM
personally syflex is the best cloth sim ive ever used. its so easy to handle and much faster than maya's.. it also keeps your mesh as is and doesnt triangulate
MaddogZ
10-19-2005, 03:17 AM
tho I do not own syflex I would say that maya's cloth sim dose not come any were close to it seeing some of the things done with syflex and I say that they defintly surpase mayas cloth sim
maya has a good cloth sim but syflex is a master cloth sim
if you have the 2k to spare I get it
but for me 2k is alot if I had 2k to throw around I buy a new cpu first lol
as for the wrap deformer atlest I can work with it after It finaly loads up and its 15x faster then the cloth sim at this point
kap13
10-21-2005, 01:13 AM
how realistic an effect can you get with the maya cloth sim?
CGTalk Moderation
10-21-2005, 01:13 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.