home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / raytrace / polyray / dat / misc / room0.pi < prev    next >
Encoding:
Text File  |  1993-01-23  |  736 b   |  39 lines

  1. // Data file for raytracing that matches the environment map example.
  2. background Midnight_Blue
  3. include "..\colors.inc"
  4.  
  5. define sphere_location <0, 0, 0>
  6. define light_location <-10, 30, -2>
  7.  
  8.  
  9. // The viewpoint will change based on what we are rendering.
  10. viewpoint {
  11.    from <0, 6, -8>
  12.    at <0, 0, 0>
  13.    up <0, 1, 0>
  14.    angle 60
  15.    resolution 256, 256
  16.    aspect 1
  17.    image_format 0
  18.    }
  19.  
  20. light light_location
  21.  
  22. // A mirrored sphere with characteristics matching the one
  23. // using the environment map.
  24. object {
  25.    sphere sphere_location, 2
  26.    texture {
  27.       surface {
  28.      color white
  29.      ambient 0.0
  30.      diffuse 0.2
  31.      specular 0.4
  32.      microfacet Phong 10
  33.      reflection 0.8
  34.      }
  35.       }
  36.    }
  37.  
  38. include "room2.inc"
  39.