|
|
Here is the code of the height field used in the image of the old door
posted in p.b.i :
-=Nicolas=-
#version 3.1;
global_settings { assumed_gamma 2.2 hf_gray_16 }
#include "colors.inc"
#include "textures.inc"
union{
plane{z,0
texture{
pigment{
wrinkles
turbulence 0.4
color_map{
[0 color White*.7 filter 0.9]
[0.575 color White filter 0.9]
[0.575 color Black]
[1 color Black]
}
}
finish{ambient 1 diffuse 0}
scale .5
translate -.5
}
no_shadow
translate 4.98*z
}
plane{z,0
texture{
pigment{
wrinkles
turbulence 0.3
omega 0.2
octaves 2
color_map{
[0 color rgb 0.2]
[0.3 color rgb 0.2]
[0.45 color rgbt 1 ]
[1 color rgbt 1 ]
}
}
finish{ambient 1 diffuse 0}
scale 0.3
translate -.5
translate -0.4*x
}
no_shadow
translate 4.985*z
}
plane{z,0
texture{
pigment{
crackle
turbulence 0.5
color_map{
[0 color rgb 0.1]
[0.01 color rgb 0.1]
[0.01 color Clear]
[0.01 color Clear]
[1 color Clear*0.9]
}
}
finish{ambient 1 diffuse 0}
scale .4
translate -.5
}
no_shadow
translate 4.984*z
}
plane{z,0 texture{ pigment{ White }
finish{ambient 1 diffuse 0}
}
no_shadow
translate 4.99*z
}
}
camera{
location <0,0,-1>
direction 2*z
look_at <0,0,0>
}
Post a reply to this message
|
|