// Monica Ap. Pires Nascimento - RA 7873 // Prof. Stolfi - Mestrado Profissional - Computação Gráfica - TROFÉU // Last edited on 2001-06-02 21:28:12 by stolfi camera { location <16.00, 28.0, 36.0> right <-0.60, 0.00, 0.00 > up < 0.00, 0.80, 0.00 > sky < 0.00, 1.00, 0.00 > look_at < 0.00, 14.0, 0.00> } # declare cor_vermelha = < 2.0,0.0,0.0 >; # declare cor_branca = < 1.0,1.0,1.0 >; # declare cor_azul = < 0.0,0.0,1.0 >; // Carrega tabela de Texturas #include "textures.inc" #declare cor_cristal = texture { pigment { color rgb < 1.00, 1.00, 1.00 > } finish { diffuse 0.1 specular 0.20 roughness 0.001 ambient 0.1 reflection 0.45} pigment { color cor_branca filter 1} } #declare tintamarela = texture { pigment { color rgb < 1.50, 1.50, 0.00 > } finish { diffuse 0.5 specular 0.1 roughness 0.00005 ambient 0.1 } } # declare bolabranca = sphere { <0.40,22,0>,6.6 texture {cor_cristal} } // Anel Vermelho # declare anel = torus { 2, 1 translate <1, 8,-1> pigment { color cor_vermelha } } // Cores das luzes light_source { <90,90, 30> colour rgb < 1.7, 1.7, 0.00 > } plane { y, 0 pigment { checker < 0.0,0.0,1.90>, < 0.90,0.90,0.90 >} finish { ambient 0.2 diffuse 0.8 specular 0.1 roughness 0.001 } } // Definição do SOR // he float value Number_Of_Points specifies the number of 2-D vectors which follow. // The points through are two-dimensional vectors consisting of // the radius and the corresponding height, i.e. the position on the rotation axis. // sor { Number_Of_Points, //, , ... //[ open ] //[SOR_MODIFIERS...] //} #declare trofeu = sor { 13, <0.148, 0.000> <0.189, 0.000> <0.154, 0.096> <0.075, 0.123> <0.070, 0.164> <0.129, 0.223> <0.070, 0.281> <0.108, 0.354> <0.075, 0.436> <0.175, 0.536> <0.240, 0.672> <0.327, 1.000> <0.290, 1.000> open } // Figura Final object { trofeu // texture { titamarela } texture { Copper_Metal } scale <20, 20, 20> } object { bolabranca hollow interior {ior 1.5 }} object { anel }