 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Thu, 18 May 2000 01:09:00 -0400, "Mark Wagner"
<mar### [at] gte net> wrote:
>>You'll have to remember the seed as well (but you already know that,
>>don't you :) )
>
>Actually, the way I'm doing it, the pixel IS the seed!
But then you'll need a random generator with a period exactly equal to
the number of pixels in the image, right?
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usa net
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Peter Popov wrote in message ...
>On Thu, 18 May 2000 01:09:00 -0400, "Mark Wagner"
><mar### [at] gte net> wrote:
>
>>>You'll have to remember the seed as well (but you already know that,
>>>don't you :) )
>>
>>Actually, the way I'm doing it, the pixel IS the seed!
>
>But then you'll need a random generator with a period exactly equal to
>the number of pixels in the image, right?
I use one with a period that is at least as large, then ignore all numbers
that are not part of the image.
Mark
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 19 May 2000 01:40:23 -0400, "Mark Wagner"
<mar### [at] gte net> wrote:
>>>Actually, the way I'm doing it, the pixel IS the seed!
>>
>>But then you'll need a random generator with a period exactly equal to
>>the number of pixels in the image, right?
>
>I use one with a period that is at least as large, then ignore all numbers
>that are not part of the image.
Clever :) I wouldn't have thought of this.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usa net
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |