POV-Ray : Newsgroups : povray.programming : Wondering about Noise() : Re: Wondering about Noise() Server Time
28 Jul 2024 18:27:31 EDT (-0400)
  Re: Wondering about Noise()  
From: Mark Wagner
Date: 12 Nov 1999 00:46:23
Message: <382ba9af@news.povray.org>
Gerald K. Dobiasovsky wrote in message <382b9791@news.povray.org>...
>The basic algorithm doesn't seem to have changed since DKB,
>but since POV 3.0 the random float table exists precomputed in
>"texture.c" rather than being calculated from a CRC table after startup.
>(The range of the numbers in the table is -1.0 < # < 1.0)
>
>I am surprised your results are shifted towards negative values.
>Looking at the algorithm used
>(at least as I understand it, or, rather, I believe I understand it :) )
>one would expect its range to be bigger than -0.5 to 0.5,
>but still with a symmetrical distribution about 0.0!


The problem here is with the specific precomputed table.  A different table
would give a different set of values, and it is possible to design a table
that gives the correct behavior.

Mark


Post a reply to this message

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