|
![](/i/fill.gif) |
This code gives something like a really wide (infinite) height_field.
The problem seems to be the 2x2 resolution of the generated image.
This works (!!?) with every function:
// ----- Scene start -----
#include "colors.inc"
#include "functions.inc"
camera {
location <0, 20, -50>
look_at <0, 0, 0>
}
light_source { <100, 100, -100> White }
// *** Buggy object? ***
height_field {
function 2, 2 {f_gradientX(x,y,z)} <- Problem here?
pigment { Cyan }
finish {ambient .1 diffuse 1.1 specular 1 roughness 0.005}
}
// ----- Scene end -----
Regards
Sebastian H.
P.S.: using linux beta 16
Post a reply to this message
|
![](/i/fill.gif) |