POV-Ray : Newsgroups : povray.binaries.animations : Cloth Simulator "Room" anim Server Time
20 Jul 2024 11:20:07 EDT (-0400)
  Cloth Simulator "Room" anim (Message 1 to 10 of 10)  
From: Andy Cocker
Subject: Cloth Simulator "Room" anim
Date: 9 Mar 2001 18:47:59
Message: <3aa96baf@news.povray.org>
Hi,

I'm not happy with this.. it didn't turn out at all like I'd hoped.. but
after re-rendering three times, I decided it was time to post it.

The cloth behaves as desired whilst it remains attatched to the rail (
notice how the door frame causes the cloth to fold sharply - very nice ),
but later it gets tangled up.

Basically, I created the anim by editing the POV script on-the-fly, entering
different 'wind' values and saving the .pov file in the editor, thus causing
POV to write the updated .cl file for the Post_Process Cloth step to
process.

I was going to post my code for this, but as it didn't turn out very well, I
don't know if it would help anyone - maybe you feel otherwise.

I'll keep on experimenting and hopefully things will improve as Jerome
updates the prog.

--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message


Attachments:
Download 'Door.mpg' (412 KB)

From: Tony[B]
Subject: Re: Cloth Simulator "Room" anim
Date: 9 Mar 2001 19:51:14
Message: <3aa97a82@news.povray.org>
Whoa! I've never seen cloth do that... are you trying to make it dance? :) I
don't care if it doesn't work like you wanted it, I just want to figure out
how you're doing it. TIA


Post a reply to this message

From: Nekar Xenos
Subject: Re: Cloth Simulator "Room" anim
Date: 10 Mar 2001 02:33:26
Message: <3aa9d8c6@news.povray.org>
Still great stuff.

I think it's Alladins magic carpet  ;-)

Nekar


Post a reply to this message

From: Andy Cocker
Subject: Re: Cloth Simulator "Room" anim
Date: 10 Mar 2001 08:45:29
Message: <3aaa2ff9@news.povray.org>
"Tony[B]" <ben### [at] catholicorg> wrote in message
news:3aa97a82@news.povray.org...
> Whoa! I've never seen cloth do that... are you trying to make it dance? :)
I
> don't care if it doesn't work like you wanted it, I just want to figure
out
> how you're doing it. TIA

No, actually, I was expecting the cloth to fall rapidly to the floor when I
removed the attatchments. I was then gonna blow it across the floor.
However, as you can see, when I released the cloth, it hardly fell at all,
so I introduced a wind blowing straight downwards. Then I changed the wind
direction to blow into the room from the corridor, and later to blow
directly upwards.

As you can see, when the wind blows into the room from the corridor, the
cloth twists around on itself, and from then on, the cloth seems to get
tangled up.

I'll tell you what, I'll work on a new simpler scene, and post the source
with instructions that explain what I'm doing. That ok? Expect something
soon.

--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message

From: Tony[B]
Subject: Re: Cloth Simulator "Room" anim
Date: 10 Mar 2001 11:23:36
Message: <3aaa5508@news.povray.org>
> No, actually, I was expecting the cloth to fall rapidly to the floor when
I
> removed the attatchments.

You would need to make it heavier then. And also maybe reduce the viscosity
of the air. You've seen my anim. It falls more or less quickly.

>I was then gonna blow it across the floor.

OK.

> As you can see, when the wind blows into the room from the corridor, the
> cloth twists around on itself, and from then on, the cloth seems to get
> tangled up.

That's odd.

> I'll tell you what, I'll work on a new simpler scene, and post the source
> with instructions that explain what I'm doing. That ok? Expect something
> soon.

Sure, sounds cool.


Post a reply to this message

From: Andy Cocker
Subject: Re: Cloth Simulator "Room" anim
Date: 10 Mar 2001 14:40:22
Message: <3aaa8326@news.povray.org>
"Tony[B]" <ben### [at] catholicorg> wrote in message
news:3aaa5508@news.povray.org...
> > No, actually, I was expecting the cloth to fall rapidly to the floor
when
> I
> > removed the attatchments.
>
> You would need to make it heavier then. And also maybe reduce the
viscosity
> of the air. You've seen my anim. It falls more or less quickly.

What do you mean "make it heavier"? There's the facility to do this in
Clothray, but not in Cloth Simulator I think. Possibly viscosity has
something to do with it (so many variables, not enough time to experiment
with them all :-( )  I think it's more to do with the -s step value that is
used to simulate time passed between frames. This has to be adjusted to
compliment wind speed etc. IMO, in your anim, things happened a little too
quickly. It is difficult to get it right though.. I often end up with slow
motion cloth.

> > As you can see, when the wind blows into the room from the corridor, the
> > cloth twists around on itself, and from then on, the cloth seems to get
> > tangled up.
>
> That's odd.


It is odd, as the wind was blowing directly along the z (y in Cloth) axis,
and the cloth was perpendicular to it, so no twisting should have occurred.

I suspect this is related to the bug that Jerome has possibly fixed, where
the cloth becomes attatched to the surface of a collision object, or, as has
just happened to me, becomes attatched to 'thin air'.


--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message

From: Tony[B]
Subject: Re: Cloth Simulator "Room" anim
Date: 10 Mar 2001 15:14:34
Message: <3aaa8b2a@news.povray.org>
>What do you mean "make it heavier"? There's the facility to do this in
>Clothray, but not in Cloth Simulator I think.

Look in the docs for "weight".

>IMO, in your anim, things happened a little too
>quickly. It is difficult to get it right though.

Looked fine to me. It all depends on the velocity of the wind. It fell
quickly enough, I think (mine).

> I suspect this is related to the bug that Jerome has possibly fixed, where
> the cloth becomes attatched to the surface of a collision object, or, as
has
> just happened to me, becomes attatched to 'thin air'.

Let's hope the new version helps. I'm hoping he improves the self-collision
a bit more.


Post a reply to this message

From: Andy Cocker
Subject: Re: Cloth Simulator "Room" anim
Date: 10 Mar 2001 16:04:45
Message: <3aaa96ed$1@news.povray.org>
"Tony[B]" <ben### [at] catholicorg> wrote in message
news:3aaa8b2a@news.povray.org...
> Look in the docs for "weight".

Sorry, yes you are quite right. That should help me. What weight settings
have you used? For what size cloth?

--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message

From: Tony[B]
Subject: Re: Cloth Simulator "Room" anim
Date: 10 Mar 2001 23:13:03
Message: <3aaafb4f@news.povray.org>
I've used 0.05 for a 72*44.


Post a reply to this message

From: bergerj
Subject: Re: Cloth Simulator "Room" anim
Date: 14 Mar 2001 11:35:13
Message: <3aaf9dc1$1@news.povray.org>
In article <3aaa96ed$1@news.povray.org>, "Andy Cocker"
<big### [at] mariner9fsnetcouk> wrote:

> "Tony[B]" <ben### [at] catholicorg> wrote in message
> news:3aaa8b2a@news.povray.org...
>> Look in the docs for "weight".
> 
> Sorry, yes you are quite right. That should help me. What weight
> settings have you used? For what size cloth?
> 
	You're right that it is incomplete. Version 0.4.0 fixes that.

		Jerome
-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.