POV-Ray : Newsgroups : povray.general : bug in "frequency" keyword? : Re: bug in "frequency" keyword? Server Time
11 Aug 2024 03:32:26 EDT (-0400)
  Re: bug in "frequency" keyword?  
From: Margus Ramst
Date: 17 Sep 1999 06:29:20
Message: <37E217EB.8B0C84F@peak.edu.ee>
Without testing, I'd say
{gradient x scale .5*x warp{turbulence .5}} =
{gradient x frequency 2 turbulence .5}

Turblence is entirely separate from the pattern; it's a variation of 3d
Perlin noise whose value at point P affects the pattern value at that
point. The difference arises from wether turbulence is or is not
transformed with the pattern. Frequency affects _only_ the pattern.

Margus

Nieminen Juha wrote:
> 
>   Scaling a "turbulenced" pattern by 0.5*x is certainly not the same as
> just setting its frequency to 2. When you scale the pattern, the shape of
> the "bending" changes but when you only change the frequency that doesn't
> change the shape of the pattern.
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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