#declare foo = function {
pattern {
checker
}
}
.....
texture {
foo //replace built-in pattern with previous declaration
texture_map {
[0.3 pigment{Red} finish{phong 1}]
[0.3 T_Wood11] //this is a texture identifier
[0.6 T_Wood11]
[0.9 pigment{DMFWood4} finish{Shiny}]
}
}
The above are taken from the documentation. Thanks in advance
Post a reply to this message
|