POV-Ray : Newsgroups : povray.binaries.animations : Re: I need a clue for an efficient cloth to cloth collision detection Server Time
2 Nov 2024 07:25:36 EDT (-0400)
  Re: I need a clue for an efficient cloth to cloth collision detection (Message 1 to 9 of 9)  
From: Apache
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 1 Jul 2002 17:35:02
Message: <3d20cb06$1@news.povray.org>
First of all: the animation doesn't show me any movements.

It's pretty simple: put springs between cloth particles that are too near
eachother. Those springs are only capable of pushing away particles
(otherwise the cloth will stick onto itself). And to get some more
efficiency when checking if particles that are too close you should divide
the space where the cloth is in small boxes. Then a particle can only be too
near another particle that is in the same box or in an adjecent one. I did
some cloth tests and put them on http://geitenkaas.dns2go.com/experiments/.
If you want to see some anims that show those boxes, try
http://geitenkaas.dns2go.com/experiments/cloth06test2bounds_640x480.mpg
(2,188,290 bytes) or
http://geitenkaas.dns2go.com/experiments/cloth06test2bounds_640x480.divx.avi
(2,085,128 bytes).

--
Apache
POV-Ray Cloth experiments: http://geitenkaas.dns2go.com/experiments/
Email: apa### [at] yahoocom
ICQ: 146690431


Post a reply to this message

From: Peter Hertel
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 2 Jul 2002 07:03:36
Message: <3d218888@news.povray.org>
> First of all: the animation doesn't show me any movements.

As told by Rune, installing DivX 5.0.2 makes it move..

-Peter


Post a reply to this message

From: Zeger Knaepen
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 2 Jul 2002 08:00:11
Message: <3d2195cb@news.povray.org>
"Peter Hertel" <peter@hertel**NOSPAM**.no> schreef in bericht
news:3d218888@news.povray.org...
> > First of all: the animation doesn't show me any movements.
> As told by Rune, installing DivX 5.0.2 makes it move..
Can someone tell me why I had no problem playing it, while I only have DivX4.02
?

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: Apache
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 2 Jul 2002 11:32:21
Message: <3d21c785$1@news.povray.org>
Seems that installing DivX 5.0.2 without that nagging GAIN stuff is
impossible? Or how can I remove GAIN afterwards?

--
Apache
POV-Ray Cloth experiments: http://geitenkaas.dns2go.com/experiments/
Email: apa### [at] yahoocom
ICQ: 146690431


Post a reply to this message

From: Andrew Cocker
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 2 Jul 2002 11:52:06
Message: <3d21cc26@news.povray.org>
"Apache" <apa### [at] yahoocom> wrote in message
news:3d21c785$1@news.povray.org...
> Seems that installing DivX 5.0.2 without that nagging GAIN stuff is
> impossible? Or how can I remove GAIN afterwards?

http://forum.doom9.org/showthread.php?s=a59400c5c3be2bd549c78c33b84cfe8a&thr
eadid=19583

All the best,

Andy Cocker


Post a reply to this message

From: Apache
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 2 Jul 2002 18:05:48
Message: <3d2223bc$1@news.povray.org>
Thanks alot!!

--
Apache
POV-Ray Cloth experiments: http://geitenkaas.dns2go.com/experiments/
Email: apa### [at] yahoocom
ICQ: 146690431


Post a reply to this message

From: Martin Magnusson
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 3 Jul 2002 05:57:23
Message: <3d22ca83@news.povray.org>
> But I mainly need to detect cloth to cloth clollision, and I still wonder
> how to start.

Check out MIRALab's site:

http://miralabwww.unige.ch

Look around under Research/Papers.

/ Martin


Post a reply to this message

From: Tom Bates
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 3 Jul 2002 13:00:23
Message: <3d232da7@news.povray.org>
"Zeger Knaepen" <zeg### [at] studentkuleuvenacbe> wrote in message
news:3d2195cb@news.povray.org...
> "Peter Hertel" <peter@hertel**NOSPAM**.no> schreef in bericht
> news:3d218888@news.povray.org...
> > > First of all: the animation doesn't show me any movements.
> > As told by Rune, installing DivX 5.0.2 makes it move..
> Can someone tell me why I had no problem playing it, while I only have DivX4.02
> ?

It seems that 4.02 worked just fine.
Then came 5.00 which added some nice things, but seems to have some bugs.
5.02 apparently works again.

>
> cu!
> --
> camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
> ;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
> ;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
> <.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf
>
>

Thomas 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} //Tom Bates


Post a reply to this message

From: Zeger Knaepen
Subject: Re: I need a clue for an efficient cloth to cloth collision detection
Date: 3 Jul 2002 21:42:14
Message: <3d23a7f6$1@news.povray.org>
> > > As told by Rune, installing DivX 5.0.2 makes it move..
> > Can someone tell me why I had no problem playing it, while I only have
DivX4.02
> > ?
> It seems that 4.02 worked just fine.
> Then came 5.00 which added some nice things, but seems to have some bugs.
> 5.02 apparently works again.
That would explain it...  But at home, I have 4.12, and there I couldn't see
it...?  I would expect 4.12 to be better than 4.02

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

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