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:17:43 EDT (-0400)
  Re: problem: repeating rand patterns using seed in animation  
From: Kenneth
Date: 26 Jan 2009 14:25:00
Message: <web.497e0c91b528db0df50167bc0@news.povray.org>
"clipka" <nomail@nomail> wrote:
 'efficiency', though, compared to Chris B's original #while loop.
>
> I guess it can be summed up into one word: "Desastrous" ;)
>
> First thing to note is that it isn't any better than the original #while loop
> approach: With POV SDL, unfortunately you can't just read "a particular" value
> from a file. All you can do is read the file sequentially - so again you need
> to pull the first numbers and discard them, until you reach the number you
> want. So same problem as with Chris B's original approach.
>
> Worse yet: Instead of a few computational steps required to pull a single random
> value, you now have disk reads instead, *plus* some computational steps to parse
> the plain-text numbers back to float values.
>
> So all in all, it's quite a creative idea, but gives you more pain than gain :)

Ooh!  Bad idea! As Rosanne Rosanadana used to say on 'Saturday Night Live',
"Never mind." ;-)

KW


Post a reply to this message

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