POV-Ray : Newsgroups : povray.binaries.animations : Crazy cloth HA HA HA MPG1 Server Time
20 Jul 2024 01:27:46 EDT (-0400)
  Crazy cloth HA HA HA MPG1 (Message 1 to 10 of 18)  
Goto Latest 10 Messages Next 8 Messages >>>
From: Fernando González del Cueto
Subject: Crazy cloth HA HA HA MPG1
Date: 19 Jan 2002 21:42:21
Message: <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


Attachments:
Download 'newcloth12_telaloca.m1v.mpg' (210 KB)

From: Thomas Lake
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 19 Jan 2002 22:35:35
Message: <3c4a3b07$1@news.povray.org>
> 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!

Conservation of velocity? Perhaps this has something to do with this type of
simulation, which I know nothing about, but velocity isn't conserved in the
real world, momentum is though. Or perhaps I should shutup before I make a
fool of myself?:-)


Post a reply to this message

From: JPGargoyle
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 19 Jan 2002 23:08:48
Message: <3c4a42d0$1@news.povray.org>
LoooooooL

This is a really funny one he he he :))

A nervous cloth ;))


Best regards


Post a reply to this message

From: Tom Bates
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 19 Jan 2002 23:48:27
Message: <3c4a4c1b$1@news.povray.org>
That's some wind.

It may not be what you were aiming for, but I find that it's still impressive
in that the integrity of the fabric is maintained, and also, in all its
writhing,
it doesn't pass through itself.

--
Tom Bates
#macro T(B)#local m=mod(B,8);#local B=floor(B/8);m#end#local C=126981491245202;#
local D=115694168992822;sphere_sweep{b_spline 16#local i=0;#while(i<16)<T(C)-4,T
(D)-4,10-i/10>.1#local i=i+1;#end pigment{rgb 1}}light_source{-10,1} file://Tom
Bates


Post a reply to this message

From: Tony[B]
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 00:29:39
Message: <3c4a55c3@news.povray.org>
It's as if it kept all the energy it had instead of it fazing out. I must
also say that I'm impressed at the lack of cross-through.


Post a reply to this message

From: Fernando González del Cueto
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 01:11:37
Message: <3c4a5f99@news.povray.org>
"Tony[B]" <ben### [at] catholicorg> wrote in message
news:3c4a55c3@news.povray.org...
> It's as if it kept all the energy it had instead of it fazing out. I must
> also say that I'm impressed at the lack of cross-through.

Well... I'm sorry to dissapoint you but it's pure luck that it doesn't
appear to cross-through, as the algorithm doesn't have those kind of
routines...

I believe it must not be easy to implement that, and would increase the
order of complexity very very much, as it would have to check for
intersections.

Sorry :(

Fernando.


Post a reply to this message

From: Fernando González del Cueto
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 01:45:43
Message: <3c4a6797$1@news.povray.org>
"Thomas Lake" <tla### [at] homecom> wrote in message
news:3c4a3b07$1@news.povray.org...
> > 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!
>
> Conservation of velocity? Perhaps this has something to do with this type
of
> simulation, which I know nothing about, but velocity isn't conserved in
the
> real world, momentum is though. Or perhaps I should shutup before I make a
> fool of myself?:-)

I think I did not describe it 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.

I'm still working on this... I'm not sure if it will be helpful.

Thanks for your comments,

Fernando.


Post a reply to this message

From: Peter Popov
Subject: Re: Crazy cloth HA HA HA MPG1
Date: 20 Jan 2002 04:55:51
Message: <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
:)

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 :) )


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


Post a reply to this message

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

Goto Latest 10 Messages Next 8 Messages >>>

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