// Exemplo de arquivo de descricao de cena para POV-ray // Fabio Massanori Sendo // 26 Maio 2001 // Last edited on 2001-05-27 15:28:02 by stolfi #include "colors.inc" camera { angle 10 location <25,45,85> look_at <0,0,0> } light_source { <200, 250, 150> color 1.2*White } // light_source { <100, 100, 100> color White } #declare tinta_Azul = texture { pigment { color rgb < 0.5, 0.5, 1 > } finish { diffuse 0.9 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_Verde = texture { pigment { color rgb < 0, 1, 0 > } finish { diffuse 0.9 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_Vermelho = texture { pigment { color rgb < 1, 0, 0 > } finish { diffuse 0.9 specular 0.5 roughness 0.005 ambient 0.1 } } // Os tres cilindros e somente para mostrar os eixos das coordenada #declare cilindroX = cylinder { < -100, 0, 0 >, < 109, 0, 0 >, 0.05 texture { tinta_Vermelho } } #declare cilindroY = cylinder { < 0,-100, 0 >, < 0, 100, 0 >, 0.05 texture { tinta_Azul } } #declare cilindroZ = cylinder { < 0, 0, -100 >, < 0, 0, 100 >, 0.05 texture { tinta_Verde} } #declare moeda = cylinder { < -0.1, 0, 0>, < 0.1, 0, 0>, 1 pigment {Blue} } #declare remo = union { //cabo cylinder { < 0, 0, 0>, < 3, 0, 0>, 0.07 pigment {Red} } object { moeda scale < 0.3, 0.3, 0.7> rotate 90*y translate <3,0,0> pigment {Red}} } #declare remoplano = union { // corpo object { moeda scale <1,1,5> } // asa maior object { moeda scale < 1,1,4> rotate 90*z rotate 90*y translate <0,0,-1.5> } // asa menor object { moeda scale < 1 , 0.7, 2> rotate 90*z rotate 90*y translate <0,0,4.2> } // leme object { moeda scale < 1 , 0.7, 1.5> rotate 90*x translate <0,1,4.2> } //remo 1 object { remo rotate -30*x rotate -30*z } // remo 2 object { remo rotate -30*x rotate -30*z translate <0,0,1> } //remo 3 object { remo rotate 30*x rotate -30*z rotate 180*y } // remo 4 object { remo rotate 30*x rotate -30*z rotate 180*y translate <0,0,1> } } union{ // somente para mostrar os eixos cartesianos // eixo X (Red) //object { cilindroX } // eixo Y (Blue) //object { cilindroY } // eixo Z (Green) //object { cilindroZ } object { remoplano} object { remoplano translate <10,0,0> } object { remoplano translate <-10,0,0> } object { remoplano translate <0,0,-15> } object { remoplano translate <5,0,15> } object { remoplano translate <-5,0,15> } object { remoplano translate <15,0,15> } object { remoplano translate <-15,0,15> } }