// http://xahlee.org/3d/index.html
// sample scene file for the mesh object
// 3 triangles
#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}}
mesh{
triangle{<0,0,0>,<1,0,0>,<0,0,1> texture { c1 }}
triangle{<1,0,0>,<0,0,1>,<1,.3,1> texture { c2 }}
triangle{<-0.1,0,0>,<-0.1,0,1.2>,<-0.1,1.2,0.7> texture { c3 }}
translate <0,.1,0>
}
plane { <0,1,0>, 0 pigment {checker color White, color Gray}}