home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / p / ply15dat.zip / MYNAME.PI < prev    next >
Text File  |  1992-09-19  |  951b  |  47 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from < 5.678, 2.142, -13.709 >
  7.    at < 5.678, 0, 0>
  8.    up < 0, 1, 0 >
  9.    angle 45
  10.    hither 1
  11.    resolution 320, 200
  12.    aspect 1.333
  13.    }
  14.  
  15.  
  16. background <0, 0, 0>
  17. light <-10,20,-20>
  18.  
  19. // Get the default textures
  20. include "..\colors.inc"
  21.  
  22. // Define a texture for my name
  23. define mtex
  24. texture {
  25.    noise surface {
  26.       position_fn 1
  27.       lookup_fn 1
  28.       octaves 4
  29.       turbulence 3
  30.       ambient 0.2
  31.       diffuse 0.6
  32.       specular 0.7
  33.       microfacet Reitz 10
  34.       color_map(
  35.          [0.0, 0.8, <1, 1, 1>, <0.6, 0.6, 0.6>]
  36.          [0.8, 1.0, <0.6, 0.6, 0.6>, <0.1, 0.1, 0.1>])
  37.       }
  38.    scale <0.5, 0.5, 0.5>
  39.    }
  40.  
  41. include "myname.inc"
  42.  
  43. object {
  44.    polygon 4, <-40,-0.1, -40>, <-40,-0.1, 40>, <40,-0.1, 40>, <40,-0.1, -40>
  45.    texture { checker mirror, reflective_coral scale <2, 1, 2> }
  46.    }
  47.