|
![](/i/fill.gif) |
Tor Olav Kristensen wrote:
...
> When I render this scene, I can see vertical and
> horizontal "lines" in the noise.
Hmmm... When I replace "NoiseFn(x, y, z)" in the
code below with "f_noise_generator(x, y, z, 3)" from
"functions.inc" I see the same short "lines".
With "f_noise_generator(x, y, z, 2)" I get no such
lines. - The results seems more random with this
noise generator.
> #declare NoiseFn = PerlinNoise3DFunction(478696, 300, 0, 1)
>
> box {
> <-0.5, -0.5, 0>, <0.5, 0.5, 0>
> texture {
> pigment {
> function { NoiseFn(x, y, z) }
> color_map {
> [0.0 color rgb 0.0 ]
> [1.0 color rgb 1.0 ]
> }
> scale 0.01
> }
> finish {
> ambient 1.0
> diffuse 0.0
> }
> }
> }
>
> camera {
> orthographic
> location <0,0,1>
> look_at <0,0,0>
> right 1*x
> up 1*y
> }
>
> If make the macro not use the POV-Ray's rand() function,
> the noise improves a bit.
>
--
Tor Olav
http://subcube.net
http://subcube.com
Post a reply to this message
|
![](/i/fill.gif) |