Cloth simulation
 1-20  21-40  41-60  61-73

Previous
Next
 From:  ed (EDDYF)
6514.21 In reply to 6514.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Tommy (THOMASHELZLE)
6514.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
6514.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6514.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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6514.25 
Amazing!
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6514.26 
Yes! I did it! :)



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

P.P.S.

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
6514.27 In reply to 6514.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
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
6514.28 In reply to 6514.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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  wastzzz
6514.29 
Great, works really well. Is it possible in the future to use other objects than spheres?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
6514.30 In reply to 6514.26 
Absolutely awesome Max!

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

-
~Danny~
Image Attachments:
Size: 843 KB, Downloaded: 116 times, Dimensions: 1280x720px
Size: 716.4 KB, Downloaded: 102 times, Dimensions: 1280x720px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6514.31 
Very appetizing Danny
and bravo again Max the Wizard of Script Land!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6514.32 In reply to 6514.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 :)

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Marc (TELLIER)
6514.33 
Most impressive!

Marc
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6514.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!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6514.35 In reply to 6514.34 
Hi Pilou
You read my mind :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6514.36 In reply to 6514.35 
I am a medium! :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6514.37 
I am making the French version but have 2 questions! :)
http://moiscript.weebly.com/simulation-tissu.html

Where is this text who say to press Done for translate it?



and when I abort and relaunch the script with something selected i have this message
where is it for translate it?

EDITED: 15 Feb 2014 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6514.38 In reply to 6514.37 
>>Where is this text who say to press Done for translate it?
_Cloth.js, line 53

>>and when I abort and relaunch the script with something selected i have this message where is it for translate it?
_Cloth.js, line 13
(forgot to change this message)

I think you should shorten the labels. :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6514.39 In reply to 6514.38 
Thx for the infos! I had researched only on the HTM :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6514.40 
Seems I can't modify the JS file without this!

In what code I must save the modifications for have French accents ? Normally I use utf-8

Of course I see nothing like this when I read the line 1 before the // !

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-20  21-40  41-60  61-73