// Joao Amancio Junior RA007877 MP004 - Computacao Grafica // 30/06/2001 - 14:00 hs // Last edited on 2001-07-31 16:15:13 by stolfi #include "colors.inc" #include "colors.inc" #include "metals.inc" #include "golds.inc" #include "stones1.inc" #include "textures.inc" background{ color rgb < 1.0, 1.0, 1.0 > } camera { location 0.5*< 13, 9, 25 > //visao geral right < 0.40, 0.00, 0.00> up < 0.00, 0.00, 0.30> sky < 0.00, 0.00, 1.00> look_at <0,0,1> } light_source { < 10, 200, 50> color 1.1*White } #declare prata = T_Silver_3C #declare eixoX = cylinder { < -10, 0, 0 >, < 10, 0, 0 >, 0.01 pigment { Green } } #declare eixoY = cylinder { < 0,-10, 0 >, < 0, 10, 0 >, 0.01 pigment { Blue } } #declare eixoZ = cylinder { < 0, 0, -10 >, < 0, 0, 10 >, 0.01 pigment { Red} } #declare piso = box { < -5.00, -5.00, -1.00 >, < 5.00, 5.00, 0.00 > texture { prata } } plane{y, -10 pigment{checker color White color Blue}} //plane{x, -10 pigment{checker color White color Green}} //plane{z, -10 pigment{checker color White color Grey}} //plane{y, -10 pigment{Blue}} //plane{x, -10 pigment{Green}} //plane{z, -10 pigment{Red}} #declare ouro = T06 // object {piso} // eixoX // eixoY // eixoZ #declare bezier_A = bicubic_patch { type 1 flatness 0.0100 u_steps 5 v_steps 5, < 0, -1.5, 0.9>, < 0.4, -1.5, 0.6>, < 0.7, -1.5, 0.3>, < 0.9, -1.5, 0.0>, < 0.0, 0.3, 1.2>, < 1.3, 0.3, 1.0>, < 1.3, 0.3, 0.5>, < 1.2, 0.3, 0.0>, < 0, 2.0, 0.6>, < 0.2, 2.0, 0.4>, < 0.4, 2.0, 0.2>, < 0.6, 2.0, 0.0>, < 0, 3.0, 0>, < 0.0, 3.0, 0.0>, < 0.0, 3.0, 0.0>, < 0.0, 3.0, 0.0> pigment { Green } finish {ambient 0.1 diffuse 0.3 reflection 0.3*Green+0.3*White} } #declare bezier_B = bicubic_patch { type 1 flatness 0.0100 u_steps 5 v_steps 5, < 0, -1.5, 0.9>, < 0.4, -1.5, 0.6>, < 0.7, -1.5, 0.3>, < 0.9, -1.5, 0.0>, < 0.0, -2.0, 0.7>, < 0.3, -2.0, 0.5>, < 0.5, -2.0, 0.3>, < 0.7, -2.0, 0.0>, < 0.0, -2.5, 0.5>, < 0.3, -2.5, 0.4>, < 0.4, -2.5, 0.3>, < 0.5, -2.5, 0.0>, < 0.0, -3.0, 0.0>, < 0.0, -3.0, 0.0>, < 0.0, -3.0, 0.0>, < 0.0, -3.0, 0.0> pigment { Red } finish {ambient 0.1 diffuse 0.3 reflection 0.3*Red+0.3*White} } #declare bezier_C = bicubic_patch { type 1 flatness 0.0100 u_steps 5 v_steps 5, < 0.0, -1.5, 0.9>, < 0.1, -1.8, 1.4>, < 0.1, -2.1, 1.9>, < 0.1, -2.2, 2.2>, < 0.1, -2.0, 0.7>, < 0.1, -2.2, 1.2>, < 0.1, -2.4, 1.7>, < 0.1, -2.6, 2.1>, < 0.1, -2.5, 0.5>, < 0.1, -2.8, 1.1>, < 0.1, -3.0, 1.3>, < 0.1, -3.3, 1.9>, < 0.1, -3.0, 0.0>, < 0.1, -3.3, 0.4>, < 0.1, -3.4, 1.1>, < 0.1, -3.5, 1.8> pigment { Green } finish {ambient 0.1 diffuse 0.3 reflection 0.3*Green+0.3*White} } union { object {bezier_A} object {bezier_B} object {bezier_C} object {bezier_A scale <-1,1,1>} object {bezier_B scale <-1,1,1>} }