Advertisement
ollj

34to22 ratio 2 sided

Jan 11th, 2015
44,463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. # this .obj model is a thin box-mesh that is something like 2,2 wide 1,3 deep and 0,02 tall, then shrunk down a bit.
  2. # the "13 to 22" ratio of the top and bottom faces is ideal to display two roughly A4-pages from a .pdf file.
  3. # this mesh is mostly used to display 4 A4 pages in a 2x2 array. it will display the top 2 pages on its top side ...
  4. # and the bottom 2 faces in the bottom side.
  5. #
  6. # The "13 to 22" ratio is pretty close to the A4 ratio of "1 to sqrt(2)".
  7. # 15/22 or 16/22 would be closer to 1/sqrt(2) but many pdf converters seem to prefer "13 to 22"
  8. # The "13 to 22" ratio is also the ratio of the "large table texture size" for "Tabletop simulator".
  9. # for .obj file format the texture of the large table is put on a face of the table that is 13*2=26 wide and 22*2=44 tall.
  10. #
  11. # It is used with tribe-textures like these for the boardgame "Terry Mystica" : http://imgur.com/a/358cs
  12. # It is used to display the rules of "civilization board game" (not the 80s one): http://imgur.com/a/3eGLR#0
  13. # It id used to display the rules of "Robinson Crusoe" : http://imgur.com/a/s5Ca2
  14. #the uv-mapping for the thin borders is "meh", but it really does not matter for the above 3 cases.
  15. #
  16. mtllib ./terra mystica tribe3.mtl
  17. g
  18. # object Material__97 to come ...
  19. #
  20. v -3.307000 0.025146 2.126000
  21. v 3.307000 0.025146 2.126000
  22. v -3.307000 0.025146 -2.126000
  23. v 3.307000 0.025146 -2.126000
  24. v -3.307000 0.103070 2.126000
  25. v 3.307000 0.103070 2.126000
  26. v -3.307000 0.103070 -2.126000
  27. v 3.307000 0.103070 -2.126000
  28. # 8 vertices
  29.  
  30. vt 0.000000 0.000000 0.000000
  31. vt 1.000000 0.000000 0.000000
  32. vt 0.000000 1.000000 0.000000
  33. vt 1.000000 1.000000 0.000000
  34. vt 0.000000 0.000000 0.000000
  35. vt 1.000000 0.000000 0.000000
  36. vt 0.000000 1.000000 0.000000
  37. vt 1.000000 1.000000 0.000000
  38. vt 0.000000 0.000000 0.000000
  39. vt 1.000000 0.000000 0.000000
  40. vt 0.000000 1.000000 0.000000
  41. vt 1.000000 1.000000 0.000000
  42. vt 1.000000 0.000000 0.000000
  43. vt 0.000000 0.000000 0.000000
  44. vt 1.000000 0.500000 0.000000
  45. vt 0.000000 0.500000 0.000000
  46. vt 0.598439 0.497818 0.000000
  47. vt 0.902498 0.497818 0.000000
  48. vt 0.598439 0.492246 0.000000
  49. vt 0.902498 0.492246 0.000000
  50. vt 0.513565 0.492230 0.000000
  51. vt 0.986529 0.492230 0.000000
  52. vt 0.512917 0.497160 0.000000
  53. vt 0.985881 0.497160 0.000000
  54. vt 0.513565 0.497802 0.000000
  55. vt 0.986529 0.497802 0.000000
  56. vt 0.512917 0.491587 0.000000
  57. vt 0.985881 0.491587 0.000000
  58. vt 0.000000 0.500000 0.000000
  59. vt 1.000000 0.500000 0.000000
  60. vt 0.000000 1.000000 0.000000
  61. vt 1.000000 1.000000 0.000000
  62. vt 0.599087 0.492241 0.000000
  63. vt 0.903146 0.492241 0.000000
  64. vt 0.599087 0.497813 0.000000
  65. vt 0.903146 0.497813 0.000000
  66. # 36 texture vertices
  67.  
  68. vn 0.000000 -1.570796 -0.000000
  69. vn 0.000000 -1.570796 -0.000000
  70. vn 0.000000 -1.570796 -0.000000
  71. vn 0.000000 -1.570796 -0.000000
  72. vn 0.000000 1.570796 0.000000
  73. vn 0.000000 1.570796 0.000000
  74. vn 0.000000 1.570796 0.000000
  75. vn 0.000000 1.570796 0.000000
  76. # 8 vertex normals
  77.  
  78. g Material__97
  79. usemtl Material__97
  80. s 2
  81. f 4/16/4 2/14/2 1/13/1 3/15/3
  82. s 4
  83. f 8/32/8 7/31/7 5/29/5 6/30/6
  84. s 8
  85. f 6/26/6 5/25/5 1/21/1 2/22/2
  86. s 16
  87. f 8/36/8 6/35/6 2/33/2 4/34/4
  88. s 32
  89. f 7/27/7 8/28/8 4/24/4 3/23/3
  90. s 64
  91. f 5/19/5 7/20/7 3/18/3 1/17/1
  92. # 6 faces
  93.  
  94. g
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement