#include "textures.inc" #include "colors.inc" background{ color rgb < 1.00, 1.00, 1.00 > } camera { angle 13 location <15,4,4> look_at <0,0,0> } #declare vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } } #declare madeira = texture { pigment { DMFWood4 } } #declare branco = texture { pigment { color rgb < 1.00, 1.00, 1.00 > } } #declare verde_escuro = texture { pigment { wood color_map { [0.0 color Green] [0.8 color DarkGreen] [1.0 color Black] } turbulence 0.05 scale <0.2, 0.3, 1> } normal { bumps .5 scale .1 } finish { phong 1 } } #declare verde_claro = texture { pigment { wood color_map { [0.0 color White] [0.9 color Green] [1.0 color Black] } turbulence 0.05 scale <0.2, 0.3, 1> } finish { phong 1 } } #declare vermelho_com_bolas_pretas = texture{ pigment { bozo color_map{ [0.0 color Red] [1.0 color Black] } scale <.1,.1,.1> } finish { phong 1 } } #declare caroco = texture { pigment {Yellow} normal {bumps .2 scale .01} finish { phong 1 } } light_source { <10, 20, -10> color rgb < 1.00, 1.00, 1.00 > } light_source { <10, -20, -10> color rgb < 1.00, 1.00, 1.00 > } light_source { <10, 20, 10> color rgb < 1.00, 1.00, 1.00 > } light_source { <20, 3, 3> color rgb < 1.00, 1.00, 1.00 > } #declare principal= blob { threshold .65 sphere { <0,0,0>, .5, 1 texture {verde_escuro} } sphere { <1,0,0>, .5, 1 texture {verde_escuro} } sphere { <-1,0,0>,.5, 1 texture {verde_escuro} } sphere { <0,1,0>, .5, 1 texture {verde_escuro} } sphere { <0,-1,0>,.5, 1 texture {verde_escuro} } sphere { <0,0,1>, .5, 1 texture {verde_escuro} } sphere { <0,0,-1>,.5, 1 texture {verde_escuro} } cylinder { <.8,0,0>, <.2,0,0> , .2, 1 texture{verde_claro}} cylinder { <-.8,0,0>, <-.2,0,0> , .2, 1 texture{verde_claro}} cylinder { <0,.8,0>, <0,.2,0> , .2, 1 texture{verde_claro}} cylinder { <0,-.8,0>, <0,-.2,0> , .2, 1 texture{verde_claro}} cylinder { <0,0,.8>, <0,0,.2> , .2, 1 texture{verde_claro}} cylinder { <0,0,-.8>, <0,0,-.2> , .2, 1 texture{verde_claro}} finish { phong 1 } } #declare caixa_corte= box { <0,-3,-.5>,<1,3,-3> texture {vermelho_com_bolas_pretas} } difference { object { principal } object { caixa_corte } } sphere { <0,0,-1>, .1 texture{ caroco }} //cylinder { <100,0,0>, <-100,0,0> , .005 texture{ pigment{Black} }} //cylinder { <0,100,0>, <0,-100,0> , .005 texture{ pigment{Blue} }} //cylinder { <0,0,100>, <0,0,-100> , .005 texture{ pigment{Red} }}