#include "colors.inc" background { color rgb <1,1,1> } light_source { < 3.00, 13.00, 20.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 30.00, 30.00, 18.00 > right < -1.00, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 6.00 > } plane { z,0 pigment { checker color rgb <0, 0, 0> color rgb <1, 1, 1> } } #declare bibelo = cylinder { <0, 0, 0>, <0, 0, 12>, 10.0 texture { pigment { Gray50 } finish { ambient .2 diffuse .6 specular .75 roughness .001 reflection .5 } } } #declare buraco = cylinder { <0, 0, 0>, <0, 0, 12.1>, 8.0 texture { pigment { Gray50 } finish { ambient .2 diffuse .6 specular .75 roughness .001 reflection .5 } } } #declare lapis1 = union { cylinder { <4, 4, 0>, <4, 4, 16>, 1.0 pigment { color rgb <1, 0, 0> } } cone { <4, 4, 19>, 0.0 <4, 4, 16>, 1.0 pigment { Orange } } cone { <4, 4, 19>, 0.0 <4, 4, 18.2>, 0.34 pigment { Red } } rotate z*20 rotate x*15 } #declare lapis2 = union { cylinder { <4, 2, 0>, <4, 2, 16>, 1.0 pigment { Blue } } cone { <4, 2, 19>, 0.0 <4, 2, 16>, 1.0 pigment { Orange } } cone { <4, 2, 19>, 0.0 <4, 2, 18.2>, 0.34 pigment { Blue } } rotate z*20 rotate x*15 } // Aqui está a cena, finalmente: difference { object { bibelo } object { buraco } } object { lapis1 } object { lapis2 }