POV-Ray : Newsgroups : povray.general : [help] Illegal random number generator error : Re: [help] Illegal random number generator error Server Time
10 Aug 2024 15:19:56 EDT (-0400)
  Re: [help] Illegal random number generator error  
From: Philippe Debar
Date: 1 Dec 1999 04:51:15
Message: <3844ef93@news.povray.org>
> Rand takes a special seed value as an argument.  It should be like this:
>
> camera{}
> light_source{0 color rgb 1}
> #declare Seed = seed(5);
> #declare testval=rand(Seed);


Ooops. That was the way I used it (with #local, not #declare to be precise),
but I simplified it too much while I was chasing for my mistake. I'll try
again this evening...


Post a reply to this message

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