POV-Ray : Newsgroups : povray.binaries.images : cloth simulation (17+18+18k) : cloth simulation (17+18+18k) Server Time
23 Apr 2024 21:41:41 EDT (-0400)
  cloth simulation (17+18+18k)  
From: Christoph Hormann
Date: 11 Oct 2002 09:57:25
Message: <3DA6D8C4.638BAA65@gmx.de>
I implemented collision detection not requiring a function based
environment in my mechanics simulation system.  It's based on intersection
tests in movement direction like in clothray and is of course much more
limited than the function based system but it seems quite usable in many
situations.  There are serious problems though with shapes not having a
defined interior since there is no way making sure the masses don't
penetrate such a surface. 

As said in another thread in this group i also tried simulating more
complex cloth objects sewed from rectangular patches.  The attached 3
pictures show a simple T-Shirt created with this method.  

First the elements of the shirt are created at appropriate positions
around the body.  This placement is critical because after the parts are
sewed in these positions using short length connections the cloth geometry
is relaxed using a gradient descent method.  If the patches are not placed
well parts of the body will stick out through the seams afterwards.

After that a normal simulation is calculated (about 10 minutes in this
case) Here the collar was the critical part since the stress due to
gravity extended the connections so much that the cloth vanished behind
the body shape between the nodes (although the calculations prevent the
nodes themselves to penetrate the environment).  Another difficulty are
the seams.  They don't have any bending stiffness right now so they tend
to fold when they should not.  Adding this is of course possible but will
involve more work.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message


Attachments:
Download 'cloth1_created.jpg' (17 KB) Download 'cloth1_relaxed.jpg' (18 KB) Download 'cloth1_final.jpg' (18 KB)

Preview of image 'cloth1_created.jpg'
cloth1_created.jpg

Preview of image 'cloth1_relaxed.jpg'
cloth1_relaxed.jpg

Preview of image 'cloth1_final.jpg'
cloth1_final.jpg


 

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