POV-Ray : Newsgroups : povray.general : Translate by turbulence : Re: Translate by turbulence Server Time
6 Aug 2024 06:20:33 EDT (-0400)
  Re: Translate by turbulence  
From:
Date: 12 Jul 2002 11:28:40
Message: <64ttius804jeuqbge1mk749nddg8ekrbte@4ax.com>
On Fri, 12 Jul 2002 16:50:53 +0200, Christoph Hormann <chr### [at] gmxde>
wrote:
>
> Have you tried it?

If I would everything fine then tehere should be crossection at the center of
square.

#local Amount  = 0.5;
#local Lambda  = 1.5;
#local Omega   = 0.8;
#local Octaves = 5.0;
#local Frequency = 3;
#local P=<0,0,0>;
#local P=P+Amount*vturbulence(Lambda,Omega,Octaves,P*Frequency);
box{
  P-<.1,.1,0> P+<.1.1.1>
  pigment{
    checker color blue 1 color red 1
    turbulence Amount
    lambda Lambda
    omega Omega
    octaves Octaves
    frequency Frequency
  }
  finish{ambient 1 diffuse 0}
  translate -P
  translate z
}

ABX


Post a reply to this message

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