|
|
Felbrigg wrote:
>
> Thanks for your input.
>
> I have tried it now, and unfortunately it has not fixed the problem. I'm
> getting more puzzled by the hour.
>
> Any other suggestions
After rendering the scene and trying a few things it appears to be a
mathematical precision error. If you scale down the container boxes
the discontinuities you see dissapear, e.g. -
#include "colors.inc"
#include "functions.inc"
global_settings {
max_trace_level 80
}
camera {
location <-45,5,118>*.5 look_at <-50,-1,138>
}
background { color <0.25,0.35,0.80> }
#declare DesertScape =
isosurface {
function {y - f_snoise3d(x/350, 0, z/490)*170.5}
max_gradient 2
contained_by {box { <-40000,-180,-10000>*.5,
< 40000, 180, 10000>*.5}}
texture {pigment { Green }
}
}
#declare WaterScape =
isosurface {
function { y - (f_ripples(x/2,y,z)*0.05) + (f_snoise3d(x/2, 0,z/2)*0.1)}
max_gradient 2
contained_by {box { <-400,-180,-500>*.5,
< 0, 180, 500>*.5}}
texture {
pigment { Clear }
}
translate <0,-9,0>
hollow
scale <1,1,1>
}
object { WaterScape scale <1.01,1,1.01> rotate <0,100,0>}
object { DesertScape translate <-100,0,0> scale <1.01,1,1.01>}
light_source { <-10000, 60030, -28500> colour White }
--
Ken Tyler
Post a reply to this message
|
|