Darren New <dne### [at] san rr com> wrote:
> If you have a known number of random numbers being used in each frame, you
> can seed once at frame 0, then on each subsequent frame, generate
> frame_number time known_random_number_count random numbers, and then pick up
> the stream from there. Use a while loop in SDL to generate calls to rand(),
> in other words.
>
It works, if the lack of pattern in this image were any indication:
Post a reply to this message
Attachments:
Download 'zrandtest12e.png' (39 KB)
Preview of image 'zrandtest12e.png'
![zrandtest12e.png](/povray.binaries.images/attachment/%3Cweb.4a1337452a89ae6d34d207310%40news.povray.org%3E/zrandtest12e.png?preview=1)
|