// Aluno : Alex Zerio 970154 // camera { angle 15 location <0,2,-10> look_at <0,0,0> } light_source { <0, 0, -10> color rgb <1,1,1> } #declare cabo = cylinder { <0,.1,0>, <-.3,.5,0>, .05 pigment {color rgb <.5,1,1> } } #declare folha = blob { threshold .65 cylinder { <-.5,0,0>, <.5,0,0>, .3, 1 pigment {color rgb <0,1,0.25> } } cylinder { <0,0,-.5>, <0,0,.5>, .3, 1 pigment {color rgb <0,1,0.25> } } finish { phong 1 } } #declare fruto = blob { threshold .1 sphere { <0,-.5,0>, .5, 1 pigment {color rgb <1,.75,0> }} sphere { <0,-.8,0>, .3, 1 pigment {color rgb <1,1,0> }} finish { phong 1 } } #declare semente = blob { threshold .30 sphere { <0,-.5,0>, .5, 1 pigment {color rgb <0,.75,0> }} sphere { <0,-.8,0>, .3, 1 pigment {color rgb <0,1,0> }} finish { phong 1 } } #declare corte = box { <-.5, -.5, -.5>, <.5, .5,-8> pigment {color rgbt <1,1,1,1>} } difference { merge { object {folha} object {fruto} object {cabo} object {semente} } object {corte} }