POV-Ray : Newsgroups : povray.binaries.images : Ripple Tank Sim : Re: Ripple Tank Sim Server Time
31 Jul 2024 22:13:16 EDT (-0400)
  Re: Ripple Tank Sim  
From: scott
Date: 18 Aug 2009 05:22:45
Message: <4a8a72e5$1@news.povray.org>
>> Good job! I think I'll stick to C programming for this effect though. 
>> It's easy enough to produce a barrier and generator mask using POV, and 
>> then take it into C to run the sim :/
>
> I mainly did it because the C(/++) program I had written earlier only 
> produced ASCII art output, and it did quite well for starters, but I got 
> tired of its limitations, and was too lazy to integrate support for proper 
> image reading and writing ;-)
>
> And, of course, misusing POV-Ray in this manner was an interesting 
> challenge to do ;-)
>
> Next on the agenda: Game of life. Should be a piece of cake if done 
> properly: Read in last frame, apply a color map according to birth/death 
> rules, overlay with 8 tuned-down displaced copies to add birth/death hints 
> for the next step - render.

What you are doing here is actually very similar to how you write such 
things for the GPU.  I wrote a wave simulator for the GPU a while back and 
it works almost identically, never thought of the GoL on a GPU, should be 
easy to implement.


Post a reply to this message

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