home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_060 / pov3demo / other / ifelse3.pov < prev    next >
Text File  |  1997-12-12  |  324b  |  16 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // Illustrates that #if #else can be nested and it works with #include
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #if (clock > 0.5)
  8.   #if (clock < 2.0)
  9.     #include "shear1.pov"
  10.   #else
  11.     #include "shear2.pov"
  12.   #end
  13. #else
  14.   #include "shear3.pov"
  15. #end
  16.