|
![](/i/fill.gif) |
Hello, I'm Alberto from Italy..
I would want to modify an height_field with a normal pattern (granite for
example..) and then generate a new 16 bit grayscale image (png or tga..) to
re-use in other height_field statement..
is possible to do this?
I have written this basic sample:
//------------------------------
#include "colors.inc"
global_settings {
hf_gray_16 on
}
camera {
orthographic
location <0.518756, 1.42622, 0.517175>
sky <0, 1, 0>
direction <0, 0, 1>
right <1, 0, 0>
up <0, 1, 0>
look_at <0.518487, 0.464293, 0.493562>
}
height_field {
png "HFtest01.png"
scale <1, 0.3, 1>
rotate <0, 0, 0>
translate y*0.0870551
texture {
normal { granite 0.4 }
pigment { color rgb <0.32549, 0.32549, 0.32549> }
finish { ambient 1 }
}
}
//--------------------------------------
....but render shows me nothing, please can someone help me?
Thanks, Alberto
Post a reply to this message
|
![](/i/fill.gif) |