POV-Ray : Newsgroups : povray.newusers : Rand and animation : Re: Rand and animation Server Time
29 Jul 2024 18:23:59 EDT (-0400)
  Re: Rand and animation  
From: Tim Nikias
Date: 13 May 2005 05:05:40
Message: <42846de4$1@news.povray.org>
> When you do (1), you're asking for the first random number from
> different streams that have seeds that follow a simple pattern, which
> may well not be very random.

I think the problem lies within seed(clock) in this case. Until the last
frame, clock is a value below 1, so it will use the seed "0", hence he gets
the same outcome every frame until the last, where clock is 1 and the seed a
different one. It would help to multiply clock with 100 or 1000, or use
frame_number as the seed.

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

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