#version 3.1; #include "scene.inc" #macro VCT(P1,C1, P2,C2, P3,C3) #local T = texture{ pigment{ vertexcolor C1,C2,C3 } finish{ diffuse 1 ambient 0 brilliance 0 } } triangle{ P1,P2,P3 texture{T} } #end mesh { VCT(<0,-1,20>, Red, <3,5,20>, Green, <6,-1,20>, Blue) VCT(<-1,0,20>, Yellow, <-4,-5,20>, rgbt<1,0,1,0.5>, <-6,2,20>, Yellow) }