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

  1. // Small motion blur test a la Cook & Porter (but without 1984 :)
  2.  
  3. #include "colors.inc"
  4.  
  5. #declare ShinyBlue  =  texture {
  6.     ambient color blue 0.2
  7.     diffuse color blue 0.7 red 0.2 green 0.2
  8.     specular color white
  9.     roughness 0.1    
  10. }
  11.  
  12.  
  13. options {
  14.   time 0.0, 0.5
  15.   iterations 20
  16. }
  17.  
  18. object { 
  19.    sphere { <-0.5, 0, 0>, 1 }
  20.    texture { ShinyBlue }
  21.    speed <1, 0, 0>    
  22. }
  23.  
  24. object {
  25.       sphere { <-0.3, -2, 0.2>, 1 }
  26.     texture {
  27.         ambient color green 0.1 blue 0.1
  28.        diffuse color green 0.1 blue 0.1
  29.         specular color red 0.1 green 0.3 blue 0.3
  30.        reflection color red 1 green 1 blue 0.3
  31.        reflection 0.5
  32.        roughness 0.01
  33.     }
  34. }
  35.  
  36. camera {  
  37.     location <0, 0, -6>
  38.     direction <0, 0, 1>
  39.     sky <0, 1, 0>
  40.     fov 30
  41. }
  42.  
  43. object {
  44.   light_source { <-10, 10, -10> color white }
  45. }
  46.  
  47.