// Last edited on 2005-01-05 23:07:08 by stolfi // Processed by remove-cam-lights #declare rubi = color rgb <1.0, 0.0, 0.0>; #declare ametista = color rgb <0.0, 1.0, 0.0>; #declare ouro = color rgb <1.0, 1.0, 0.0>; #declare tx_rubi = texture{ finish{ ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment {color rubi filter 1} } #declare tx_metal = texture{ pigment{rgb ouro} finish{ ambient 0.05 diffuse 0.05 reflection ouro specular 0.20 roughness 0.05 } } background{ color rgb < 0.75, 0.80, 0.85 > } plane{ z,0 texture{ pigment{checker <0.5,0.5,0.5>, <1.0, 1.0, 1.0>} finish {ambient 0.6 diffuse 0.4} scale 1.0 } } #declare base= torus{ 3, 0.5 rotate <90,0,0> pigment {color rubi} } #declare meio= lathe{ linear_spline 7, <3.0, 0.5>, <3.0, 1.0>, <4.0, 2.0>, <3.0, 3.0>, <3.5, 4.0>, <3.0, 5.0>, <3.0, 5.5> texture {tx_metal} rotate <90,0,0> } #declare joia1= sphere{ <3.0, 0.0, 4.5>, 0.5 texture {tx_rubi} } #declare joia2= sphere{ <0.0, 3.0, 4.5>, 0.5 texture {tx_rubi} } #declare joia3= sphere{ <-3.0, 0.0, 4.5>, 0.5 texture {tx_rubi} } #declare joia4= sphere{ <0.0, -3.0, 4.5>, 0.5 texture {tx_rubi} } union{ object {base} object {meio} object {joia1} object {joia2} object {joia3} object {joia4} } #include "camlight.inc" camlight(<0.0,0.0,3.0>,<8.0,9.0,3.0>,1.10,z,1.0)