Advertisement
ollj

tutorial token v2

Jan 2nd, 2015
6,395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. # "tutorial token to tabletop simulator v2" to display 2 (or 4 dina4) 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. # this object is meant to be imported as "chip" to make it stackable, and as "material wood" to not be too shiny.
  7. #
  8. # uv-map and texture examples: http://i.imgur.com/uStu2Xw.png http://i.imgur.com/JaAdcqT.jpg
  9. #
  10. #
  11. # the texture should be 1811x2450 px, the lowest 40 lines of pixels are the borders 10 pixel height per border.
  12. # 4 dina4-pages should each be 1811x2410px, pasted on a 3622x4820 px image in 2x2-tiling.
  13. # then shrunk by 50% to fit on the top border of a 1811x2450 px image.
  14. # top left and top right are front side, bottom left and bottom right are back side.
  15. #
  16. # For textures with many letters .gif is the best format but TTS only supports .png which is nearly lossles from .gif.
  17. # For best quality textures with lots of letters, save as gif (set palette to "detail") and then save that gif as png.
  18. #
  19. # For tabletop simulator, white text on black background is generally better,
  20. # because the unity engine has lots of reflecting ambient light making white often too bright and too shiny.
  21. #
  22. mtllib ./tutorial token OBJ2.mtl
  23. g
  24. # object Material__101 to come ...
  25. #
  26. v -4.4822 0.0000 3.0125
  27. v 4.4822 0.0000 3.0125
  28. v -4.4822 0.0000 -3.0125
  29. v 4.4822 0.0000 -3.0125
  30. v -4.4822 0.0500 3.0125
  31. v 4.4822 0.0500 3.0125
  32. v -4.4822 0.0500 -3.0125
  33. v 4.4822 0.0500 -3.0125
  34. # 8 vertices
  35.  
  36. vt 0.0001 0.0041 0.0000
  37. vt 0.9999 0.0041 0.0000
  38. vt 0.9999 0.0123 90.0000
  39. vt 0.0001 0.0123 90.0000
  40. vt 0.0001 0.0082 0.0000
  41. vt 0.9999 0.0082 0.0000
  42. vt 0.9999 0.0164 90.0000
  43. vt 0.0001 0.0164 90.0000
  44. vt 0.0001 0.5082 0.0000
  45. vt 0.9999 0.5082 0.0000
  46. vt 0.0001 0.9999 0.0000
  47. vt 0.9999 0.9999 0.0000
  48. vt 1.0000 0.0164 0.0000
  49. vt 0.0001 0.0164 0.0000
  50. vt 0.9999 0.5082 0.0000
  51. vt 0.0001 0.5082 0.0000
  52. vt 0.6721 0.0082 0.0000
  53. vt 0.0001 0.0082 0.0000
  54. vt 0.6721 0.0122 0.0000
  55. vt 0.0001 0.0122 0.0000
  56. vt 0.0001 0.0000 0.0000
  57. vt 0.6721 0.0000 0.0000
  58. vt 0.0001 0.0041 0.0000
  59. vt 0.6721 0.0041 0.0000
  60. # 24 texture vertices
  61.  
  62. vn 0.0000 -0.7854 0.0000
  63. vn 0.0000 -0.7854 0.0000
  64. vn 0.0000 -0.7854 0.0000
  65. vn 0.0000 -0.7854 0.0000
  66. vn 0.0000 0.7854 0.0000
  67. vn 0.0000 0.7854 0.0000
  68. vn 0.0000 0.7854 0.0000
  69. vn 0.0000 0.7854 0.0000
  70. # 8 vertex normals
  71.  
  72. g Material__101
  73. usemtl Material__101
  74. s 2
  75. f 4/16/4 2/14/2 1/13/1 3/15/3
  76. s 4
  77. f 8/12/8 7/11/7 5/9/5 6/10/6
  78. s 8
  79. f 6/6/6 5/5/5 1/1/1 2/2/2
  80. s 16
  81. f 8/24/8 6/23/6 2/21/2 4/22/4
  82. s 32
  83. f 7/7/7 8/8/8 4/4/4 3/3/3
  84. s 64
  85. f 5/19/5 7/20/7 3/18/3 1/17/1
  86. # 6 faces
  87.  
  88. g
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement