// Illegal random number generator error
camera{}
light_source{0 color rgb 1}
#declare testval=rand(5);
/*
I got a new and persistent error ("illegal random number generator") every
time I try to use rand() with any seed but 0. Except 0, I found no seed that
did not produce this error. Even this simplest scene generates it. As I had
many installation/de-installation on my computer recently, I tried
uninstalling an reinstalling POV - to no avail. Any hint?
This scene produces:
<snip>
> Warning Stream to console.......On
> camera{}
> light_source{0 color rgb 1}
> #declare testval=rand(5) <----ERROR
>
> D:\POV\Ecran\randtest.pov:3: error: Illegal random number generator.
>
> Returned from renderer (non-zero return value)
POV version info:
v 3.1g.watcom/win32 (Pentium II optimized)
System info:
Microsoft Windows 98 4.10.2222 A
IE 5 5.00.2614.3500
PII 233MHz (GenuineIntel Pentium(r) II Processor Intel MMX(TM) Technology)
128MB RAM
*/
Post a reply to this message
|