POV-Ray : Newsgroups : povray.binaries.animations : Crazy cloth HA HA HA MPG1 Server Time
20 Jul 2024 03:33:36 EDT (-0400)
  Crazy cloth HA HA HA MPG1 (Message 9 to 18 of 18)  
<<< Previous 8 Messages Goto Initial 10 Messages
From: Rick [Kitty5]
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 06:14:31
Message: <3c4aa697$1@news.povray.org>
> I was in the quest to program the perfect algorithm, but.... I CREATED A
> MONSTER!!!
>
> ha ha ha...
>
> Before, my algorithm didn't consider the conservation of the cloth's
> velocity (in each vertex of the mesh), and I thought it should, and I
> rewrote major parts of my code to allow this. But obviously I did
something
> wrong, because this looks AWFUL!
>
> I hope I can be easily fixed...

I hope so - it looks so good to start with, very fluid.


--

Rick

Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From:
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 07:24:12
Message: <3c4ab6ec$1@news.povray.org>
*lool*
That's indeed a funny one.
For me, it looks like it repells from itself and the surface without any
loss of energy. It has no inner friction anymore, similar to a fluid. Maybe
a little bit of "rubber-cloth" *g*

regards
SY


Post a reply to this message

From: Fernando González del Cueto
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 12:59:23
Message: <3c4b057b@news.povray.org>
"Peter Popov" <pet### [at] vipbg> wrote in message
news:im4l4ugpvb45knh0ruj5b3p8s191lsk3gv@4ax.com...

> <fcu### [at] yahoocom> wrote:
>
> >Before, my algorithm didn't consider the conservation of the cloth's
> >velocity (in each vertex of the mesh), and I thought it should
>
> Err... it is energy that has to be conserved, and momentum, not
> velocity. Of course velocity will be conserved if there are no
> external forces, but then the animation will be rather dull, won't it
> :)

Hi Peter,

Tomas Lake made a similar observation, so I'm reposting my answer:
{
I did not expressed myself properly: I'm really not trying to conserve
the velocity. My first algorithm did an estimation of the motion directly
from the forces, not with the velocities. I thought that having explicitly
the velocities would improve the behaviour of the cloth.
}

After much struggling with the results obtained from this theory I believe I
will return to my old style simulation.

> If I were you, I'd use some sort of feedback to keep the energy and
> momentum of the system from growing beyond what is expected from the
> influence of external forces. You will thus eliminate most of the
> discrete integration errors, which are especially painful in the
> forward Euler, which I believe you use (everyone does on their first
> try at cloths :) )

Yes, I'm using forward Euler. Yesterday I gave a big thought on how to use
other solving methods, but I haven't implemented them. I hope I can find
some time to test these new ideas.

Thanks for your comments!

Fernando.


Post a reply to this message

From: Michael McKnight
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 17:24:15
Message: <3c4b438f@news.povray.org>
Okay, i don't even know what forward Euler is, but i'll give my intuitive
two cents and risk sounding like an idiot.  What if you multiplied the
velocity of the cloth by a constant x such that 0>x>1 every iteration, or
when the cloth is transmitting energy to itself, so to speak, you did the
same sort of thing?  It looks like it's retaining it all, never coming to
rest.  The initial rippling does have some realism to it, in a way that the
previous animations don't, maybe a fix of that sort would be an effective
middleground?.  in any case, it looks a whole lot like water, which is very
neat.  i like it, realistic or not.


news:3c4a2e8d@news.povray.org...
> I was in the quest to program the perfect algorithm, but.... I CREATED A
> MONSTER!!!
>
> ha ha ha...
>
> Before, my algorithm didn't consider the conservation of the cloth's
> velocity (in each vertex of the mesh), and I thought it should, and I
> rewrote major parts of my code to allow this. But obviously I did
something
> wrong, because this looks AWFUL!
>
> I hope I can be easily fixed...
>
> Fernando.
>


Post a reply to this message

From: Peter Popov
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 18:24:42
Message: <b7km4ucpbklpu7cgfadlbl7mfbj88e21b5@4ax.com>

<fcu### [at] yahoocom> wrote:

