// Syntaxe : ------------------------------------ polygon { number_of_points, // list of closed series of <x,y> points <x1, y1>, // .... <xn, yn>, } //--------------------------------------
// -------------------------------------------- polygon { 17, <0.0, 0.0>, <0.00, 2.5>, <0.50, 2.5>, <0.5, 0.5>, <1.25, 0.5>, <1.25, 0.0>, <0.0, 0.0>, <1.5,0.0>, <1.5,2.0>, <3.0,2.0>, <3.0,0.0>, <1.5,0.0>, <2.0,0.5>, <2.0,1.5>, <2.5,1.5>, <2.5,0.5>, <2.0,0.5> texture { pigment{ color rgb<1,0.8,0.65>*0.7} normal { bumps 1.5 scale 0.05 } finish { diffuse 0.6 phong 0.5 reflection 0.4} } // end of texture scale<1,1,1> rotate<0,0,0> translate<0,0,0> } // end of polygon ---------------------------