// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi // Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi background{ color rgb <0,0,.2> } light_source { < -100.00, 100.00, -100.00 > color rgb < 1, 1, 1 > } camera { location < -1, -1, -2 > look_at < 0, 0, 0 > } #declare casca = blob { threshold .55 sphere { <-.5,0,0>, .8, 1 texture { pigment {color rgb <0,0,1>} normal { bumps 1 scale 0.05 } } } sphere { <.5,0,0>, .8, 1 texture { pigment {color rgb <1,0,0>} normal { bumps 1 scale 0.05 } } } sphere { <0,0,.87>, .8, 1 texture { pigment {color rgb <0,1,0>} normal { bumps 1 scale 0.05 } } } sphere { <0,.87,0>, .8, 1 texture { pigment {color rgb <1,1,0>} normal { bumps 1 scale 0.05 } } } } #declare miolo = blob { threshold .7 sphere { <-.5,0,0>, .8, 1 texture { pigment {color rgb <.05,.05,.05>} normal { bumps 1 scale 0.05 } } } sphere { <.5,0,0>, .8, 1 texture { pigment {color rgb <.05,.05,.05>} normal { bumps 1 scale 0.05 } } } sphere { <0,0,.87>, .8, 1 texture { pigment {color rgb <.05,.05,.05>} normal { bumps 1 scale 0.05 } } } sphere { <0,.87,0>, .8, 1 texture { pigment {color rgb <.05,.05,.05>} normal { bumps 1 scale 0.05 } } } } #declare mybox1 = box { <-1.3,-1.3,-1.3>, <-.5,1.3,0> texture { pigment { color rgb <0,0,1> } normal { bumps 1 scale 0.05 } } } difference { object { casca } difference { object { mybox1 } object { miolo } } }