// http://xahlee.org/3d/index.html
#include "colors.inc"
camera {
location <1.4,1.8,-1.9>
look_at 0
}
light_source {<20, 15, 20> color White}
#declare c1 = texture {pigment {color Red}}
#declare c2 = texture {pigment {color Green}}
#declare c3 = texture {pigment {color Blue}}
mesh2 {
vertex_vectors {
4 /* number of vertexes*/,
<0,0,0>, <1,0,0>, <1,0.3,1>, <0,0,1> // a listing of the vertex
}
face_indices {
2 /* number of faces*/,
<0,1,3>, /*indexes from the vertex_vectors list*/
<1,2,3>
}
pigment {color Green filter .3}
translate <0,.1,0>
}
plane { <0,1,0>, 0 pigment {checker color White, color Gray}}