POV-Ray : Newsgroups : povray.binaries.animations : Re: Creases in the cloth (MPEG1) : Re: Creases in the cloth (MPEG1) Server Time
19 Jul 2024 13:33:21 EDT (-0400)
  Re: Creases in the cloth (MPEG1)  
From:
Date: 15 Nov 2002 02:14:46
Message: <3dd49ee6@news.povray.org>
Hi Andrew,

Yes, I think I was able to reduce the rubbery look by setting the "spring
tension" quite high and using a 4th order ODE solver. It is supposed to get
better when one uses stiffer springs, but it also causes numerical
instability.

I'm glad you think it looks realistic. Thanks!

The simulation is coded in C, compiled with Intel C++ Compiler (whoa, it
makes FAST code) and rendered with POV 3.5

I made the code quite flexible to accept many shapes of cloth, but
obviously, the rectangle is the easiest to implement.

Thanks again,

Fernando.



news:3dd2ff25@news.povray.org...
> Wow! Although this exhibits slightly the unfortunate 'rubbery' look of
most CG cloths I've
> seen, I actually forgot for a moment that I was looking at CG cloth, and
was just enjoying the
> way it was undulating and slipping along the floor.
>
> Do you know what's causing the rubberiness, and do you think you'll be
able to overcome it? I
> think you have almost achieved realistic cloth.
>
> Is this in Pov SDL? I hope you will be sharing your code/software at some
stage.
>
> All the best,
>
> Andy Cocker
>

> news:3dd2f8e3@news.povray.org...
> > In this time, I used a semi-fine mesh (33x45 cells)
> >
> > - timestep size : 1e-4 seconds per step
> > - 600 frames, about 300,000 steps, that's about 500 steps per frame
> > - simulation time : about 1 hour (about 6 seconds per frame)
> > - render time:  7.5 hours
> > - machine used Pentium4 1.8ghz, 256Mb
> > - no cloth-cloth collision detection
> >
> > I used an area light and a spotlight to enhance the appearance of the
> > creases in the cloth. A very slight constant wind, I can't perceive it
> > though.
> >
> > Not an awfully complex animation, but I wanted to know how the cloth
behaves
> > when compressed and moved around.
> >
> > I hope you like it and I'll be happy to receive any
comments/suggestions.
> >
> > Fernando.
> >
> >
> >
>
>


Post a reply to this message

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