#include "colors.inc" #include "textures.inc" background { White } light_source { < 5.00, 50.00, 20.00 > color rgb < 1.00, 1.00, 1.00 > } //light_source { // < 9.00, 25.00, -15.00 > // color rgb < 1.00, 1.00, 1.00 > //} camera { location < 9.00, 20.00, -15.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 1.00, 0.00 > look_at < 5.00, 1.00, 6.00 > } plane { y, 0 texture{ Gold_Nugget } } #declare cor_furos = texture{ Yellow_Glass } #declare cor_base = texture { Orange_Glass } #declare base_p1 = box { <0,0,0>, <21,7,12> texture {cor_base} } #declare furo1 = box { <10,1,1.5>, <16.5,7.1,10.5> texture {cor_furos} } #declare furo2 = box { <18,1,-0.1>, <19,7.1,12.1> texture {cor_furos} } #declare base = difference { object{base_p1} object{furo1} object{furo2} } #declare furos_ca = cylinder{ <0,3,0>,<0,33,0>,0.5 texture{ Dark_Green_Glass } } #declare b1_caneteiro = blob { threshold .65 sphere { <5,9.5,4>,7, 1 texture {Dark_Green_Glass} } sphere { <5,9.5,8>,7, 1 texture {Dark_Green_Glass} } finish { phong 1 } } #declare caneteiro = difference{ object {b1_caneteiro} object {furos_ca translate<5,0,8> } object {furos_ca translate<7.5,0,3> } object {furos_ca translate<6.5,0,9> } } object {base} object {caneteiro}