// Marco Antonio Leao RA:971203 // 2a Atividade de Laboratorio de MC930 background{ color rgb < 0.90, 0.90, 0.90 > } light_source { < +9.00, 40.00, 5.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < +9.00, +13.00, +7.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < +9.00, -35.00, +5.00 > } #declare preto = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare azul = texture { pigment { color rgb < 0.10, 0.10, 0.90 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare branco = texture { pigment { color rgb < 0.95, 0.95, 0.95 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cabine = sphere { < +5.40, 0.00, +5.00 >, 3.50 scale < 1.666, 1, 1> texture { azul } } #declare roda1 = cylinder { < +6.00, +1.90, +2.00 >, < +6.00, +2.10, +2.00 > 1.00 texture { preto } } #declare roda2 = cylinder { < +6.00, -1.90, +2.00 >, < +6.00, -2.10, +2.00 > 1.00 texture { preto } } #declare roda3 = cylinder { < +12.00, +1.90, +2.00 >, < +12.00, +2.10, +2.00 > 1.00 texture { preto } } #declare roda4 = cylinder { < +12.00, -1.90, +2.00 >, < +12.00, -2.10, +2.00 > 1.00 texture { preto } } #declare base_helice = cylinder { < +9.00, 0.00, +8.50 >, < +9.00, 0.00, +9.50 > 0.20 texture { preto } } #declare helice = box { < +0.00, -0.30, +9.50 >, < +12.00, +0.30, +9.70 > rotate < 0.00, 0.00, 30.00 > translate < +4.0, -3.00, 0.00 > texture { branco } } #declare base_helice2 = cylinder { < +2.00, 0.00, 5.00 >, < +4.00, 0.00, 5.00 > 0.20 texture { preto } } #declare parte1hel = cone { < +2.00, 0.00, +5.00 > 0.30 < +2.00, 0.00, +6.50 > 0.00 scale < 1.00, 0.3, 1.00 > texture { branco } } #declare parte2hel = cone { < +2.00, 0.00, +5.00 > 0.30 < +2.00, 0.00, +3.50 > 0.00 scale < 1.00, 0.3, 1.00 > texture { branco } } union { object { cabine } object { roda1 } object { roda2 } object { roda3 } object { roda4 } object { base_helice } object { helice } object { base_helice2 } object { parte1hel } object { parte2hel } }