home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / enzykbad / sun.dat < prev    next >
Encoding:
Text File  |  1996-08-14  |  1.8 KB  |  70 lines

  1. # The data of a particular octahedron
  2. # these coordinates are used since the game needs a face with
  3. # normal (0,0,1)
  4. # Zeye .. for perspective
  5. 10
  6. #points
  7. 36
  8.       0             0        1. 
  9.  1.414213562   1.414213562  -1. 
  10.  1.414213562  -1.414213562   1. 
  11. -1.414213562  -1.414213562  -1. 
  12. -1.414213562   1.414213562   1. 
  13.       0             0       -1. 
  14.  .7071067810   2.121320343   1. 
  15.  2.121320343   .7071067810   1. 
  16. -.7071067810  -2.121320343   1. 
  17. -2.121320343  -.7071067810   1. 
  18. -.7071067810   2.121320343  -1. 
  19.  2.121320343  -.7071067810  -1.
  20.  .7071067810  -2.121320343  -1. 
  21. -2.121320343   .7071067810  -1. 
  22. -1.979898987  -.7071067810   1. 
  23.  .3535533905   1.626345596   1.
  24.  1.060660172   1.626345596   1. 
  25.  1.626345596   1.060660172   1. 
  26.  1.626345596   .3535533905   1. 
  27. -.7071067810  -1.979898987   1. 
  28. -1.272792206  -1.414213562   1. 
  29.  .4242640686   .2828427124   1. 
  30.  .7071067810   .7071067810   1. 
  31.  .2828427124   .4242640686   1. 
  32. -1.414213562  -1.272792206   1. 
  33.  1.979898987  -.7071067810  -1. 
  34. -.3535533905   1.626345596  -1. 
  35. -1.060660172   1.626345596  -1. 
  36. -1.626345596   1.060660172  -1. 
  37. -1.626345596   .3535533905  -1. 
  38.  .7071067810  -1.979898987  -1. 
  39.  1.272792206  -1.414213562  -1. 
  40. -.4242640686   .2828427124  -1. 
  41. -.7071067810   .7071067810  -1. 
  42. -.2828427124   .4242640686  -1. 
  43.  1.414213562  -1.272792206  -1. 
  44. #polys
  45. #  poly 0 and 1 are extra blank polys to help draw blanks
  46. #  their colour actually means the orientation! (job security code!)
  47. 10
  48. # number of points in poly, colour, points
  49.  5 0 6 7  8  9 6
  50.  5 10 6 7  8  9 6
  51.  5 0 6 7  8  9 6
  52.  5 1 6 7 11 10 6
  53.  5 0 8 7 11 12 8
  54.  5 1 9 8 12 13 9 
  55.  5 0 9 6 10 13 9 
  56.  5 1 10 11 12 13 10
  57. 12 1 14 15 16 17 18 19 20 21 22 23 24 14
  58. 12 0 25 26 27 28 29 30 31 32 33 34 35 25
  59. #faces
  60. # number of polys, polys 
  61. 2 2 8
  62. 1 3
  63. 1 4
  64. 1 5
  65. 1 6
  66. 2 7 9
  67. # light vector -- where's the light is coming from
  68. 1 0 1  
  69.