>Yes, I'm using forward Euler. Yesterday I gave a big thought on how to use
>other solving methods, but I haven't implemented them. I hope I can find
>some time to test these new ideas.

Try implicit Euler first, as its simplicity is next to that of the
explicit (forward) Euler method, though it's much more stable. I don't
know how this will affect cloths, I know it affects solids in a
realistic way, i.e. avoids unrealistic stress concentrations.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Fernando González del Cueto
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 21 Jan 2002 01:21:01
Message: <3c4bb34d@news.povray.org>
Hi Michael,

I'm glad you liked it, even though it was quite bizarre.

About your suggestion, I also thought of using a similar idea, in which I
would slowly "dampen" the velocity and loose that energy. However, (please
don't kill me) I don't remember very well what where the exact results of
this modification, but I do recall that it didn't solve the problem as I
wanted so I discarded it.

I'll post soon my latest experiments, which I think you will like.

Thanks for your ideas and comments!

Fernando.


Post a reply to this message

From: Jan Walzer
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 21 Jan 2002 07:18:42
Message: <3c4c0722@news.povray.org>
"Michael McKnight" <nes### [at] hotmailcom> wrote:
[...]
> velocity of the cloth by a constant x such that 0>x>1 every iteration, or
[...]                                             ^^^^^

ahem ???

--
[Talking about cardriving]
"People are opstacles?
Oh...I always treat them as bonus points..." [Ian Burgmyer in p.o-t]
// Jan Walzer <jan### [at] lzernet>


Post a reply to this message

From: Michael McKnight
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 22 Jan 2002 13:51:20
Message: <3c4db4a8$1@news.povray.org>
what?
sorry i emailed you on that one, i'm a bad OE user.

"Jan Walzer" <jan### [at] lzernet> wrote in message
news:3c4c0722@news.povray.org...
> "Michael McKnight" <nes### [at] hotmailcom> wrote:
> [...]
> > velocity of the cloth by a constant x such that 0>x>1 every iteration,
or
> [...]                                             ^^^^^
>
> ahem ???
>
> --
> [Talking about cardriving]
> "People are opstacles?
> Oh...I always treat them as bonus points..." [Ian Burgmyer in p.o-t]
> // Jan Walzer <jan### [at] lzernet>
>
>
>


Post a reply to this message

From: Jan Walzer
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 22 Jan 2002 14:16:26
Message: <3c4dba8a$1@news.povray.org>
"Michael McKnight" <nes### [at] hotmailcom> wrote:

> what?
[1]

> sorry i emailed you on that one, i'm a bad OE user.

yeah... it seems so ...
for the email-thingie: You know, that you can customize the toolbars for news
independant...
I, for myself, deleted the ReplyToAuthor-Button, so it won't happen again ...

The other thing with outlook is, that it places the cursor at the top, and
cites the
whole message:

But for us humans is should be possible, even to correct this. Simply go down
with the
cursor, and delete every line, in between, that has nothing to do, with the
answer,
you're 'bout to write.

If you want to answer a special sentence, feel free to do so, in between.

Sorry, if you already knew this, but I think it was worth to mention... no
flames intended


> > > velocity of the cloth by a constant x such that 0>x>1 every iteration,
> or
> > [...]                                             ^^^^^
> >
> > ahem ???


[1] I'd prefer to write 0 < x < 1 ... (because 0 < 1, you see ?)

--
[Talking about cardriving]
"People are opstacles?
Oh...I always treat them as bonus points..." [Ian Burgmyer in p.o-t]
// Jan Walzer <jan### [at] lzernet>


Post a reply to this message

From: Michael McKnight
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 28 Jan 2002 16:19:54
Message: <3c55c07a@news.povray.org>
> Sorry, if you already knew this, but I think it was worth to mention... no
> flames intended

no problem, i'm really not feeling the heat.  :)

> [1] I'd prefer to write 0 < x < 1 ... (because 0 < 1, you see ?)

wow, i didn't even catch that.  i suppose i should pay more attention.


Post a reply to this message

<<< Previous 8 Messages Goto Initial 10 Messages

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