![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Another example of my cloth simulator...
Two notes:
* it's probably still a bit stiff but to get something better, I'd have
to increase the resolution with the corresponding increase in time :-(
* the simulator doesn't stop when nothing moves, but rather after a
certain number of simulation steps. I think in this case it hadn't
finished which is why the net seems to hang in mid-air on the right...
--
* Abandon the search for truth, * mailto:ber### [at] iname com
* Settle for a good fantasy. * http://www.enst.fr/~jberger
*********************************
Post a reply to this message
Attachments:
Download 'net.jpg' (28 KB)
Preview of image 'net.jpg'
![net.jpg](/povray.binaries.images/attachment/%3C3A110A14.E388E108%40tapasmail.net%3E/net.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
That is very impressive, what are you doing the simulating with??
--
Rick
Kitty5 WebDesign - http://www.kitty5.com
TEL - +44 (01625) 266358 : FAX +44 (01625) 611913
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>
> Another example of my cloth simulator...
>
> Two notes:
> * it's probably still a bit stiff but to get something better, I'd have
> to increase the resolution with the corresponding increase in time :-(
> * the simulator doesn't stop when nothing moves, but rather after a
> certain number of simulation steps. I think in this case it hadn't
> finished which is why the net seems to hang in mid-air on the right...
>
That looks neat, still a mesh ?
You seem to be right about the unfinished calculation on the right side,
although it's also a difficult case in real world. If i understand things
right it's probably not that problematic to add some kind of 'unfinished
warning' to the program.
If it's an external program, i wonder what kind of shapes it can handle
for draping the cloth onto.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Rick [Kitty5]" wrote:
>
> That is very impressive, what are you doing the simulating with??
I wrote a C++ program to do the simulation
--
* Abandon the search for truth, * mailto:ber### [at] iname com
* Settle for a good fantasy. * http://www.enst.fr/~jberger
*********************************
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Christoph Hormann wrote:
>
> That looks neat, still a mesh ?
>
Still a mesh, with a combination of two gradients as a pigment to give
the illusion of a net
> You seem to be right about the unfinished calculation on the right side,
> although it's also a difficult case in real world. If i understand things
> right it's probably not that problematic to add some kind of 'unfinished
> warning' to the program.
>
Right, I'll probably do this
> If it's an external program, i wonder what kind of shapes it can handle
> for draping the cloth onto.
>
Right now, it can handle any number of cylinders in any position, any
number of boxes whose sides are parallel to the axis and an horizontal
plane at any given altitude. It's not very difficult to add new shapes,
but those are all I need for the moment...
--
* Abandon the search for truth, * mailto:ber### [at] iname com
* Settle for a good fantasy. * http://www.enst.fr/~jberger
*********************************
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>
> Right now, it can handle any number of cylinders in any position, any
> number of boxes whose sides are parallel to the axis and an horizontal
> plane at any given altitude. It's not very difficult to add new shapes,
> but those are all I need for the moment...
>
A 'heightfield' would probably be useful, one could generate it from any
complicated shape with povray and it would work in nearly all cases.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Right now, it can handle any number of cylinders in any position, any
> number of boxes whose sides are parallel to the axis and an horizontal
> plane at any given altitude. It's not very difficult to add new shapes,
> but those are all I need for the moment...
An idea : using the "trace" function to "scan" the geometry below the
cloth piece, and use the resulting height data into your utility...
Fabien.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3A112510.9DB97405@skynet.be>, Fabien Mosen
<fab### [at] skynet be> wrote:
> An idea : using the "trace" function to "scan" the geometry below the
> cloth piece, and use the resulting height data into your utility...
Or just render an image from above the scene and use the depth
post_process...
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Chris Huff wrote:
>
> Or just render an image from above the scene and use the depth
> post_process...
>
Or a gradient pigment with black/white color_map and
finish { ambient 1 diffuse 0 ) combined with an orthographic camera.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Pretty. From what you're saying about increasing resolution, it sounds like
you're not using the Provot method, but rather the Elias method... The
latter is slower and the first doesn't need increases in resolution to lower
stiffness. You merely change a variable or two.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |