home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / raytrace / rayce27 / penumtst.r < prev    next >
Encoding:
Text File  |  1994-01-20  |  676 b   |  47 lines

  1. /* 
  2.  penumbra test. It doesn't look that good. A jittered grid would give much better
  3.  results.
  4. */
  5.  
  6.  
  7. #include "colors.inc"
  8.  
  9. camera { 
  10.   location <0, 1, -3>
  11.   look_at <0, 1, 0>
  12.   sky <0, 1, 0>
  13. aspect 1.333
  14.   fov 90
  15. }
  16.  
  17. options { 
  18.   antialias 0.75
  19.   iterations 15
  20. }
  21.  
  22. object { 
  23.   plane { <0 , 1, 0>, 0 }
  24.   texture { 
  25.     ambient color green 0.1
  26.     diffuse color green 0.7    
  27.   }
  28. }
  29.  
  30. #declare ShinyBlue  =  texture {
  31.   ambient color blue 0.2
  32.   diffuse color blue 0.7 red 0.2 green 0.2
  33.   specular color Grey30
  34.   roughness 0.1
  35. }
  36.  
  37. object { 
  38.   sphere { <0, 1, 0>, 1 }
  39.   texture { ShinyBlue }
  40. }
  41.  
  42. object {
  43.   light_source { <-10, 10, -5> color Grey80 radius 2 
  44.     scale <2, 2, 2>
  45.   }
  46. }
  47.