|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> wrote in message news:3c5fc0c0@news.povray.org...
> Deaken <dwy### [at] sw-tech com> wrote:
> : If I'm not, can someone post a brief summary (my C is very bad) of why
> : (computer, not design decision) this is?
>
> Perhaps seed() takes just the integer part of the given parameter?
> (I don't know, I'm just guessing.)
Nah - it's just that the stream created with seed(0.5) is very similiar to the
stream created with seed(0.6) - well IMHO, it certainly fits the symptoms. I
fell into this trap a couple of times. It was weird, things weren't exactly
identical, but nor were they random. All streams generated by seeds within a
range of 1 are pretty similiar.
If you want to use one stream as the seed for another, do something like
R2 = seed(rand(R1)*1000)
Post a reply to this message
|
![](/i/fill.gif) |