POV-Ray : Newsgroups : povray.binaries.images : Ripple Tank Sim : Ripple Tank Sim Server Time
5 Nov 2024 07:19:43 EST (-0500)
  Ripple Tank Sim  
From: clipka
Date: 11 Aug 2009 03:44:34
Message: <4a812162@news.povray.org>
a ripple tank simulation, computed with POV-Ray 3.7.0.beta.33; original 
size of render: 300x100 pixels (this is a scaled-up 100x100 excerpt); 
frame 6000 of 9999, total computation time for the whole sequence 30 
minutes on a Core i7 (7 threads).

Green area indicates wave generator shape; red areas indicate barriers.

(An optimized C program could probably do the whole smash in a matter of 
seconds - even a naive attempt does it in about a minute - but that's 
not the point :P)

As an interesting side note, although performing bulk mathematical 
simulation, the SDL script doesn't use a single function (except for 
auxiliary purposes), not a single array, no file #write or #read, and 
only a single control statement (an #if, for special treatment of the 
very first frame). Virtually all it does is render frame after frame of 
the animation.


Post a reply to this message


Attachments:
Download 'wavetank.jpg' (63 KB)

Preview of image 'wavetank.jpg'
wavetank.jpg


 

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