home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / pvrayfiles / EquPath / EquTest
Text File  |  1988-06-16  |  953b  |  52 lines

  1. // Persistence of Vision Raytracer
  2. // Sample File
  3. // © Scintillating Graphics Co.
  4.  
  5. // To test the little twister program.
  6. // In order to render, you will need to drag the  accompanying file
  7. // "Twisted" into the "Inc" directory inside the PVRay appliaction.
  8.  
  9. #include "<PVRay$Dir>.Dat.Colors"
  10. #include "<PVRay$Dir>.Dat.Shapes"
  11. #include "<PVRay$Dir>.Dat.Textures"
  12.  
  13. #declare TraceMe = quadric
  14.    QSphere
  15. end_quadric
  16.  
  17. #include "<PVRay$Dir>.Lib.Path"
  18.  
  19. object
  20.    Path
  21.    texture
  22.       colour CRed
  23.       phong 0.4
  24.       phongsize 60
  25.    end_texture
  26. end_object
  27.  
  28. object
  29.    plane <0 0 -1> -110 end_plane
  30.    texture
  31.       colour CBlue
  32.    end_texture
  33. end_object
  34.  
  35. object
  36.    sphere <0 0 0> 1 end_sphere
  37.    texture
  38.       colour White
  39.    end_texture
  40.    light_source
  41.    colour White
  42.    translate <5 20 -20>
  43. end_object
  44.  
  45. view_point
  46.    location  <0   5   0>
  47.    direction <0   0   1>
  48.    up        <0   1   0>
  49.    right     <1.3 0   0>
  50.    look_at   <0  0   50>
  51. end_view_point
  52.