POV-Ray : Newsgroups : povray.binaries.animations : Re: I need a clue for an efficient cloth to cloth collision detection : Re: I need a clue for an efficient cloth to cloth collision detection Server Time
2 Nov 2024 05:18:44 EDT (-0400)
  Re: I need a clue for an efficient cloth to cloth collision detection  
From: Apache
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

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