// Marco Antonio Leao RA:971203 // 5a Atividade de Laboratorio de MC930 background{ color rgb < 0.90, 0.90, 0.90 > } light_source { < 10.00, -50.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } plane { z, -5 texture { pigment { checker color rgb < 1.00, 1.00, 1.00 > color rgb < 0.00, 0.00, 0.00 > } } } camera { location < 14.00, -4.00, 4.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 5.00, 0.00 > } #declare A1 = < 2.0, 0.0, 0.0 >; #declare A2 = < 2.0, 0.0, 4.5 >; #declare A3 = < 2.5, 0.0, 5.0 >; #declare A4 = < 3.5, 0.0, 3.5 >; #declare A5 = < 2.0, 4.0, 0.0 >; #declare A6 = < 2.5, 3.5, 4.5 >; #declare A7 = < 0.0, 0.0, 5.0 >; #declare A8 = < 3.5, 0.0, 3.5 >; #declare A9 = < 3.0, 3.5, 0.0 >; #declare A10 = < 3.0, 3.0, 4.5 >; #declare A11 = < 0.0, 0.0, 5.0 >; #declare A12 = < 3.5, 0.0, 3.5 >; #declare A13 = < 3.5, 3.0, 0.0 >; #declare A14 = < 3.5, 2.5, 4.5 >; #declare A15 = < 3.5, 1.5, 5.0 >; #declare A16 = < 3.5, 0.0, 3.5 >; #declare C1 = < 2.0, 0.0, 0.0 >; #declare C2 = < 2.0, 0.0, 4.5 >; #declare C3 = < 2.5, 0.0, 5.0 >; #declare C4 = < 3.5, 0.0, 3.5 >; #declare C5 = < 2.0, -4.0, 0.0 >; #declare C6 = < 2.5, -3.5, 4.5 >; #declare C7 = < 0.0, 0.0, 5.0 >; #declare C8 = < 3.5, 0.0, 3.5 >; #declare C9 = < 3.0, -3.5, 0.0 >; #declare C10 = < 3.0, -3.0, 4.5 >; #declare C11 = < 0.0, 0.0, 5.0 >; #declare C12 = < 3.5, 0.0, 3.5 >; #declare C13 = < 3.5, -3.0, 0.0 >; #declare C14 = < 3.5, -2.5, 4.5 >; #declare C15 = < 3.5, -1.5, 5.0 >; #declare C16 = < 3.5, 0.0, 3.5 >; #declare B1 = < 3.5, 3.0, 0.0 >; #declare B2 = < 4.0, 2.5, 0.0 >; #declare B3 = < 12.0, 0.5, 0.0 >; #declare B4 = < 13.5, 0.0, 0.0 >; #declare B5 = < 3.5, 2.5, 4.5 >; #declare B6 = < 4.0, 2.0, 0.0 >; #declare B7 = < 12.0, 0.4, 0.3 >; #declare B8 = < 13.5, 0.0, 0.0 >; #declare B9 = < 3.5, 1.5, 5.0 >; #declare B10 = < 4.0, 1.0, 0.0 >; #declare B11 = < 12.0, 0.3, 0.4 >; #declare B12 = < 13.5, 0.0, 0.0 >; #declare B13 = < 3.5, 0.0, 3.5 >; #declare B14 = < 4.0, 0.0, 0.0 >; #declare B15 = < 12.0, 0.0, 0.5 >; #declare B16 = < 13.5, 0.0, 0.0 >; #declare D1 = < 3.5, -3.0, 0.0 >; #declare D2 = < 4.0, -2.5, 0.0 >; #declare D3 = < 12.0, -0.5, 0.0 >; #declare D4 = < 13.5, 0.0, 0.0 >; #declare D5 = < 3.5, -2.5, 4.5 >; #declare D6 = < 4.0, -2.0, 0.0 >; #declare D7 = < 12.0, -0.4, 0.3 >; #declare D8 = < 13.5, 0.0, 0.0 >; #declare D9 = < 3.5, -1.5, 5.0 >; #declare D10 = < 4.0, -1.0, 0.0 >; #declare D11 = < 12.0, -0.3, 0.4 >; #declare D12 = < 13.5, 0.0, 0.0 >; #declare D13 = < 3.5, 0.0, 3.5 >; #declare D14 = < 4.0, 0.0, 0.0 >; #declare D15 = < 12.0, 0.0, 0.5 >; #declare D16 = < 13.5, 0.0, 0.0 >; #declare patchA = bicubic_patch{ type 0 flatness 0.1 u_steps 4 v_steps 4, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16 texture { pigment { color rgb <0,0,0.4> } finish { ambient .2 diffuse .4 reflection 0.4 metallic} } } #declare patchC = bicubic_patch{ type 0 flatness 0.1 u_steps 4 v_steps 4, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16 texture { pigment { color rgb <0,0,0.4> } finish { ambient .2 diffuse .4 reflection 0.4 metallic} } } #declare patchB = bicubic_patch{ type 0 flatness 0.1 u_steps 4 v_steps 4, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16 texture { pigment { color rgb <0,0,0.5> } finish { ambient .2 diffuse .4 reflection 0.4 metallic} } } #declare patchD = bicubic_patch{ type 0 flatness 0.1 u_steps 4 v_steps 4, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16 texture { pigment { color rgb <0,0,0.5> } finish { ambient .2 diffuse .4 reflection 0.4 metallic} } } sphere{ A1, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A2, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A3, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A4, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A5, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A6, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A7, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A8, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A9, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A10, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A11, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A12, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A13, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A14, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A15, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ A16, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C1, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C2, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C3, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C4, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C5, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C6, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C7, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C8, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C9, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C10, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C11, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C12, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C13, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C14, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C15, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ C16, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B1, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B2, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B3, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B4, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B6, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B7, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B8, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B9, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B10, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B11, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B12, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B13, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B14, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B15, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ B16, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D1, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D2, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D3, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D4, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D5, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D6, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D7, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D8, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D9, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D10, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D11, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D12, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D13, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D14, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D15, 0.1 texture{ pigment{ color rgb <1,0,0> }}} sphere{ D16, 0.1 texture{ pigment{ color rgb <1,0,0> }}} object {patchA} object {patchC} object {patchB} object {patchD}