|
|
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
|
|
|
|
Oh, this goes further:
There seems to be a bug in
the "function image generation" ,
the "f_gradientY" function"
or in the height_field height detection.
Or again I missed something in the docs but I don't think so.
Take a look in p.b.images.
Sebastian H.
Post a reply to this message
|
|