POV-Ray : Newsgroups : povray.advanced-users : Random number generator needed ! : Re: Random number generator needed ! Server Time
29 Jul 2024 18:18:16 EDT (-0400)
  Re: Random number generator needed !  
From: Christoph Hormann
Date: 20 Feb 2001 16:35:33
Message: <3A92E320.229F7259@gmx.de>
Lutz-Peter Hooge wrote:
> 
> > It seems what you want is a hash rather than a random number generator.
> > Whether such a thing is easy or even possible to implement in POV-script
> > is another question entirely.
> I think an array initialized with random numbers could be used for this.
> Of course it will need to be very large, or the numbers will repeat much
> more often than in a normal random numer stream.
> 

How about using eval_pigment? It would require megapov of course.  It is
not really random, but since you are using integer numbers this should not
be a problem. 

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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