// Last edited on 2011-05-13 13:02:30 by stolfi background{ color rgb < 0.75, 0.85, 0.80 > } #local tx_xadrez = texture{ pigment{ checker color rgb < 0.100, 1.000, 0.800 >, color rgb < 1.000, 0.800, 0.400 > } finish{ ambient 0.1 diffuse 0.9 } } #local tx_xadrez_cinza = texture{ pigment{ checker color rgb < 1.000, 1.000, 1.000 >, color rgb < 0.800, 0.800, 0.800 > } finish{ ambient 0.1 diffuse 0.9 } } #local tx_teste_A = texture{ pigment{ granite color_map{ [ 0.000 color rgb < 1.000, 0.900, 0.100 > transmit 1.000 ] [ 1.000 color rgb < 1.000, 0.100, 0.100 > transmit 0.000 ] } scale 3 } finish{ ambient 0.1 diffuse 0.9 } } #local tx_teste_B = texture{ pigment{ checker color rgb < 1.000, 0.900, 0.100 > filter 1.000, color rgb < 1.000, 0.100, 0.100 > filter 0.000 scale 3 } finish{ ambient 0.1 diffuse 0.9 } } #local tx_teste_C = texture{ pigment{ checker color rgb < 1.000, 0.900, 0.100 > transmit 1.000, color rgb < 1.000, 0.100, 0.100 > transmit 0.000 scale 3 } finish{ ambient 0.1 diffuse 0.9 } } #local tx_teste_D = // Vidro colorido. texture{ pigment{ color rgb < 1.000, 0.900, 0.100 > filter 0.600 } finish{ ambient 0.0 diffuse 0.0 reflection 0.4 } normal{ granite 0.05 scale 5 } } #local tx_luz = texture{ pigment{ color rgb < 1.000, 0.950, 0.930 > } finish{ ambient 1.0 } } #local tx_teste_Z = texture{ pigment{ color rgb < 0.100, 0.900, 1.000 > } finish{ ambient 0.1 diffuse 0.9 } normal{ granite 0.2 scale < 1, 1, 20 > } } plane{ z, 0 texture{ tx_xadrez_cinza } translate -10*z } sphere{ <0,0,0>, 3.5 texture{ tx_teste_Z } interior{ ior 1.5 } } box{ < +4, 2, 2 >, < +6, 6, 6 > texture{ tx_luz } } // plane{ y, 0 texture{ tx_xadrez_cinza } translate -10*y } // sphere{ <-4,0,0>, 2.0 texture{ tx_xadrez } } // sphere{ <+4,0,0>, 3.5 texture{ tx_teste_B } } // sphere{ <+4,0,0>, 2.0 texture{ tx_xadrez } } #declare cam_ctr = < 0, 0, 0 >; #declare cam_rad = 9; #declare cam_dir = <1,15,8>;