POV-Ray : Newsgroups : povray.advanced-users : Runge-Kutta : Re: Runge-Kutta Server Time
28 Jul 2024 12:28:03 EDT (-0400)
  Re: Runge-Kutta  
From: scott
Date: 22 Aug 2005 05:54:52
Message: <4309a0ec@news.povray.org>
Orchid XP v2 wrote:
> There comes a time in every POVer's lifetime when they have to know...
>
> I've Googled, I've visited Mathworld and I've checked out Wikipedia.
> (That last one actually made sense, impressively.) So I now know what
> RK4 *is*... and roughly how it works... but... Integral calculus isn't
> my strong point. (I'm much better at differential calculus.) The
> notation confuses me. Plus, the equations of motion usually aren't
> first-order.
>
> So, I'm *sure* this is in a VFAQ _somewhere_... anybody have an
> explanation for how you do physics simulations with this thing?

Download this:

http://www.gaffer.org/downloads/GamePhysics.zip

and read "integration.rtf".

He uses C++ in the example code, but you should be able to work out.


Post a reply to this message

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