home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / p / ply15dat.zip / TOOTH.PI < prev    next >
Text File  |  1992-10-23  |  611b  |  29 lines

  1. // Tooth File 
  2. // Polyray input file: Jeff Bowermaster
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <5, 3,-5>
  7.    at   <0, 0,  0>
  8.    up   <0, 1,  0>
  9.    angle 30
  10.    resolution 160,160
  11.    aspect 1
  12.    }
  13.  
  14. // Get various surface finishes
  15. include "..\colors.inc"
  16.  
  17. // Set up background color & lights
  18. background black
  19. light 0.7*white, <-1, 5, -10>
  20. light 0.7*white, < 10, 2, 0>
  21.  
  22. // Pillow/Tooth object from the back cover of the 1992 Siggraph proceedings
  23. object {
  24.    polynomial x^4 + y^4 + z^4 - (x^2 + y^2 + z^2)
  25.    root_solver Ferrari
  26.    bounding_box <-2, -2, -2>, <2, 2, 2>
  27.    shiny_red
  28.    }
  29.