home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / vfabov.pov < prev    next >
Encoding:
Text File  |  1993-10-27  |  5.9 KB  |  179 lines

  1. // Persistence of Vision Raytracer Version 2.0 scene file.
  2. // Copyright 1993 James W.Devonshire
  3. // CompuServe 71510,3265
  4.  
  5. // VFABOVE..View From Above
  6. // Scene file depicts a satellite orbiting above the Canadian part
  7. // of North America. A beam of light being projected represents
  8. // a "visual" television transmission to my neighbor's satellite dish
  9. // located in the province of Ontario, in the south central town of Erin.
  10.  
  11. // This file does not require include files.
  12.  
  13. // Stars.gif is an image used to create the background starfield as an image_map.
  14. // Terrain.gif is an image used to create the contient's terrain as a bump_map.
  15. // Crater5.gif is an image used to create the moon's surface as a bump_map.
  16. // Northam.gif is an image used to create the continent as a height_field.
  17.  
  18. // Due to time restraints, none of these GIFs have been uploaded with this
  19. // scene file. Sorry!
  20.  
  21. //Satellite Body ***************************************************************
  22. #declare Sat =
  23. object {
  24. union {
  25. union {
  26. sphere {   <-7,0,0>,10 }
  27. cylinder { <-12,0,0>,<12,0,0>,10 }
  28. cylinder { <-8,0,0>,<-7,0,0>,11 }
  29. cylinder { <-4,0,0>,<-3,0,0>,11 }
  30. cylinder { <-1.5,0,0>,<1.5,0,0>,10.2 }
  31. cylinder { <4,0,0>,<3,0,0>,11 }
  32. cylinder { <8,0,0>,<7,0,0>,11 }
  33.     pigment { color rgb <0.05,0.05,0.05> }
  34.     finish { ambient 0.3 diffuse 0.7 brilliance 8 reflection 0.15
  35.          specular 1 roughness 0.1 }
  36. bounded_by { box { <-13,-13,-13>,<13,13,13> } } }
  37.  
  38. // 1st Set of Solar Panels ********************************************
  39. union {
  40.      box { <-15,-0.3,-0.3>,<15,0.3,0.3>  
  41.     pigment { color rgb <0.15,0.15,0.15> }
  42.     finish { ambient 0.3 diffuse 0.7
  43.          specular 1 roughness 0.05 }}
  44.     box { <-50,-0.5,-10>,<-15,0.5,10> 
  45.     pigment { checker color rgb <0.05,0.05,0.05>
  46.                           color rgb <0.560784,0.560784,0.737255> }
  47.     finish { ambient 0.5 diffuse 0.7
  48.          specular 1 roughness 0.05 }}
  49.     box { <15,-0.5,-10>,<50,0.5,10>  
  50.     pigment { checker color rgb <0.05,0.05,0.05>
  51.                           color rgb <0.560784,0.560784,0.737255> }
  52.     finish { ambient 0.5 diffuse 0.7
  53.          specular 1 roughness 0.05 } }
  54. bounded_by { box { <-60,-1,-11>,<60,1,11> } }
  55.  
  56. scale <2,1,1>
  57. rotate <45,0,0>
  58. rotate <0,90,0>
  59. rotate <45,0,0>  }
  60.  
  61. // 2nd Set of Solar Panels *******************************************
  62. union {
  63.      box { <-15,-0.3,-0.3>,<15,0.3,0.3>  
  64.     pigment { color rgb <0.15,0.15,0.15> }
  65.     finish { ambient 0.3 diffuse 0.7
  66.          specular 1 roughness 0.05 }}
  67.     box { <-50,-0.5,-10>,<-15,0.5,10> 
  68.     pigment { checker color rgb <0.05,0.05,0.05>
  69.                           color rgb <0.560784,0.560784,0.737255> }
  70.     finish { ambient 0.5 diffuse 0.7
  71.          specular 1 roughness 0.05 }}
  72.     box { <15,-0.5,-10>,<50,0.5,10>  
  73.     pigment { checker color rgb <0.05,0.05,0.05>
  74.                           color rgb <0.560784,0.560784,0.737255> }
  75.     finish { ambient 0.5 diffuse 0.7
  76.          specular 1 roughness 0.05 }}
  77.  
  78. bounded_by { box { <-60,-1,-11>,<60,1,11> } }
  79.  
  80.  scale <2,1,1>
  81. rotate <45,0,0>
  82. rotate <0,90,0>
  83. rotate <-45,0,0>  } 
  84.  
  85. // Antennas horizontal *************************************************
  86. union {
  87. cylinder { <10,0,0>,<20,70,0>,1 
  88.     pigment { color rgb <1,1,0> }
  89.     finish { ambient 0.3 diffuse 0.7 brilliance 8 reflection 0.15
  90.          specular 1 roughness 0.1 } }
  91. cylinder { <10,0,0>,<20,-70,0>,1 
  92.     pigment { color rgb <1,1,0> }
  93.     finish { ambient 0.3 diffuse 0.7 brilliance 8 reflection 0.15
  94.          specular 1 roughness 0.1 } }
  95. bounded_by { box { <11,-71,-1>,<21,71,1> } }
  96.  
  97. rotate x*90
  98. }
  99.  } }
  100.  
  101. object { Sat scale 0.04    rotate -y*70 translate <-5,6,0>    no_shadow }
  102.  
  103. // Visible ?? T.V. Transmission Beam
  104. cone { < 3,0,-9 >, 0.3, < -5, 6, 0>,0 
  105.     pigment { color rgb <1,1,1> filter 0.8 }
  106.     finish { ambient 0.3 diffuse 0.7  }
  107. no_shadow
  108. }
  109.  
  110. // The Continent ********************************************************
  111. object { height_field { gif "northam.gif" water_level 0.001 }
  112.     translate <-0.5, -0.5, -0.5>
  113.     scale <50, 1, 50>
  114.     translate <-5, 0.5, 0>
  115. texture { pigment { color rgb <0,0.2,0> }
  116. normal { bump_map {  gif "terrain.gif" interpolate 2 bump_size 1.0 use_index  }
  117.      rotate <90, 0, 0> translate <-0.5, -0.5, -0.5> }
  118. finish { ambient 0.5  diffuse 0.7 phong_size 0 roughness 0.00001 brilliance 0 ior 0  }
  119.        scale <30, 1, 30> } }
  120.  
  121. // Planet Earth *****************************************************
  122. object {
  123.    sphere { <0, -500, 0>, 500 }
  124. texture {
  125.    pigment { color red 0.0 green 0.0 blue 0.3  }
  126.    normal { ripples 0.8 frequency 10000.0 }
  127.    finish { ambient 0.3  diffuse 0.7 specular 1 roughness 0.05 reflection 0.3 }
  128.       scale 500  }
  129.         bounded_by { sphere { <0,-500,0>,501 } } }
  130.  
  131. // Clouds ******************************************************
  132. object {
  133.    sphere { <0,-500,0>,502 }
  134. texture {
  135.    pigment { bozo turbulence 1
  136.       colour_map {
  137.          [0.0 0.4 color rgb <1,1,1> filter 1.0  color rgb <1,1,1> filter 1.0]
  138.          [0.4 0.9 color rgb <1,1,1> filter 1.0  color rgb <1,1,1> ]
  139.          [0.9 1.0 color rgb <1,1,1>  color rgb <1,1,1> ]  }
  140. }
  141.  finish { ambient 0.1  diffuse 0.7   }
  142.       scale <5, 2, 5>
  143.       rotate <30, 0, -50> }
  144.         bounded_by { sphere { <0,-500,0>,503 } } }
  145.  
  146. // Star Field *****************************************************
  147. object {
  148.    plane { <0, 0, 1>, 260 }
  149. texture {
  150.     pigment {
  151.             image_map { gif "stars.gif" map_type 0 interpolate 2 } }
  152.     finish { ambient 6  diffuse 0  }
  153.     scale <50.0 50.0 50.0> } }
  154.  
  155. // Moon *********************************************************
  156. object {
  157.    sphere { <40,-20,280>, 30 }
  158. texture {    
  159.    pigment { color rgb <0.35,0.35,0.35> } 
  160.     normal { bump_map { gif "crater5.gif" map_type 0
  161.              bump_size 3 interpolate 2 } }
  162. finish { ambient 0.2  diffuse 0.7 }
  163.     translate <-0.5,-0.5,0>
  164.         scale <40,25,25>  }
  165. bounded_by { sphere { <40,-20,280>,31 } } }
  166.  
  167.  
  168. camera {
  169.    location <0, 10,-20>
  170.    direction <0, 0, 1>
  171.    up <0, 1, 0>
  172.    right <1.3, 0, 0>
  173.    look_at <0,0,0>
  174. }
  175.  
  176. light_source { <250, 250, -250> color rgb <0.7,0.7,0.7> }
  177. light_source { <500, 500, 0> color rgb <0.6,0.6,0.6> }
  178.  
  179.