home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / texture / smokring.pi < prev    next >
Text File  |  1994-12-31  |  873b  |  47 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <2,8,-6>
  7.    at <0,0,0>
  8.    up <0,1,0>
  9.    angle 40
  10.    resolution 320, 240
  11.    aspect 4/3
  12.    }
  13.  
  14. background white // <0, 0, 0>
  15. light 0.8*white, <-10, 20, -20>
  16. light 0.8*white, < -40, 40, 80>
  17.  
  18. include "../colors.inc"
  19. include "../texture.inc"
  20.  
  21. object {
  22.    box <-3, -0.5, -3>, <3, 0, 3>
  23.    // Variant of basic_ripple_texture
  24.    texture {
  25.       special reflective {
  26.      color 0.8*cyan
  27.      normal N + ripple_val
  28.      }
  29.       scale white/2
  30.       }
  31.    }
  32.  
  33. object {
  34.    torus 2, 1, <0, 0, 0>, <0, 1, 0>
  35.    // Variant of basic_ripple_texture
  36.    texture {
  37.       special matte {
  38.      color 0.8*white
  39.      normal N + ripple_val
  40.      transmission white, 0.4, 1.0
  41.      }
  42.       scale <0.1, 0.1, 0.1>
  43.       }
  44.    scale white/2
  45.    translate <0, 1.5, 0>
  46.    }
  47.