/tutorial/vision/opengl/data/object/crate2.xml

http://github.com/tybor/Liberty · XML · 122 lines · 122 code · 0 blank · 0 comment · 0 complexity · dedd37db96124f16604bc772c7968382 MD5 · raw file

  1. <object>
  2. <facet>
  3. <vertex x="-1" y="1" z="1"></vertex>
  4. <vertex x="-1" y="-1" z="1"></vertex>
  5. <vertex x="1" y="1" z="1"></vertex>
  6. <texture file="crate2.bmp">
  7. <coord s="0" t="1"></coord>
  8. <coord s="0" t="0"></coord>
  9. <coord s="1" t="1"></coord>
  10. </texture>
  11. </facet>
  12. <facet>
  13. <vertex x="-1" y="-1" z="1"></vertex>
  14. <vertex x="1" y="-1" z="1"></vertex>
  15. <vertex x="1" y="1" z="1"></vertex>
  16. <texture file="crate2.bmp">
  17. <coord s="0" t="0"></coord>
  18. <coord s="1" t="0"></coord>
  19. <coord s="1" t="1"></coord>
  20. </texture>
  21. </facet>
  22. <facet>
  23. <vertex x="1" y="1" z="1"></vertex>
  24. <vertex x="1" y="-1" z="1"></vertex>
  25. <vertex x="1" y="1" z="-1"></vertex>
  26. <texture file="crate2.bmp">
  27. <coord s="0" t="1"></coord>
  28. <coord s="0" t="0"></coord>
  29. <coord s="1" t="1"></coord>
  30. </texture>
  31. </facet>
  32. <facet>
  33. <vertex x="1" y="-1" z="1"></vertex>
  34. <vertex x="1" y="-1" z="-1"></vertex>
  35. <vertex x="1" y="1" z="-1"></vertex>
  36. <texture file="crate2.bmp">
  37. <coord s="0" t="0"></coord>
  38. <coord s="1" t="0"></coord>
  39. <coord s="1" t="1"></coord>
  40. </texture>
  41. </facet>
  42. <facet>
  43. <vertex x="-1" y="1" z="-1"></vertex>
  44. <vertex x="-1" y="-1" z="-1"></vertex>
  45. <vertex x="-1" y="1" z="1"></vertex>
  46. <texture file="crate2.bmp">
  47. <coord s="0" t="1"></coord>
  48. <coord s="0" t="0"></coord>
  49. <coord s="1" t="1"></coord>
  50. </texture>
  51. </facet>
  52. <facet>
  53. <vertex x="-1" y="-1" z="-1"></vertex>
  54. <vertex x="-1" y="-1" z="1"></vertex>
  55. <vertex x="-1" y="1" z="1"></vertex>
  56. <texture file="crate2.bmp">
  57. <coord s="0" t="0"></coord>
  58. <coord s="1" t="0"></coord>
  59. <coord s="1" t="1"></coord>
  60. </texture>
  61. </facet>
  62. <facet>
  63. <vertex x="-1" y="1" z="-1"></vertex>
  64. <vertex x="-1" y="1" z="1"></vertex>
  65. <vertex x="1" y="1" z="-1"></vertex>
  66. <texture file="crate2.bmp">
  67. <coord s="0" t="1"></coord>
  68. <coord s="0" t="0"></coord>
  69. <coord s="1" t="1"></coord>
  70. </texture>
  71. </facet>
  72. <facet>
  73. <vertex x="-1" y="1" z="1"></vertex>
  74. <vertex x="1" y="1" z="1"></vertex>
  75. <vertex x="1" y="1" z="-1"></vertex>
  76. <texture file="crate2.bmp">
  77. <coord s="0" t="0"></coord>
  78. <coord s="1" t="0"></coord>
  79. <coord s="1" t="1"></coord>
  80. </texture>
  81. </facet>
  82. <facet>
  83. <vertex x="-1" y="-1" z="1"></vertex>
  84. <vertex x="-1" y="-1" z="-1"></vertex>
  85. <vertex x="1" y="-1" z="1"></vertex>
  86. <texture file="crate2.bmp">
  87. <coord s="0" t="1"></coord>
  88. <coord s="0" t="0"></coord>
  89. <coord s="1" t="1"></coord>
  90. </texture>
  91. </facet>
  92. <facet>
  93. <vertex x="-1" y="-1" z="-1"></vertex>
  94. <vertex x="1" y="-1" z="-1"></vertex>
  95. <vertex x="1" y="-1" z="1"></vertex>
  96. <texture file="crate2.bmp">
  97. <coord s="0" t="0"></coord>
  98. <coord s="1" t="0"></coord>
  99. <coord s="1" t="1"></coord>
  100. </texture>
  101. </facet>
  102. <facet>
  103. <vertex x="1" y="1" z="-1"></vertex>
  104. <vertex x="1" y="-1" z="-1"></vertex>
  105. <vertex x="-1" y="1" z="-1"></vertex>
  106. <texture file="crate2.bmp">
  107. <coord s="0" t="1"></coord>
  108. <coord s="0" t="0"></coord>
  109. <coord s="1" t="1"></coord>
  110. </texture>
  111. </facet>
  112. <facet>
  113. <vertex x="1" y="-1" z="-1"></vertex>
  114. <vertex x="-1" y="-1" z="-1"></vertex>
  115. <vertex x="-1" y="1" z="-1"></vertex>
  116. <texture file="crate2.bmp">
  117. <coord s="0" t="0"></coord>
  118. <coord s="1" t="0"></coord>
  119. <coord s="1" t="1"></coord>
  120. </texture>
  121. </facet>
  122. </object>