|
![](/i/fill.gif) |
>> 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
|
![](/i/fill.gif) |