box.egg 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <CoordinateSystem> { Z-Up }
  2. <Texture> noise {
  3. "maps/noise.rgb"
  4. }
  5. <VertexPool> box {
  6. <Vertex> 1 {
  7. 0 1 1
  8. <UV> { 1 1 }
  9. }
  10. <Vertex> 2 {
  11. 1 1 1
  12. <UV> { 0 1 }
  13. }
  14. <Vertex> 3 {
  15. 0 0 1
  16. <UV> { 0 1 }
  17. }
  18. <Vertex> 4 {
  19. 1 0 1
  20. <UV> { 1 1 }
  21. }
  22. <Vertex> 5 {
  23. 0 1 0
  24. <UV> { 1 0 }
  25. }
  26. <Vertex> 6 {
  27. 1 1 0
  28. <UV> { 0 0 }
  29. }
  30. <Vertex> 7 {
  31. 0 0 0
  32. <UV> { 0 0 }
  33. }
  34. <Vertex> 8 {
  35. 1 0 0
  36. <UV> { 1 0 }
  37. }
  38. <Vertex> 9 {
  39. 0 1 1
  40. <UV> { 0 0 }
  41. }
  42. <Vertex> 10 {
  43. 1 1 1
  44. <UV> { 1 0 }
  45. }
  46. <Vertex> 11 {
  47. 0 1 0
  48. <UV> { 0 1 }
  49. }
  50. <Vertex> 12 {
  51. 1 1 0
  52. <UV> { 1 1 }
  53. }
  54. }
  55. <Group> box {
  56. <Polygon> {
  57. <TRef> { noise }
  58. <Normal> { 0 -1 0 }
  59. <VertexRef> { 3 7 8 4 <Ref> { box } }
  60. }
  61. <Polygon> {
  62. <TRef> { noise }
  63. <Normal> { 0 1 0 }
  64. <VertexRef> { 2 6 5 1 <Ref> { box } }
  65. }
  66. <Polygon> {
  67. <TRef> { noise }
  68. <Normal> { -1 0 0 }
  69. <VertexRef> { 1 5 7 3 <Ref> { box } }
  70. }
  71. <Polygon> {
  72. <TRef> { noise }
  73. <Normal> { 1 0 0 }
  74. <VertexRef> { 4 8 6 2 <Ref> { box } }
  75. }
  76. <Polygon> {
  77. <TRef> { noise }
  78. <Normal> { 0 0 1 }
  79. <VertexRef> { 9 3 4 10 <Ref> { box } }
  80. }
  81. <Polygon> {
  82. <TRef> { noise }
  83. <Normal> { 0 0 -1 }
  84. <VertexRef> { 7 11 12 8 <Ref> { box } }
  85. }
  86. }