#default { finish { ambient 0.4 } } camera { up <0, 1, 0> right <1, 0, 0> location <6,3,-3> look_at <0,0,-0.5> angle 20 } #include "colors.inc" #declare chrome = texture { pigment { color rgb <0.6,0.6,0.6> } finish { specular 0.5 reflection 0.7 roughness 0.005 metallic } } #declare clearred = texture { pigment { color rgbf <0.75,0,0,0.7> } finish { diffuse 0.6 specular 0.4 } } #declare greenpaint = texture { pigment { color rgb <0 1 0> } finish { specular 0 reflection 0 diffuse 0.7 } } #declare offwhitepaint = texture { pigment { color rgb <0.9 0.9 0.8> } finish { specular 0 reflection 0 diffuse 0.7 } } #declare blackrubber = texture { pigment { color rgb <0.2 0.2 0.2> } finish { specular 0 reflection 0 diffuse 0.7 } } #declare yellowplastic = texture { pigment { color rgb <0.95 0.95 0> } finish { specular 0.2 diffuse 0.8 } } background { color Black } light_source { <10,10,-10> color rgb <0.7,0.7,0.7> } light_source { <-5,10,-10> color rgb <0.4,0.4,0.4> } //box { <-15,0,-15> <15,-1,15> texture { offwhitepaint } } box { <-15,-15,0> <15,15,1> texture { offwhitepaint } } cylinder { <-5,0,0> <5,0,0> 0.005 texture { greenpaint } } cylinder { <0,0,5> <0,0,-5> 0.005 texture { greenpaint } } cylinder { <0,-5,0> <0,5,0> 0.005 texture { greenpaint } } text { ttf "cyrvetic.ttf" "-Z" 0.1 0 scale 0.25 rotate -90*y translate <-0.05,0.05,-1.5> texture { greenpaint } } text { ttf "cyrvetic.ttf" "X" 0.1 0 scale 0.25 translate <0.75 ,0.05,-0.1> texture { greenpaint } } text { ttf "cyrvetic.ttf" "Y" 0.1 0 scale 0.25 translate <0.15 ,0.75,-0.1> texture { greenpaint } } #include "horseshoe_magnet.pov" object { horseshoe_magnet } object { horseshoe_magnet rotate 90*x rotate 90*z translate <-0.8,0,-0.8> } object { horseshoe_magnet rotate 90*x rotate 202*y translate <0.9,-0.9,-1> }