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:14:28 EDT (-0400)
  Re: problem: repeating rand patterns using seed in animation  
From: Kenneth
Date: 25 Jan 2009 20:25:00
Message: <web.497d103db528db0df50167bc0@news.povray.org>
Nicolas George <nicolas$george@salle-s.org> wrote:
> "Kenneth"  wrote in message
> <web.497c4cb0b528db0df50167bc0@news.povray.org>:
> > I made a slight mistake there (I forgot that the #while loop counter was
> > starting at 0, not 1--which is how I usually start my own counters.)
>
> I think you made two opposite mistakes:
>
> while(i < n * 3)
>
> is perfectly correct if i starts at 0, but would be wrong if i started at 1.
>

Yes, you're right. I should have re-written my 2nd paragraph as well.

KW


Post a reply to this message

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