The trick to Simulating clothing using SyFlex?


#3

It’s easy to say all of that, but you can dial settings forever and you still end up with a piece of rubber. What really is the “secret”?


#4

The secret is not to use syflex in the first place. I’m not trying to be a smart ass but honestly trying to get a good result will be quite difficult if not impossible. As you may have noticed trying to dial values into syflex is not easy and you can spend hours, days or even longer trying to find the solution and at the end of the day the time you spend trying to get a simulation to look right could have been better spent using another method. Me, well, I’d avoid using syflex all together… but that’s just me.

Good luck.

J


#5

Well I agree that the values are ridiculous. 0.0001 , etc. hard to use the sliders.
But to say you cant use it, isnt really true.
You have to enter the values numerically, and make very small adjustments.
Look at the values in the syflex help file (theres a tshirt tut), and then play from there.
Dont forget to play with gravity as well as the cloth settings.

Oh, and if you play the simulation, and edit the parameters, you ll see the changes happen in real time, so you’ll get an idea of what they do.

You can cache the sim to your hard drive as well, then you can scrub the timeline with the saved calculations.


#6

In actual fact I never said it could not be used… I said it in my view there are better ways to go about this. But to each his own! :slight_smile:

J


#7

Sorry, a little misinterpretation on my behalf.

Its very usuable imo, but of course, if you can get nice results in a more manual kinda way, always go the easier route. Thats valid for any simulation really.

As they tend to be less controllable than manual work.

like you said, to each their own. The end result is whats count after all.


#8

Quoted for agreement mate!

Cheers,

J


#9

Correct units. There is a calculator in the docs, which are located

\Softimage\XSI_6.5\Doc\Syflex\syflex_units.html

Set them right and you are halfway there.

p.s. and I am not kidding, this is THE secret :slight_smile:


#10

Hey guys,

thanks for all the great advice and pointers! itll come in very handy in the coming months!

for now, im going to learn how to make a proper T-Shirt

however, between SyFlex and XSI Cloth, which is technically more recommended for what im looking for? What are the advantages to either or?


#11

Wow there is a very good tip, didn’t know this :slight_smile:

Thanks


#12

Syflex is just much much faster, there isn’t any waiting time to recompute the simulation. The syflex forces are also better than the xsi ones. XSI cloth is more integrated though and easier to use.


#13

I do know that Sylflex collisions(at rest) don’t jitter like vanilla XSI cloth. But, on the flip side, it’s a pain in the butt to get the settings right.


#14

OMG. You are right! The calculator gets you pretty close. Any tips on figuring out what your object measurements are based on those non-descript grid squares?


#15

Just decide on a scale which makes your objects work.

So say if you’re making a 2 meter tall character, and he’s 10 xsi units tall, then each unit is 2/10 = 0.2 meters.


#16

The “secret” to getting excellent results with Syflex is indeed the use of proper scale (absolutely imperative) in relation to the model in conjunction with the appendix/calculator which does provide all you need to get started. From there its just tweaking in small increments.

Cheers!


#17

I’d also agree with Vauric, who said entering values numerically is a must.


#18

So you’re saying all settings are relative to the scale you choose? A grid square can be 1m or 1cm?


#19

exactly.

[filler text]


#20

Right after scale, object resolution is also an important factor when ie looking at collisions. The higher the resolution of cloth & collider, the better the results. Obviously, you dont have to go extremely high. A smooth or two should do the trick, along with tweaked collision envelope values etc.

Depending on the project, it may also help to build a proxy especially for Syflex, simulate that and then have it drive the original mesh.

Cheers!


#21

I think in the docs it says best results are had by keeping the Collide polys .5 the size of the cloth.


#22

I’ve been playing and experimenting with my new knowledge, and I’ve found some great settings to use for a general, all around cloth. I’m using for hair, but these settings are a good starting point for an object that is around 1/4 of the default grid area.

Density 1 to 4
Stiffness settings:
Stretch 4
Bend 2 (Stretch/2)
Shear 1 (Bend/2)

Damping settings:
.08
.04
.02
(again, subsequent settings are half of the previous)

Global damp: .000002

Gravity -.04

These settings work well for anything that stays well inside the grid, but is not too small.