MoI discussion forum
MoI discussion forum

Full Version: Cloth simulation

Show messages:  1-15  16-35  36-55  56-73

From: Tommy (THOMASHELZLE)
11 Feb 2014   [#16]
Brilliant! :-)
From: Max Smirnov (SMIRNOV)
11 Feb 2014   [#17]
Hello!
Today I've started to making the interface.


I don't know when I'll finish it. I'm very busy at work.
Maybe this weekend.. Maybe later.
From: BurrMan
11 Feb 2014   [#18] In reply to [#17]
Insane Max....... Cant wait to try it!
From: Denis (SPACELAND)
11 Feb 2014   [#19]
Simply amazing, great work.
From: Mike K4ICY (MAJIKMIKE)
12 Feb 2014   [#20]
Holy mother of pearl!

Oh... there are going to be possibilities. ;-)




So! Will there be a 'pause' or 'reverse' of some sort? Would you be able to affect it by a chosen object; like the sphere being moved into it?
And yes, rigidity or tensile viscosity would be a nice touch too, but never mind me, I've been amazed at your result and can't wait to play with the final script.
From: ed (EDDYF)
12 Feb 2014   [#21] In reply to [#20]
I had similar thoughts Mike.

How do you freeze the "cloth" where you want it? Can you single-step through the "animation" and save the desired shape?

Can you output obj files of each step (frame) of the animation? Programs like Element 3D will accept obj sequences and render.

Can you affect the weight or damping of the cloth? That is, can you vary how many wrinkles are produced?

Can you deform anything other than a flat surface? That is, could two spheres collide and leave a dent?

Have you considered a variation of the script to produce ocean water?

This is fantastic work. I'm anxious to try it.

Ed
From: Tommy (THOMASHELZLE)
12 Feb 2014   [#22]
Now that looks like a lot of fun!
Should allow for some nice "relaxing" of surfaces.

Yeah, some control over stretchyness could be helpful and a single-step-mode too to catch the perfect frame...

MoI is starting to really grow up with all the cool scripts you guys are doing!
I never even realized what's possible...

Cheers,

Tom
From: bemfarmer
12 Feb 2014   [#23]
How about reversing the process?
Think of the Sphere as a sculpting tool, the cloth as a portion of a 3D surface.
So the Sphere would make dimples or rounded grooves in the surface.

- Brian
From: Max Smirnov (SMIRNOV)
12 Feb 2014   [#24]
Hi!
Here is my quick answers :)

Mike
>>Would you be able to affect it by a chosen object; like the sphere being moved into it?
Maybe in next version, but not now.

>>And yes, rigidity or tensile viscosity would be a nice touch too
It's impossible with the current engine. I will rewrite it later.

ed
>>Can you output obj files of each step (frame) of the animation?
I don't know. Need to check MoI export tools.

>>Can you affect the weight or damping of the cloth? That is, can you vary how many wrinkles are produced?
Yes. Yes. Already done.

>>Can you deform anything other than a flat surface? That is, could two spheres collide and leave a dent?
Surfaces only.

Tommy
>>Yeah, some control over stretchyness could be helpful..
Done.

>>..and a single-step-mode too to catch the perfect frame...
I'm writing it now.

bemfarmer
>>How about reversing the process?
All frames will be saved. You can rewind the record.

>>Think of the Sphere as a sculpting tool, the cloth as a portion of a 3D surface.
Maybe later.
From: Frenchy Pilou (PILOU)
13 Feb 2014   [#25]
Amazing!
From: Max Smirnov (SMIRNOV)
14 Feb 2014   [#26]
Yes! I did it! :)



P.S. Sorry, I'm tired now, so I'll write about this script tomorrow.

P.P.S.

From: Michael Gibson
14 Feb 2014   [#27] In reply to [#26]
Wow Max that is so super cool!

My favorite part is being able to scrub through all the generated frames at the end!



The spheres are pretty slippery!

- Michael

Image Attachments:
clothsim.gif 


From: BurrMan
15 Feb 2014   [#28] In reply to [#27]
"""My favorite part is being able to scrub through all the generated frames at the end!"""""""""

Should be able to do the screencapture on all those frames for a sequential animation!!!! It "IS" very cool.

Thanks Max.
From: wastzzz
15 Feb 2014   [#29]
Great, works really well. Is it possible in the future to use other objects than spheres?
From: DannyT (DANTAS)
15 Feb 2014   [#30] In reply to [#26]
Absolutely awesome Max!

Here's a quick model and render using the Cloth and vSpray scripts :)

-

Image Attachments:
Doughnut_01.jpg  Doughnut_02.jpg 


From: Frenchy Pilou (PILOU)
15 Feb 2014   [#31]
Very appetizing Danny
and bravo again Max the Wizard of Script Land!
From: Max Smirnov (SMIRNOV)
15 Feb 2014   [#32] In reply to [#30]
Hi Danny,
I'm impressed, looks great!

wastzzz
>>>Great, works really well. Is it possible in the future to use other objects than spheres?
I tested this script with other simple shapes (cubes, cylinders), but I am not satisfied with the quality. A cloth stretched over sharp edges looks really bad.
Also I tested it with complex curved shapes. It works, but veeeerrrrry sloooooow...... I need a fast algorithm for collision detection between points and surfaces.
BTW, Don't forget that you can use a lot of spheres :)

From: Marc (TELLIER)
15 Feb 2014   [#33]
Most impressive!

Marc
From: Frenchy Pilou (PILOU)
15 Feb 2014   [#34]
Hello Max

When you select points does it possible to have a "circular selection" ?
It's possible by hands with your script but it's some tiedous! :)

And will be very useful in many other cases than your script ! ;)

Have happy coding!
From: Max Smirnov (SMIRNOV)
15 Feb 2014   [#35] In reply to [#34]
Hi Pilou
You read my mind :)

Show messages:  1-15  16-35  36-55  56-73