// TP06 - Povvy // Andre L Bordignon - entregue via e-mail // Last edited on 2001-06-25 00:41:17 by stolfi #include "colors.inc" camera { location < 32.00, 7.00, 12.00 > * 0.8 right < -0.80, 0.00, 0.00 > up < 0.00, 0.00, 0.60 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 3.0 > } light_source { < 17.00, 9.00, 15.00 > color rgb 1.2 * < 1.00, 1.00, 1.00 > } background { color White } #declare eixoX = cylinder { < -15, 0, 0 >, < 15, 0, 0 >, 0.1 pigment { Green } } #declare eixoY = cylinder { < 0,-15, 0 >, < 0, 15, 0 >, 0.1 pigment { Blue } } #declare eixoZ = cylinder { < 0, 0, -15 >, < 0, 0, 15 >, 0.1 pigment { Red } } #declare base = union { box { <2.0, -6.0, -3.0>, < -2.0, -2.0, 0.0 > pigment{ Yellow } } box { <2.0, -2.0, -3.0>, < -2.0, 2.0, 3.0 > pigment{ Yellow } } box { <2.0, 2.0, -3.0>, < -2.0, 6.0, 1.0 > pigment{ Yellow } } } #declare pote = cylinder { < 0.0, 0.0, 3.0>, < 0.0, 0.0, clock*5.0 + 3.0001 >, clock*2.0 rotate clock*360*z pigment{checker color Orange color Blue} } #declare concorrente1 = cylinder { < 0.0, 0.0, 0.0>, < 0.0, 0.0, 2.8*(2.1 - clock)>, 2.0*(1.0 - clock) rotate clock*360*z translate < 0.0, -4.0, 0.0> pigment{checker color Black color White} } #declare concorrente2 = cylinder { < 0.0, 0.0, 1.0>, < 0.0, 0.0, 2.8*(2.1 - clock)>, 2.0*(1.0 - clock) rotate clock*360*z translate < 0.0, 4.0, 0.0> pigment{checker color Yellow color Red} } #declare numero1 = text { ttf "arial.ttf" "1" 0.2, 0.0 pigment{ Black } scale 2 rotate 90*x rotate 90*z translate <2.0, 0.0, 1.0> } #declare numero2 = text { ttf "arial.ttf" "2" 0.1, 0.0 pigment{ Black } scale 2 rotate 90*x rotate 90*z translate <2.0, 4.0, -2.0> } #declare numero3 = text { ttf "arial.ttf" "3" 0.1, 0.0 pigment{ Black } scale 2 rotate 90*x rotate 90*z translate <2.0, -5.0, -2.8> } #declare rotulo = union { text { ttf "arial.ttf" "Voce Nunca" 0.1, 0.0 pigment{ Black } scale clock rotate 90*x rotate 90*z translate <2.1, -3.0, -1.0> } text { ttf "arial.ttf" "tomou nada igual" 0.1, 0.0 pigment{ Black } scale clock rotate 90*x rotate 90*z translate <2.1, -3.7, -2.0> } } #declare painel = box { <2.1, -4.0, -2.0>, < 2.0, 4.0, 0.0 > pigment{ White } } //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 Red}} //eixoX //eixoY //eixoZ object { union { object{ base } object{ painel } object{ pote } object{ concorrente1 } object{ concorrente2 } object{ numero1 } object{ numero2 } object{ numero3 } object{ rotulo } } }