// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi #include "colors.inc" background{ color rgb < 1.00, 1.00, 1.00 > } camera { angle 50 location <-12,8,-12> look_at <0,0,0> } light_source { <-10, 10, -10> color White } #declare prato = sphere { <0,0.5,0>,5 scale <1,0.1,1> texture { pigment { color Yellow } normal { bumps 0.4 scale 0.2 } finish { phong 1} }} #declare folha = sphere {<0,0,0>,0.5 scale <1,0.2,0.2> texture { pigment { color Green } normal { bumps 0.4 scale 0.2 } }} #declare caixa = box {<-1.5,3,-3> <-4,7,3> texture { pigment {color rgbt<1,1,1,1>}}} #declare caixa1 = box{ <-1.5,3,-3> <-4,7,3> texture { pigment { color Red } normal { bumps 0.25 scale 0.1 }} finish { phong 1} } #declare fruta = blob { threshold .2 sphere { <-1.5,3,0>, 3, 1 texture { pigment { color Red } normal { bumps 0.25 scale 0.1 } finish { phong 1} } } sphere { <1.5,3,-1.5>, 3, 1 texture { pigment { color Red } normal { bumps 0.25 scale 0.1 } finish { phong 1} } } sphere { <1.5,3,1.5>, 3, 1 texture { pigment { color Red } normal { bumps 0.25 scale 0.1 } finish { phong 1} } } #declare casca = sphere {<-1.5,3,0>, 1.5 texture { pigment { color Red } normal { bumps 0.8 scale 0.4 } } finish { phong 1} } } difference{ difference{ object {fruta} object {casca} } object {caixa1} } object {prato} object {folha translate<-1.5,5,0>} object {folha translate<-1.5,5,-0.2> rotate <0,90,0>} object {folha translate<-1,5,0> } object {folha translate<-1.5,5,0.2> rotate <0,90,0>}