home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / st3 / st.pov < prev    next >
Encoding:
Text File  |  1993-04-16  |  2.9 KB  |  133 lines

  1. //-------------- Train Station 1993
  2.  
  3.     #include "stat.inc"
  4.      #include "texture.inc"
  5.     #include "toytrain.inc"
  6.     #include "turn16-x.inc"
  7.     #include "platform.inc"
  8.     #include "fish.inc"
  9.     #include "world.inc"
  10.  
  11.  
  12. //---- Final Camera
  13. #declare Cam1 =
  14. camera {
  15.     location <1200 450 -1770>
  16.     direction <0 0 2>
  17.     up <0 1 0>
  18.     right <1.333 0 0>
  19.     look_at <-50 160 0>
  20. }
  21.  
  22. #declare Cam2 =
  23. camera {
  24.     location <50 50 -700>
  25.     direction <0 0 1.5>
  26.     up <0 1 0>
  27.     right <1.333 0 0>
  28.     look_at <50 -50 0>
  29. }
  30.  
  31. #declare Cam3 =
  32. camera {
  33.     location <1200 450 -1770>
  34.     direction <0 0 2>
  35.     up <0 1 0>
  36.     right <1.333 0 0>
  37.     look_at <-50 -160 0>
  38. }
  39.  
  40. //---- Close-up of stairs
  41. #declare Cam4 =
  42. camera {
  43.     location <1200 450 -1770>
  44.     direction <0 0 2>
  45.     up <0 1 0>
  46.     right <1.333 0 0>
  47.     look_at <-50 0 0>
  48. }
  49.  
  50. camera { Cam1 }
  51.  
  52.  
  53. //--- Lights
  54. object { light_source { <4000 300 -2000> color White }} 
  55. object { light_source { <-1000 2000 -3000> color White }}
  56. object { light_source { <-4000 5000 -1500> color White }}
  57. object { light_source { <5000 1000 15000> color White }}
  58. object { light_source { <3000 800 -200> color White }}
  59.  
  60.  
  61.  
  62. //-------------------------------- Scene
  63.  
  64.  
  65.     composite { station_wall scale <4 4 4> translate <0 3.5 0> }
  66.     composite { station_wall scale <4 4 4> translate <30 3.5 1600 > }
  67.     
  68.     //--- Station Roof
  69.     object {
  70.        box { UnitBox scale <3000 1 1000> translate <3000 525 1000> }
  71.            texture {
  72.         color Gray60
  73.            }
  74.     }     
  75.  
  76.     composite { cross_rail translate <-162 60 -470> }
  77.     composite { cross_rail translate <-132 60 2470> }
  78.     composite { cross_rail rotate <0 90 0> translate <-430 60 -220 > }
  79.     composite { cross_rail rotate <0 90 0> translate <-430 60 270 > }
  80.     composite { cross_rail translate <810 60 -470> }
  81.  
  82.     object { fat_post translate <-430 60 -470> }
  83.     object { fat_post translate <-430 60 25> }
  84.     object { fat_post translate <-430 60 515> }
  85.     object { fat_post translate <-410 60 2470> }
  86.     object { fat_post translate <60 60 2470> }
  87.     object { fat_post translate <60 -65 -760> }
  88.     object { fat_post translate <520 -65 -760> }
  89.  
  90.     object { vase translate <-430 150 -470> }
  91.     object { vase translate <-430 150 25> }
  92.     object { vase translate <-430 150 515> }
  93.     object { vase translate <-410 150 2470> }
  94.     object { vase translate <60 150 2470> }
  95.     object { vase translate <60 25 -760> }
  96.     object { vase translate <520 25 -760> }
  97.     object { vase translate <60 150 -470> }
  98.     object { vase translate <540 150 -470> }
  99.  
  100.     object { bridge translate <-870 -320 800> }
  101.     object { bridge translate <-1670 -320 800> }
  102.     object { bridge translate <-2470 -320 800> }
  103.     object { bridge translate <-3270 -320 800> }
  104.  
  105.  
  106.  
  107. //--- Fish come through left entrance
  108. composite { 
  109.     Fish
  110.     scale <5 5 5>
  111.     rotate <0 -90 0>
  112.     translate <0 250 -20>
  113. }
  114.  
  115.  
  116. //--- Fish High
  117. composite { 
  118.     Fish
  119.     scale <2.5 2.5 2.5>
  120.     rotate <0 -90 0>
  121.     translate <500 500 -500>
  122. }
  123.  
  124. //--- Front Fish
  125. composite { 
  126.     Fish
  127.     scale <4.9 4.9 4.9>
  128.     rotate <0 -80 0>
  129.     translate <300 200 -850>
  130. }
  131.  
  132.  
  133.