// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi background{ color rgb < 0.2, 0.2, 0.15 > } light_source { < -4.00, 8.00, 20.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, 0.00, 17.00 > sky < 0.00, 1.00, 17.00 > look_at < 0.00, 0.00, 0.00 > } #declare bolha = sphere { <0,0,0>, 5 pigment { color rgb <.2,.75,1.0> transmit .65 } } #declare letrab = union { union { box { <3,0,1>, <1.5,1,-1> } cylinder { <1.5,.5,1>, <1.5,.5,-1>, 0.5 } } union { box { <3,-2,1>, <1,-.5,-1> } cylinder { <1,-1.25,1>, <1,-1.25,-1>, 0.75 } } texture { pigment {color rgb <0,1,0>} finish {phong 1} } } #declare letrac = union { difference { cylinder { <0,0,1>, <0,0,-1>, 1.5 scale x*0.8333 } box { <0,-1.6,1.1>, <-1.5,1.6,-1.1> } translate <-1.5,-.5,0> } difference { difference { cylinder { <0,0,1>, <0,0,-1>, 1.5 scale x*0.6667 } box { <0,-1.6,-1.1> <1.1,1.6,1.1> } } box { <0,-.25,-1.1> <-1.1,.25,1.1> } translate <-2,-.5,0> } texture { pigment {color rgb <0,1,0>} finish {phong 1} } } #declare texto = text { ttf "arial.ttf" "BUBBLE CORP" 1.0 0.0 rotate y*180 scale .7 translate <2.7,-2.8,.5> texture { pigment { color rgb <1,1,1> } finish {phong 1} } } #declare textotm = text { ttf "arial.ttf" "TM" 1.0 0.0 rotate y*180 scale .6 translate <-2.7,-2.5,.5> texture { pigment { color rgb <1,1,1> } finish {phong 1} } } #declare tudo = union { object {bolha} union { union { object {letrab} object {letrac} } union { object {texto} object {textotm} } rotate y*clock*360 } translate <5*sin((1-clock)*6.28),(1-clock)*-10,0> } // Aqui está a cena, finalmente: tudo