POV-Ray : Newsgroups : povray.beta-test : agate pattern broken : Re: agate pattern broken Server Time
2 Nov 2024 15:23:18 EDT (-0400)
  Re: agate pattern broken  
From: Nathan Kopp
Date: 4 Nov 2001 16:18:38
Message: <3be5b0ae$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote...
>
>
> Nathan Kopp wrote:
> >
> > Fixed for next beta.
> >
>
> May i ask why it occurred?

There was some code that used this formula:
    value = (2.0 * Noise(EPoint, TPat)) - 0.5;
and I wanted to correct it so it looked like this:
    value = (2.0 * Noise(EPoint, TPat) - 0.5);
but I goofed and pasted this in instead:
    value = (2.0 * Noise(temp, TPat) - 0.5);

The value of "temp" was undefined at this point in the funciton, so noise
was usually result.

-Nathan


Post a reply to this message

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