verify.obj 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. # Verification OBJ created with gulp
  2. mtllib verify.mtl
  3. # Cube no materials. Translated x:-150
  4. o cube 1
  5. v -160 60 10
  6. v -160 40 10
  7. v -140 40 10
  8. v -140 60 10
  9. v -160 60 -10
  10. v -160 40 -10
  11. v -140 40 -10
  12. v -140 60 -10
  13. f 1 2 3 4
  14. f 8 7 6 5
  15. f 4 3 7 8
  16. f 5 1 4 8
  17. f 5 6 2 1
  18. f 2 6 7 3
  19. # Cube with two materials. Translated x:-100
  20. o cube 2
  21. v -110 60 10
  22. v -110 40 10
  23. v -90 40 10
  24. v -90 60 10
  25. v -110 60 -10
  26. v -110 40 -10
  27. v -90 40 -10
  28. v -90 60 -10
  29. usemtl orange
  30. f 9 10 11 12
  31. f 16 15 14 13
  32. f 12 11 15 16
  33. usemtl purple
  34. f 13 9 12 16
  35. f 13 14 10 9
  36. f 10 14 15 11
  37. # Cube with normals no materials. Translated x:-50
  38. v -60 60 10
  39. v -60 40 10
  40. v -40 40 10
  41. v -40 60 10
  42. v -60 60 -10
  43. v -60 40 -10
  44. v -40 40 -10
  45. v -40 60 -10
  46. vn 0 0 1
  47. vn 0 0 -1
  48. vn 0 1 0
  49. vn 0 -1 0
  50. vn 1 0 0
  51. vn -1 0 0
  52. g cube3
  53. usemtl lightblue
  54. f 17//1 18//1 19//1 20//1
  55. f 24//2 23//2 22//2 21//2
  56. f 20//5 19//5 23//5 24//5
  57. f 21//3 17//3 20//3 24//3
  58. f 21//6 22//6 18//6 17//6
  59. f 18//4 22//4 23//4 19//4
  60. # Cube with uvs and red material. Translated x:0
  61. v -10 60 10
  62. v -10 40 10
  63. v 10 40 10
  64. v 10 60 10
  65. v -10 60 -10
  66. v -10 40 -10
  67. v 10 40 -10
  68. v 10 60 -10
  69. vt 0 1
  70. vt 1 1
  71. vt 1 0
  72. vt 0 0
  73. usemtl red
  74. f 25/1 26/2 27/3 28/4
  75. f 32/1 31/2 30/3 29/4
  76. f 28/1 27/2 31/3 32/4
  77. f 29/1 25/2 28/3 32/4
  78. f 29/1 30/2 26/3 25/4
  79. f 26/1 30/2 31/3 27/4
  80. # cube with uvs and normals and material. Translated x50
  81. v 40 60 10
  82. v 40 40 10
  83. v 60 40 10
  84. v 60 60 10
  85. v 40 60 -10
  86. v 40 40 -10
  87. v 60 40 -10
  88. v 60 60 -10
  89. usemtl red
  90. f 33/1/1 34/2/1 35/3/1 36/4/1
  91. f 40/1/2 39/2/2 38/3/2 37/4/2
  92. f 36/1/5 35/2/5 39/3/5 40/4/5
  93. usemtl blue
  94. f 37/1/3 33/2/3 36/3/3 40/4/3
  95. f 37/1/6 38/2/6 34/3/6 33/4/6
  96. usemtl green
  97. f 34/1/4 38/2/4 39/3/4 35/4/4
  98. # cube with uvs and normals and two materials and group for every quad. Translated x:100
  99. v 90 60 10
  100. v 90 40 10
  101. v 110 40 10
  102. v 110 60 10
  103. v 90 60 -10
  104. v 90 40 -10
  105. v 110 40 -10
  106. v 110 60 -10
  107. vn 0 0 1
  108. vn 0 0 -1
  109. vn 0 1 0
  110. vn 0 -1 0
  111. vn 1 0 0
  112. vn -1 0 0
  113. g cube6a
  114. usemtl green
  115. f -8/7/1 -7/8/1 -6/9/1 -5/10/1
  116. g cube6b
  117. f -1/7/2 -2/8/2 -3/9/2 -4/10/2
  118. g cube6c
  119. f -5/7/5 -6/8/5 -2/9/5 -1/10/5
  120. g cube6d
  121. usemtl orange
  122. f -4/7/3 -8/8/3 -5/9/3 -1/10/3
  123. g cube6e
  124. f -4/7/6 -3/8/6 -7/9/6 -8/10/6
  125. g cube6f
  126. f -7/7/4 -3/8/4 -2/9/4 -6/10/4
  127. # cube with uvs and normals and six materials and six groups, one for every quad. Translated x:150
  128. v 140 60 10
  129. v 140 40 10
  130. v 160 40 10
  131. v 160 60 10
  132. v 140 60 -10
  133. v 140 40 -10
  134. v 160 40 -10
  135. v 160 60 -10
  136. g cube6a
  137. usemtl red
  138. f 49/7/1 50/8/1 51/9/1 52/10/1
  139. g cube6b
  140. usemtl blue
  141. f 56/7/2 55/8/2 54/9/2 53/10/2
  142. g cube6c
  143. usemtl green
  144. f 52/7/5 51/8/5 55/9/5 56/10/5
  145. g cube6d
  146. usemtl lightblue
  147. f 53/7/3 49/8/3 52/9/3 56/10/3
  148. g cube6e
  149. usemtl orange
  150. f 53/7/6 54/8/6 50/9/6 49/10/6
  151. g cube6f
  152. usemtl purple
  153. f 50/7/4 54/8/4 55/9/4 51/10/4
  154. # Point. Translated x:200
  155. v 190 60 10
  156. v 190 40 10
  157. v 210 40 10
  158. v 210 60 10
  159. v 190 60 -10
  160. v 190 40 -10
  161. v 210 40 -10
  162. v 210 60 -10
  163. p -8 -7 -6 -5 -4 -3 -2 -1
  164. # Point/Line. Translated x:250
  165. v 240 60 10
  166. v 240 40 10
  167. v 260 40 10
  168. v 260 60 10
  169. v 240 60 -10
  170. v 240 40 -10
  171. v 260 40 -10
  172. v 260 60 -10
  173. l -8 -7 -6 -5 -4 -3 -2 -1 -8 -5 -8 -4 -7 -6 -7 -3 -5 -1 -3 -2 -6 -2 -4 -1
  174. # Line UV. Translated x:300
  175. v 290 60 10
  176. v 290 40 10
  177. v 310 40 10
  178. v 310 60 10
  179. v 290 60 -10
  180. v 290 40 -10
  181. v 310 40 -10
  182. v 310 60 -10
  183. l -8/-2 -7/-1 -6/-2 -5/-1