|
|||||||
![]() |
|
|
Thread Tools |
|
|||
|
After a lot of testing and frustratoin, I think I solved all the problems I had with softbodies for clothes. The only missing part is to tweak them to look more like made of fabrics.
I was trying to make a decent animation but I just can't, so I will use a few still images. Nothing spectacular, but as you can see, at least there is no skin showing through the clothes, and there is none in the animation which leads to these poses. The strange poses show how this works well even with the added complication of muscle simulation of the shoulders using driven shape keys. Here are two variations of the last image, using different weights: In the first parts I will try to cover the basics of modeling of clothes, with good topology in mind before getting into the rigging and setting up of softbodies. Part 1, modeling Time: about an hour. Skills: Modeling, good vertex pushing skills. I will start with a simple dress model, but the principles apply to many kinds of garments. You'll even find this silly if you are a good modeler. ![]() In a previous tutorial I wrote once, I suggested to make garments out the body mesh, but I don't anymore. Creating them from scratch is faster and the topology gets well done from the start. I think good topolgy is important for softbodies and the results are better than using triangulated meshes as it is done in other programs. As you can see, the purple faces make clean rings around the arms and the neck, this seems to distribute the stress better. On a model without these rings, the sides of the dress hang to the sides like this when a softbody is applied: ![]() So, to have something to begin with, snap the cursor to the center of the body and create a cylinder with open ends and an even number of faces from the top view. In this case it has 24 sides. You might have to rotate it so two edges are aligned with the symmetry axis. Add all these parallel rings by multiple loopcutting (ctrl R and mouse wheel). Scale those rings one by one to roughly conform to the body, sometimes scaling around the cursor and constraining on X and Y as needed. ![]() Here is a rough form. ![]() Now we need to start using the mirror modifier. Depending on which side you prefer to work on, delete the vertices from one side, leaving the ones at the seam. Then add a mirror modifier. ![]() Now do some vertex pushing to refine the shape. This is obviously still a low poly version, so you can't really make this dress fit very well. ![]() Notice how the vertices under the armpit are slightly curved. ![]() Select two edges, one on the front side and one on the back where the straps will be extruded. ![]() ![]() Extrude a few times, adjusting the polygons to form the straps and weld the two faces at both ends. ![]() ![]() Alt right click on an edge on the arm opening to select the inner edge loop. Press E and, without moving the mouse, press enter. ![]() Press S and scale the selected inside vertices. ![]() Model the arm opening. Now you have a clean face ring from which you can easily extrude a sleeve if you want to. ![]() Now apply the mirror modifier, but don't enable X-axis mirror just yet. Select the edge of the neck opening. ![]() Extrude and scale, just as you did for the shoulders. ![]() Now do enable X-mirror, model the collar and fix the strap. ![]() You can of course make any variation that doesn't have the arm and neck openings aligned, by extruding a row of edges instead of single edges. An additional step which I always do even if it might be useless (but doesn't harm), is to apply the XSort button to all objects involved. In my early experiments the "clothes" would go through the body even if deflection was activated for both objects and they were in the same layer. After a lot of frustratring tries, deflection started working for no reason, I realized I had done a lot of operations which changed the vertex order of the body mesh, so I tried XSort to somehow order all the vertices and since then deflection seems to work all the time. This is obviously a low poly first step, which will not create interesting or realistic folds, and covers only the basics for the upper body, but you can make it as polygon heavy as you want depending on the desired effect. Well this is part 1, still a lot to cover... Last edited by tolobán; 12-Mar-08 at 06:23. |
|||
|
#1
|
|||
|
|
|
|||
|
Hey ! Nice of you to share your experiments about clothes
(and very nice charcaters as always)What you say about the ring make sense AFTER you exposed it. Clothes react the way they do because of how the material they are made of (silk, cotton, felt) but also because of the way they are sewn... mmmh got to think about this... (I am building a cape for my characters, so of course, I am also thinking about clothes physic) From my own experience, if you want your clothe to fold randomly, you have to add some randomness to the mesh by yourself first... clothes mesh isn't uniform in real life. Small imperfections and irregularities change the whole system itself. When I've tried to do a cape, at first, I thought the seams and crease where far too symetric to be real. Then I pushed some vertex... to avoid having a perfect plane... and more realistic crease appeared... Clothes and softbodies are truly fascinating eh?
............................................
My latest WIP is : http://blenderartists.org/forum/show...hlight=templar My WIP blog : http://digitaldraw.wordpress.com/ Last edited by aws357; 02-Jun-07 at 13:57. |
|||
|
#2
|
|
|||
|
Being a good modeller, I appreciate your tutorial but can't effectively use it. In addition, please realize that a dress is very simple from a softbody point of view, rather than say, a pair of pants. . . with buttons and whatnot, and easy to animate without softbodies. Sharing soft settings would be nice, too.
I'm not trying to bash, sorry. It's just that people who are seriously attempting to find a good technique for softbody clothing (like myself) have already gone through steps like this.
............................................
~also known as Falcon McCooper~ |
|||
|
#3
|
|
|||
|
Great tutorial!
I've got a clothes modelling technique (using sculpt) that makes a messy mesh but is much faster. That said, my technique doesn't work well with softbodies. Looking forward to part 2! Koba
............................................
[Sanity is not statistical] |
|||
|
#4
|
|
||||
|
Very Cool, I'd love to see the animation, however incomplete. I look forward to the rest of this tut as well. The rings explanation is excellent. You always have such great work.
About pants, wouldn't this still apply and then using goals, rigging, etc. for non-softbody type parts.
............................................
-Brad |
||||
|
#5
|
|
||||
|
Great. You should write a tutorial for this...
............................................
Suzy? What happened to your hair? Politically wrong by right. ![]() http://blendimation.ning.com http://blenderos.ning.com http://godlygames.ning.com http://gamefabric.ning.com http://kingdomcode.ning.com
|
||||
|
#6
|
|
|||
|
Sorry guys... Don't be impatient, I know that was simple. But using Koba's words, a messy mesh is not a good starting point and a few people might need some modeling reference.
I promise to go straight to softbodies in my next update and leave some other advice for later. Not that I am an expert, I still have to learn to tweak all the settings. What is important for now is to make it work. Quote:
Crooking a few loops can also help to fold the way you like, although not with much control. |
|||
|
#7
|
|
||||
|
Great tutorial...I learned again something today..thanks..
............................................
|
||||
|
#8
|
|
|||
|
Thanks ecgilboy and everybody.
I have not made extensive tests with softbody settings, so I am not an expert. I am only trying to make it work as much as possible. I have used Blender's defaults and the values from Bjornmose's models and examples: http://mosebjorn.altervista.org/newsb/ For more information about the settings refer to: http://wiki.blender.org/index.php/Manual/Soft_Bodies All the buttons I will refer to here are in the "Physics Buttons" panel which you can make appear in your buttons window, either by pressing F7 twice or by clicking this little icon If you have tried softbodies for clothes, you have most likely experienced one or more of these problems:
See also AnyMation's threads for other nice results: http://blenderartists.org/forum/showthread.php?t=96625 http://blenderartists.org/forum/showthread.php?t=96773 Last edited by tolobán; 12-Mar-08 at 06:28. |
|||
|
#9
|
|
||||
|
Thanks very much for this, you're a real master at this sort of thing. Planning to do any sort of animations?
............................................
Smoke weed, drink booze, we haven't time to lose |
||||
|
#10
|
|
||||
|
***** <- 5 stars
excellent work! ---sigh--- ! finally some experianced users got the point that it's all the art of fakin. -- may be i'am still alive when computers can do all thoose calculations needed to do really nice cloth ( or other stuff i can think of ) in reasonable CPU times. Humm i was 18 when my hands touched the first 'puter .. it was a Z80 machine 16 kByte RAM .. history.. Anyway 'em weather guys nowadays use a 2000 or more high performance CPU cluster to simulate the very thin gas skin of a slighly deformed dirt ball 2/3 coverd with a very funny substance called 'water' by some of the self titleing 'inteligent' events on its surface. What for ? .. get a 3 days approximate weather forecast ... ---sigh--- !!!! So, this is what we can do now .. deal with it .. or wait for .. hum ... for what ..? BM
............................................
humm .. gone back coding Last edited by bjornmose; 05-Jun-07 at 07:59. |
||||
|
#11
|
|
|||
|
You heard the man, learn to fake!
So here is yet another little trick for faking. The softbody end result is not at all convincing if you look at it from a close distance. It looks like a paper thin object floating in the air. ![]() So, to fake thickness in a way that will not compromise the simulation. I extrude the inner edgeloop of the ends of sleeves or any other opening, move to the inside and reduce the loop to make a concave shape which will make the intersection with the body not so obvious. ![]() The new vertices are of course given a 100% goal influence so they will not be expensive in simulation time. ![]() Oh, and I always forget to mention: The armature modifier must always precede the softbody modifier. Now, I hope to finish some cool image or animation to make my 500th post. Last edited by tolobán; 12-Mar-08 at 06:30. |
|||
|
#12
|
|
||||
|
Jorge, thank you for this amazing tutorial! (also, thanks for those on your site - I have re-read them severl times, even the parts that I don't understand ;o)) ... too bad you removed that lovely female model from your site - it was great reference!
............................................
Einsteindwarf - Free Rig and Model my Focused critique threads: NinjaGirl - SumoKnight - The Goon - EinsteinDwarf - Hellboy my art blog: www.ristesekuloski.blogspot.com |
||||
|
#13
|
|
||||
|
Good job.
I'll try it when I have the time. Thanks Toloban!
............................................
Suzy? What happened to your hair? Politically wrong by right. ![]() http://blendimation.ning.com http://blenderos.ning.com http://godlygames.ning.com http://gamefabric.ning.com http://kingdomcode.ning.com
|
||||
|
#14
|
|
||||
|
tolobán
Many Many Thanks. Excellent I got a new idea for my Froggies to put cloth.
............................................
Cartoony Dog Lion & Buffalo Fight 2 Happy Album My Google Video 33-Blender-Video 3D 4 Leg Run Cycle Vimeo
|
||||
|
#15
|
|
|||
|
Hi Toloban,
Your tutorial is very good. However I found that all dress you modelling and apply softbody are over the knee and not long dress. Because I have try to create long skirt and make my character sitting on her feet, the dress does not move realisticaly and it's very difficult to animate. Hope you got a solution |
|||
|
#16
|
|
||||
|
Wow..exactly the tut ive been looking for
Great stuff, I knew it would come down to faking it, i just wasn't sure exactly how. Im gonna try this out soon i hope (@rwy^
............................................
Blackadder: "A war hasn't been fought this badly since Olaf the Hairy, High Chief of all the Vikings, accidentally ordered 80,000 battle helmets with the horns on the inside." |
||||
|
#17
|
|
|||
|
I think a better way to be able to do this sorta thing would be a python module that lets you create the pattern of the clothing item as flat polygons, specify stiches, i.e. selecting the two sections of cloth that go together, set fabric to have particular stretchiness(for instance elastic waist bands) and then the module could turn it into a 3d object that can then be scaled and placed on the model.
This would allow more realistic complicated clothing to be created quickly and easily. Thanks, David |
|||
|
#18
|
|
|||
|
This is me, neablo.
Very impressive what you have achieved again, really nice work. I had no time to read the whole thread yet, I am still busy with my school exams but what I have read and seen so far, you have mastered to clothe your models perfectly! As you said, there's still texture and material work to do but I think that's no problem for you :-) Looking forward to your first pixar-quality shortfilm! ;-) |
|||
|
#19
|
|
||||
|
Awsome stuff! How long did u spend mucking around with softbodies trying to find the perfect result? Great job.
............................................
Microsoft: "You've got questions, we've got dancing paperclips"
|
||||
|
#20
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|