Advertisement
ollj

tutorial token v1

Jan 2nd, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. # "tutorial token to tabletop simulator" to display 2 pages of tutorial on 2 faces
  2. #
  3. # press "p" to switch to first person mode to fly the camera closer.
  4. # hold "alt" for a closer view
  5. #
  6. # uv-map example: http://i.imgur.com/ClBhDs1.jpg
  7. # the texture should be 1811x2450 px, the loewst 40 lines of pixels are the borders 10 pixel height per border.
  8. # 4 dina4-pages should each be 1811x2410px, pasted on a 3622x4820 px image in 2x2-tiling,then shrunk by 50% to fit in.
  9. # top left and top right are front, bottom left and bottom right are back side.
  10. #
  11. # for tabletop simulator white text on black background is generally better!
  12. #
  13. #
  14. mtllib ./tutorial token OBJ.mtl
  15. g
  16. # object Material__101 to come ...
  17. #
  18. v -8.9644 0.0000 6.0250
  19. v 8.9644 0.0000 6.0250
  20. v -8.9644 0.0000 -6.0250
  21. v 8.9644 0.0000 -6.0250
  22. v -8.9644 0.1000 6.0250
  23. v 8.9644 0.1000 6.0250
  24. v -8.9644 0.1000 -6.0250
  25. v 8.9644 0.1000 -6.0250
  26. # 8 vertices
  27.  
  28. vt 0.0001 0.0041 0.0000
  29. vt 0.9999 0.0041 0.0000
  30. vt 0.9999 0.0123 90.0000
  31. vt 0.0001 0.0123 90.0000
  32. vt 0.0001 0.0082 0.0000
  33. vt 0.9999 0.0082 0.0000
  34. vt 0.9999 0.0164 90.0000
  35. vt 0.0001 0.0164 90.0000
  36. vt 0.0001 0.5082 0.0000
  37. vt 0.9999 0.5082 0.0000
  38. vt 0.0001 0.9999 0.0000
  39. vt 0.9999 0.9999 0.0000
  40. vt 0.0001 0.5082 0.0000
  41. vt 0.9999 0.5082 0.0000
  42. vt 0.0001 0.0164 0.0000
  43. vt 0.9999 0.0164 0.0000
  44. vt 0.6721 0.0082 0.0000
  45. vt 0.0001 0.0082 0.0000
  46. vt 0.6721 0.0122 0.0000
  47. vt 0.0001 0.0122 0.0000
  48. vt 0.0001 0.0000 0.0000
  49. vt 0.6721 0.0000 0.0000
  50. vt 0.0001 0.0041 0.0000
  51. vt 0.6721 0.0041 0.0000
  52. # 24 texture vertices
  53.  
  54. vn 0.0000 -1.5708 0.0000
  55. vn 0.0000 -1.5708 0.0000
  56. vn 0.0000 -1.5708 0.0000
  57. vn 0.0000 -1.5708 0.0000
  58. vn 0.0000 1.5708 0.0000
  59. vn 0.0000 1.5708 0.0000
  60. vn 0.0000 1.5708 0.0000
  61. vn 0.0000 1.5708 0.0000
  62. # 8 vertex normals
  63.  
  64. g Material__101
  65. usemtl Material__101
  66. s 2
  67. f 4/16/4 2/14/2 1/13/1 3/15/3
  68. s 4
  69. f 8/12/8 7/11/7 5/9/5 6/10/6
  70. s 8
  71. f 6/6/6 5/5/5 1/1/1 2/2/2
  72. s 16
  73. f 8/24/8 6/23/6 2/21/2 4/22/4
  74. s 32
  75. f 7/7/7 8/8/8 4/4/4 3/3/3
  76. s 64
  77. f 5/19/5 7/20/7 3/18/3 1/17/1
  78. # 6 faces
  79.  
  80. g
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement