home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_040 / pov3demo / surfaces / pignorm.inc < prev    next >
Text File  |  1997-12-12  |  849b  |  64 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // Used by pigment/normal pattern example scenes
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. camera {
  8.   location <0,1,-14>
  9.   direction 3*z
  10. }
  11.  
  12. plane {
  13.   y, -1.01
  14.   pigment {checker White, Magenta}
  15. }
  16.  
  17. plane {
  18.   z, 3.01
  19.   pigment {checker White, Magenta}
  20. }
  21.  
  22. light_source { <300, 500, -500> color Gray65}
  23. light_source { <-50,  10, -500> color Gray65}
  24.  
  25. sphere {0,1
  26.   texture{T1}
  27.   translate <-2, 2, 0>
  28. }
  29.  
  30. sphere {0,1
  31.   texture{T2}
  32.   translate -2*x
  33. }
  34.  
  35. cylinder{
  36.   -z,z,1 
  37.   scale .75
  38.   texture{T1}
  39.   rotate <-30,30,0>
  40.   translate 2*y
  41. }
  42.  
  43. cylinder{
  44.   -z,z,1 
  45.   scale .75
  46.   texture{T2}
  47.   rotate <-30,30,0>
  48. }
  49.  
  50. box{<-1,-1,-1>,<1,1,1>
  51.   scale .75
  52.   texture{T1}
  53.   rotate <-30,30,0>
  54.   translate <2,2,0>
  55. }
  56.  
  57. box{<-1,-1,-1>,<1,1,1>
  58.   scale .75
  59.   texture{T2}
  60.   rotate <-30,30,0>
  61.   translate 2*x
  62. }
  63.  
  64.