#include "colors.inc" #include "textures.inc" camera { location < 0.00, 6.00, 4.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 1.00, 0.00 > look_at < 0.00, 4.00, 0.00 > } light_source { < 2, 6, 2.0> color White } light_source { <-2, 4, 2.0> color White } #declare casca = blob { threshold .55 sphere { <0,3,0>, 2.5, 1 pigment { Yellow }} cylinder { <0,3,0>, <0,5,0>, 1, 1 pigment { Yellow } } normal { bumps 0.7 scale 0.02 } finish { phong 1 } } #declare corte = box { <-6,0,0.5>, <3,10, 4> pigment { White } finish { phong 0 } } #declare semente = sphere { <0,0,0>, 0.2 texture { DMFWood3 } scale <0.5, 1, 0.6> } #declare cabinho = cylinder { <0, 5,0>, <0, 6.5, 0>, 0.08 texture { DMFWood3 } } // Cena final union { difference { object { casca } object { corte } } object { cabinho } object { semente translate <-0.35, +3.5, +0.5>} object { semente translate <+0.35, +3.5, +0.5>} rotate y*320 }