POV-Ray : Newsgroups : povray.general : problem: repeating rand patterns using seed in animation : Re: problem: repeating rand patterns using seed in animation Server Time
30 Jul 2024 18:10:41 EDT (-0400)
  Re: problem: repeating rand patterns using seed in animation  
From: Kenneth
Date: 26 Jan 2009 14:15:01
Message: <web.497e0b0fb528db0df50167bc0@news.povray.org>
John VanSickle <evi### [at] hotmailcom> wrote:

> I think I got this kinda solved by using this:
>
> #local rsA=seed(frame_number);
> #local rsB=seed(floor(rand(rsA)*270000));
> #local rsC=seed(floor(rand(rsB)*270000));
>
> and use rsC as your seed.

I finally got around to running this (sorry for the delay in responding.)  It
does seem to produce nicely random values. I don't *see* any obvious patterns.
Good job, and thanks! This may, in the end, be *the* technique to use. I'll
have to play with it awhile to see.

KW


Post a reply to this message

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