|
![](/i/fill.gif) |
Tor Olav Kristensen wrote:
...
> I have now had a look at his code and have made a macro
> that can produce noise functions that don't have the
> "defects" of earlier Perlin noise functions. (I haven't
> really verified this, but the results seems ok so far.)
...
- But now the results doesn't seem ok any longer.
When I render this scene, I can see vertical and
horizontal "lines" in the noise.
#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) |