home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / clpl / clpl.pov < prev    next >
Encoding:
Text File  |  1994-05-14  |  2.0 KB  |  85 lines

  1. /*
  2.  
  3. Cloudy Planet for PovRay Version 2.1
  4.  
  5. Crafted By Editor, Whirl3d and POVRAY (Cheers team, great software.)
  6.  
  7. Created by Mike Young.
  8.  
  9. */
  10.  
  11. #include "colors.inc"    // The include files contain
  12. #include "shapes.inc"    // pre-defined scene elements
  13. #include "shapes2.inc"   // pre-defined scene elements
  14. #include "textures.inc"
  15.  
  16. #declare Object_Size = 1.25
  17. #declare MyFinish = finish { ambient .3 reflection .3 }
  18.  
  19. #declare Xloc = 60    // Camera position
  20. #declare Yloc = -85
  21. #declare Zloc = -60
  22.  
  23. #declare LXloc = 100    // Light position
  24. #declare LYloc = -100
  25. #declare LZloc = -20
  26.  
  27. camera {
  28.  location <Xloc,Yloc,Zloc>
  29.  direction < 0 , 0, 1>
  30.  look_at <0,0,0>
  31. }
  32.  
  33. light_source {
  34.  <LXloc,LYloc,LZloc> color White
  35. }
  36.  
  37.  
  38. #declare Point001_Texture = texture { pigment {Red} finish {MyFinish}}
  39. #declare Point002_Texture = texture { pigment {Green} finish {MyFinish}}
  40. #declare Point003_Texture = texture { pigment {Blue} finish {MyFinish}}
  41. #declare Point004_Texture = texture { Silver_Metal finish {MyFinish}}
  42. #declare Point005_Texture = texture { Chrome_Metal finish {MyFinish}}
  43.  
  44. #declare Point001_Object = sphere { <0,0,0>,Object_Size no_shadow}
  45. #declare Point002_Object = sphere { <0,0,0>,Object_Size no_shadow}
  46. #declare Point003_Object = sphere { <0,0,0>,Object_Size no_shadow}
  47. #declare Point004_Object = sphere { <0,0,0>,Object_Size no_shadow}
  48. #declare Point005_Object = sphere { <0,0,0>,Object_Size no_shadow}
  49.  
  50. sphere { < 0, 0, 0>, 25
  51.  texture  {
  52.   pigment {bozo
  53.    color_map {
  54.     [0  color Clear]
  55.     [.1 color Red]
  56.     [.5 color Yellow]
  57.     [.9 color Red]
  58.     [1  color Clear]
  59.    }
  60.    turbulence 0.2  lambda .2  omega 0.25  octaves 4
  61.   scale 8
  62.   }
  63.  finish {ambient .3}
  64.  }
  65.  rotate y*clock
  66.  no_shadow
  67. }
  68.  
  69. sphere { < 0, 0, 0>, 30
  70.  texture  {
  71.   pigment {bozo
  72.    color_map {
  73.     [0   color Clear]
  74.     [.35 color White]
  75.     [.37 color Clear]
  76.     [.4  color Gray20]
  77.     [.45 color Clear]
  78.    }
  79.    scale 2
  80.   }
  81.  }
  82.  rotate y*(360-clock)
  83. }
  84.  
  85.