POV-Ray : Newsgroups : povray.unofficial.patches : Noisy thoughts : Re: Noisy thoughts Server Time
2 Sep 2024 04:14:13 EDT (-0400)
  Re: Noisy thoughts  
From: Nathan Kopp
Date: 27 Sep 2000 19:34:55
Message: <39d2841f@news.povray.org>

> No, but I think I see where the confusion comes from. You were thinking
> of the values returned by the Noise function (which are something like
> -0.01 to 1.01 and are truncated in the way you said)

Actually, the plateaus were much worse than that.  Clamping (as Warp
described) still happens, but it used to be something like [-0.5, 1.5]
clamped down to [0,1].

> and the values
> where Noise can be computed (must be bigger than -10000, and I don't
> know the upper limit but there's one). In this case the only solution is
> to take advantage of the periodicity of Noise and to bring the values
> inside the acceptable range using a modulus (or something similar).

Could this be done using shift operators (is the period a multiple of 2)?

-Nathan


Post a reply to this message

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