MoI discussion forum
MoI discussion forum

Full Version: Cloth simulation

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

From: Frenchy Pilou (PILOU)
15 Feb 2014   [#36] In reply to [#35]
I am a medium! :)
From: Frenchy Pilou (PILOU)
15 Feb 2014   [#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?

From: Max Smirnov (SMIRNOV)
15 Feb 2014   [#38] In reply to [#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. :)
From: Frenchy Pilou (PILOU)
15 Feb 2014   [#39] In reply to [#38]
Thx for the infos! I had researched only on the HTM :)
From: Frenchy Pilou (PILOU)
15 Feb 2014   [#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 // !


From: Michael Gibson
15 Feb 2014   [#41] In reply to [#40]
Hi Pilou,

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

The mechanism that loads text files like the .js file knows how to load either ascii files or UTF-16 (little endian), so possibly UTF-16 could work.

- Michael
From: Max Smirnov (SMIRNOV)
15 Feb 2014   [#42] In reply to [#40]
I always use utf-8.
I just checked this file in hex editor - everything is correct.
Try to use /* comment */ instead of // comment, or erase this line at all.
From: Michael Gibson
15 Feb 2014   [#43] In reply to [#42]
utf-8 is equivalent to ascii if there is no "byte order mark" at the start of the file and only uses ascii characters in it.

If you need to use non-ascii characters in a script, try saving it as UTF-16 little endian with byte order mark, the text file loader knows how to load that type of unicode text file.

- Michael
From: Frenchy Pilou (PILOU)
15 Feb 2014   [#44]
utf-16 seems works !


From: Michael T. (MICTU_UTCIM)
19 Feb 2014   [#45]
Wow Max! Great to then use Network on the curves, and shell for thickness! This is truly cool! Thank you so much!



Michael T.

Image Attachments:
Cloth-Drape.jpg 


From: Max Smirnov (SMIRNOV)
19 Feb 2014   [#46]
New version of the script will be released soon :)


[added] three different types of constraints ( version 0.8 - one type )
[added] flexibility control
[added] increased precision of the cloth structure calculation ( upto 20 iterations per frame. version 0.8 - one iteration)

P.S. This weekend, I hope.
From: Tommy (THOMASHELZLE)
20 Feb 2014   [#47] In reply to [#46]
Cool! :-)
From: Rich_Art
21 Feb 2014   [#48] In reply to [#46]
Nice to see cloth simulation outside Cinema4D as well. :-)

Peace,
Rich_Art. ;-)
From: Max Smirnov (SMIRNOV)
21 Feb 2014   [#49]
The new version (v0.95). Even earlier than planned :)

[added] three different types of constraints ( version 0.8 - one type )
[added] flexibility control
[added] increased precision of the cloth structure calculation ( upto 20 iterations per frame. version 0.8 - one iteration)
[added] Frame skipping slider (allows to skip frame updating during calculations)

I know about this problem. I'll try to fix it in the next version.


Update (v0.96):
[added] Lock anchor points checkbox (the problem described above is partially solved)
From: Frenchy Pilou (PILOU)
21 Feb 2014   [#50] In reply to [#49]
Very convincing result!
Seems this always only spheres ?
But seems you have had some parameters! :)
From: Max Smirnov (SMIRNOV)
21 Feb 2014   [#51] In reply to [#50]
At this moment only spheres and donuts :)).. But I plan to add a new obstacle type - triangles. :)
From: Frenchy Pilou (PILOU)
21 Feb 2014   [#52] In reply to [#51]
Seems donut's don't stop cloth! ( a circle sweeping on a circle)



French Version :) http://moiscript.weebly.com/simulation-tissu.html


From: Max Smirnov (SMIRNOV)
21 Feb 2014   [#53] In reply to [#52]
Hint: you can use more than one sphere :)
Use spheres to build a donut.


P.S. Thank you very much for the translation. But you definitly need to enlarge sliders. It's impossible to use the script with such small sliders.
From: Frenchy Pilou (PILOU)
21 Feb 2014   [#54] In reply to [#53]
Ah ok for the trick of the donuts :)

<< But you definitly need to enlarge sliders.
Seems sufficient as you can enter any number on the right's case! :)
And in French words are often more longer than English!

PS What render do you use for your gorgeous images ?

Pss Seems I have a problem!
Gride is exploded when arrive on the spheres!
In fact Spheres were not enough big but curious as they were more bigest than a square of the gride!
Seems sphere must be twice bigger than a "square" of the gride ?

Here gride passes away but the square is smaller than the sphere!



here that works because spheres are biggest :)



Possibilities are endless! :)
(cool your CommandBar Lighting + Dinos for put some car plastic lights! :)


From: Max Smirnov (SMIRNOV)
22 Feb 2014   [#55] In reply to [#54]
Hi Pilou

>>Seems sufficient as you can enter any number on the right's case! :)
Not any number. Constraints settings can be changed with sliders only.

>>What render do you use for your gorgeous images ?
Octane render (http://render.otoy.com/)

>>Seems sphere must be twice bigger than a "square" of the gride ?
It depends of Timestep value.


Also you can try to increase Shear value to reduce flexibility.

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