home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / enzykbad / octa.dat < prev    next >
Encoding:
Text File  |  1996-08-14  |  1.2 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. 28
  8. 0 0 1
  9. 0 0 -1
  10. -0.8165 0.4714 0.33333
  11. 0.8165 -0.4714 -0.33333
  12. 0.8165 0.4714 0.33333
  13. -0.8165 -0.4714 -0.33333
  14. 0 -0.9428 0.33333
  15. 0 0.9428 -0.33333
  16. 0 0 1
  17. 0 0 -1
  18. -0.8165 0.4714 0.33333
  19. 0.8165 -0.4714 -0.33333
  20. 0.8165 0.4714 0.33333
  21. -0.8165 -0.4714 -0.33333
  22. 0 -0.9428 0.33333
  23. 0 0.9428 -0.33333
  24. -1.2247 -0.7071 1
  25. 1.2247 0.7071 -1
  26. 0 1.4142 1
  27. 0 -1.4142 -1
  28. -1.2247 0.7071 -1
  29. 1.2247 -0.7071 1
  30. 0.61237 1.06066 0
  31. -0.61237 -1.06066 0
  32. 1.2247 0 0
  33. 0.61237 -1.06066 0
  34. -0.61237 1.06066 0
  35. -1.2247 0 0
  36. #polys
  37. #  poly 0 and 1 are extra blank polys to help draw blanks
  38. #  their colour actually means the orientation! (job security code!)
  39. 16
  40. # number of points in poly, colour, points
  41. 4 0 18 21 16 18
  42. 4 1 20 16 18 20
  43. 4 0 18 21 16 18
  44. 4 1 20 17 19 20
  45. 4 0 20 26 27 20
  46. 5 1 26 18 16 27 26
  47. 5 0 17 24 25 19 17
  48. 4 1 21 25 24 21
  49. 4 0 18 21 22 18
  50. 4 1 22 21 17 22
  51. 4 0 20 23 16 20
  52. 4 1 20 23 19 20
  53. 4 0 21 23 16 21
  54. 4 1 21 23 19 21
  55. 4 0 20 18 22 20
  56. 4 1 20 22 17 20
  57. #faces
  58. # number of polys, polys 
  59. 1 2
  60. 1 3
  61. 2 4 5
  62. 2 6 7
  63. 2 8 9
  64. 2 10 11
  65. 2 12 13
  66. 2 14 15
  67. # light vector -- where's the light is coming from
  68. 1 0 1  
  69.