Creating a scene with cloth modifier.

Creating a scene with cloth modifier.

marius_stravinskasFYW77
Explorer Explorer
331 Views
7 Replies
Message 1 of 8

Creating a scene with cloth modifier.

marius_stravinskasFYW77
Explorer
Explorer

Hello,
First time seeking help in forums so apologies in advance if I'd wrote something unclear in the first place.

Firstly I'm kinda new with cloth modifier. I'm trying to make a simulation with cloth modifier "on whole interior", these are the examples I'm trying to achieve:
Example1.jpg

Example2.jpeg

As far as I understand, Firstly i need to make a box with a lot of segments into the scene, drop it onto the furniture with cloth modifier, then to a simulutation with wind force (or something simmilar) inside the simulated object.

My workflow so far: I've tested dropping a huge plane as a cloth on 15mx15m area with some furniture and I already came across a  bottleneck - the time. The estimated time in dialog box  to finish the simmulation was ~4hrs. I've just left it overnight. I'm attaching a screenshot of what I've simmulated so far ("Simmulation#1", "Simmulation#2" is screenshot what's below the dropped plane, objects are Editable Poly modeled in 3ds max) .

Simmulation#1.jpg

Simmulation#2.jpg

  



Scene units are set to millimeters. 
The plane characteristics are:

  • size is 15mx15m
  • divided into 1000x1000 segments (I've tried to simmulate with less segments but going below 1000 the plane just goes through every objects edges.)
  • In cloth modifier i've just chose "Silk" presset

 

I would like to ask some of more experienced modelers of Your suggestions about the workflow or any kind of advices how to could I achieve this. (For the simmulation time I thought that scaling down the objects of interior 10x size and droping the same scaled plane would help with simulation time but quickly realised that the real deal is the ammount of segments). Maybe there's a more simplified workflow for this or maybe this is just too complex to achieve?

 

 

 

0 Likes
Accepted solutions (1)
332 Views
7 Replies
Replies (7)
Message 2 of 8

marius_stravinskasFYW77
Explorer
Explorer

I realised that even this example should be a more simple to achieve and I'm fine doing this but I'm still confused what parameters i should use for the plane and the cloth modifier.

 

Image.jpg

0 Likes
Message 3 of 8

MartinBeh
Advisor
Advisor
Accepted solution

Interesting project!

To me it sounds like hard-core cloth simulation might indeed be problematic at this scale.

Since this is not about cloth animation (right?), you might be able to take some shortcuts, e.g. how collisions are handled (turn of inter-cloth collision).

Also, you might be able to manually fix some remaining interpenetrations between cloth and room after the simulation, might be faster than trying to optimize the cloth sim and re-run.

And I would try to do the cloth sim at lower resolution and then add some sort of meshsmooth on top of that to get the detail in the folds. 

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 4 of 8

MartinBeh
Advisor
Advisor

FWIW, this is five minutes of messing with mCloth:

MartinBeh_0-1747314289178.png

 

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 5 of 8

marius_stravinskasFYW77
Explorer
Explorer

Thank You Martin for the answer!
Yes, I'm doing just a still/single shot without animation.
First time hearing about inter-cloth collision, will definetly try turning them off.
I've started to play a bit with TYflow plugin and so far I'm getting a bit more better results (found fabien escudero Youtube tutorial video)

marius_stravinskasFYW77_0-1747400053435.png

 

0 Likes
Message 6 of 8

MartinBeh
Advisor
Advisor

Looks like you made some good progress!

And yes, Tyflow also uses PhysX IIRC (like mCloth), so this makes a lot of sense to utilize the power of your GPU for those simulations. And TyFlow is probably a decade more modern than the default PhysX engine in 3ds Max.

 

I think with Cloth the two main aspects to look into are collisions and stiffness.

If you do not care too much about collisions (since the result is static, you can always use Push/Pull/Smooth paint tricks afterwards to fix certain parts, or simply remove the penetrating geometry after the simulation so it does not stick through the cloth) you can speed up things a lot.

Likewise with stiffness - the stiffer you need your cloth to be the harder the simulation has to work on it; and vice versa, if you configure your cloth to me fairly elastic, the sim will have a much easier time.

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 7 of 8

creative_threshold
Contributor
Contributor

holy. I'm just trying to model a basic curtain... and i'm about to throw out my computer. This is next level mental. I'm of no help.

 

@creative_threshold - this post has been edited due to Community Rules & Etiquette violation.

0 Likes
Message 8 of 8

creative_threshold
Contributor
Contributor

I would try using marvelous designer @marius_stravinskasFYW77 

I spend two days trying to create a specific curtain the 3dsmax's cloth modifier. I downloaded a trial of marvelous designer. I was able to create exactly what i wanted in one hour.

0 Likes