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

  1. # The data of a particular cube
  2. # these coordinates are used since the game needs a face with
  3. # normal (0,0,1)
  4. # Zeye .. for perspective
  5. 10
  6. 28
  7. #points (the first 6 are outward normals to the faces)
  8. 1 0 0
  9. -1 0 0
  10. 0 1 0
  11. 0 -1 0
  12. 0 0 1
  13. 0 0 -1
  14. 1 0 0
  15. -1 0 0
  16. 0 1 0
  17. 0 -1 0
  18. 0 0 1
  19. 0 0 -1
  20. 1 1 0
  21. 1 1 1
  22. 0 1 1
  23. -1 1 1
  24. -1 1 0
  25. -1 1 -1
  26. 0 1 -1
  27. 1 1 -1
  28. 1 -1 0
  29. 1 -1 1
  30. 0 -1 1
  31. -1 -1 1
  32. -1 -1 0
  33. -1 -1 -1
  34. 0 -1 -1
  35. 1 -1 -1
  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. 13 
  40. # number of points in poly, colour, points
  41. 5 0 15 13 21 23 15
  42. 5 0 21 13 19 27 21
  43. 5 1 23 15 17 25 23
  44. 4 0 15 14 16 15
  45. 7 1 16 14 13 12 18 17 16
  46. 4 0 12 19 18 12
  47. 4 1 22 21 20 22
  48. 7 0 24 23 22 20 27 26 24
  49. 4 1 24 26 25 24
  50. 4 1 15 13 23 15
  51. 4 0 23 13 21 23
  52. 5 0 27 26 18 19 27
  53. 5 1 25 17 18 26 25
  54. # faces
  55. # number of polys, polys 
  56. 1 1
  57. 1 2
  58. 3 3 4 5
  59. 3 6 7 8
  60. 2 9 10
  61. 2 11 12
  62. # light vector -- where's the light is coming from
  63. 0 0 1
  64.