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

Next
 From:  Max Smirnov (SMIRNOV)
6514.1 
This will be my next script ;)
Tomorrow I'll think about interface. Do you have any ideas or advices?





EDITED: 9 Feb 2014 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:  BurrMan
6514.2 In reply to 6514.1 
The only thing that comes to mind is a holy smokes 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:  DannyT (DANTAS)
6514.3 In reply to 6514.1 
Are you pulling our leg Max!? because it would be cruel giving us false hope ;) Is that even possible in MoI? I'm confused?

Looks great BTW.

-
~Danny~
  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.4 
http://cg.alexandra.dk/2009/06/02/mosegaards-cloth-simulation-coding-tutorial/

A mere 580+ lines of C++ code :-)
How much JavaScript code would that take?

Then turn it into Nurbs?

- Brian

Some verlet integration in javascript?
http://www.cores2.com/blog/?p=244
  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.5 
So I'm guessing, calculate a lot of points, at some density, ?
Turn the points into curves, like a fishing net with square holes?
Apply Network command?
  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.6 In reply to 6514.1 
Really cool Max, looks like you're having a lot of fun!

Re: interface - not sure what tips to give on that yet without knowing more details - is the movement of the ball something that's happening in the simulation code as well or is that responding to mouse movements?

I guess first thing that comes to mind with what you're showing there is something to control the grid density of the cloth?

- Michael
  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.7 
I did a little reading, based upon google search of "verlet integration cloth simulation," and found lots of good sites with excellent information.

Select collision object(s), i.e. the sphere.
Cloth width.
Cloth height.
Grid density, or vertex distance.
Vertex "marble" distance, to prevent self intersection.
Attachment points, if any, i.e. 2 corners.

http://graphics.stanford.edu/~mdfisher/cloth.html

Another site explained collision.

- 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.8 
Hi guys!

DannyT
>>Is that even possible in MoI?
Yes, it's possible. And it works even faster than I thought before.

bemfarmer
>>How much JavaScript code would that take?
I used three.js javascript library. It's so big! I need to clean all unused functions.
At the moment the code size is about 2000 lines. :)

>>So I'm guessing, calculate a lot of points, at some density, ?
I think 40x40 points will be enouth.

Michael Gibson
>>is the movement of the ball something that's happening in the simulation code as well or is that responding to mouse movements?
In the first video the ball movement was predefined. But it's possible to control it manually.


bemfarmer
In fact it's very easy. Really. Very simple mathematics.
>>Turn the points into curves, like a fishing net with square holes?Apply Network command?
Exactly! :)

EDITED: 10 Feb 2014 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:  bigseb
6514.9 
Not sure if this is helpful but Blender can also do a cloth simulation thing...

http://www.youtube.com/watch?v=2zd1AI198I8
  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:  Rich_Art
6514.10 In reply to 6514.8 
That is really cool...

Peace,
Rich_Art. ;-)

| C4DLounge.eu | Our Dutch/Belgium C4D forum. |
  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:  TpwUK
6514.11 In reply to 6514.9 
Hi Sebastian, that's just it, there are plenty of poly modelling apps that do cloth sims, but this is first I have seen of it in NURBS, so unless anyone knows different, this is going to be unique to MoI.

Martin Spencer-Ford
  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.12 
Will the user be able to select a "bending stiffness" for the cloth?

Will there be a "Hair" mode ? :-)

- 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.13 In reply to 6514.12 
Hi Brian
>>Will the user be able to select a "bending stiffness" for the cloth?
Afraid not. At least not in the first release.
  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:  Mauro (M-DYNAMICS)
6514.14 In reply to 6514.11 
TpwUK
<<Hi Sebastian, that's just it, there are plenty of poly modelling apps that do cloth sims, but this is first I have seen of it in NURBS, so unless anyone knows different, this is going to be unique to MoI.>>

Agree with you Martin
I understand also Sebastian's point of wiew:he belong to other branch of MOI's users:molders,cnc,3dprinters..for them this stuff could be not necessary

anyway Max that's amazing !! I also saw- Moi3d camera- on your youtube...we have to expect this too??...all for free..?? :) :)
  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.15 
Can't wait to try it out. Thanks for your contribute! About interface.. Uhm, guess you could type in the name (group) of the colliding objects, that would make it easy
  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.16 
Brilliant! :-)
  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.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.
  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.18 In reply to 6514.17 
Insane Max....... Cant wait to try it!
  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:  Denis (SPACELAND)
6514.19 
Simply amazing, great work.
[Denis]

| Coreldraw X6 | Moi v2 | Cinema 4D R15 Prime | Daz Carrara Pro 8.5 |
| Intel Core i7-930 | GeForce GTX-660 |

http://spaceland.cgsociety.org/
  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:  Mike K4ICY (MAJIKMIKE)
6514.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.

EDITED: 11 Feb 2014 by MAJIKMIKE

  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