// MP004 - COMPUTACAO GRAFICA // NOME: LUCIANA RAMOS // RA: 7868 // TRABALHO DE LABORATORIO 1 // MONUMENTO AO PARAMETRO DESCONHECIDO //azul background{ color rgb < 0.30, 0.30, 1.00 > } light_source { < 6.00, 6.00, -1.50 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 6.00, 6.00, -1.50 > right < 0.00, 1.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, -0.70 > } #declare raio = 2.000; //amarrelo #declare tinta_A = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 0.7 specular 0.3 roughness 0.005 ambient 0.1 } } //laranha #declare tinta_B = texture { pigment { color rgb < 1.00, 0.60, 0.00 > } finish { diffuse 0.7 specular 0.3 roughness 0.005 ambient 0.1 } } //vermelho #declare tinta_C = texture { pigment { color rgb < 1.00, 0.20, 0.20 > } finish { diffuse 0.7 specular 0.3 roughness 0.005 ambient 0.1 } } #declare cilindro1 = cylinder { < +1.00, +1.00, +1.00 >, < 0.00, 0.00, 0.00 >, 0.5 texture { tinta_A } } #declare cone1 = cone { < 0.00, 0.00, 0.00 >, 0.50 < -1.50, -1.50, -1.50 >, 1.50 texture { tinta_B } } #declare cilindro2 = cylinder { < -1.50, -1.50, -1.50 >, < -3.00, -3.00, -3.00 >, 1.50 texture { tinta_C } } // Aqui está a cena, finalmente: union{ object{ cilindro1 } object{ cone1 } object{cilindro2 } }