POV-Ray : Newsgroups : povray.binaries.animations : first tests with 4th order RK (clothing) : Re: first tests with 4th order RK (clothing) Server Time
19 Jul 2024 21:33:12 EDT (-0400)
  Re: first tests with 4th order RK (clothing)  
From: Apache
Date: 26 Feb 2002 19:12:06
Message: <3c7c2456@news.povray.org>
This is just a first test. In more 'serious' scenes I won't fix cloth at
just a few single nodes. But still I want to get rid of that 'about to
break' problem. The first solution I can think of is decreasing the step
size and increasing the stiffness of the springs.
The animation I submitted before used timesteps of 0.04 and 20 steps per
frame. The animation with this message uses timesteps of 0.08 and 10 steps
per frame.
Both sheets are 50x50 nodes (or atoms).

As you can see the sheet of the new animation (cloth07test4, the one
attached to this message) needs more time to settle down and the sheet is
more flexible. That's caused by the larger time step. Maybe using 5th or 6th
order Runge-Kutta would even improve the thing more? So my next question
would be: I would like to know HOW them people (mister Runge and mister
Kutta?) got to that Runge-Kutta algorithm.

A part of the R-K algorithm: Vnew = Vold + (K1+ 2*K2 + 2*K3 + K4) / 6
Why oh why wouldn't it be Vnew = Vold +(K1 + 3*K2 + 2*K3 + K4) / 8 or
something else? Maybe someone told/taught it me some time ago when I wasn't
paying attention. If I know how them people got that formula, I would be
able to get higher order algorithms by myself.

Apache
http://geitenkaas.dns2go.com/experiments/


Post a reply to this message


Attachments:
Download 'cloth07test4_320x240.mpg' (547 KB)

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