homedecor_modpack/homedecor_books/models/homedecor_book_open.obj

424 lines
8.6 KiB
Plaintext
Raw Normal View History

# Compression Commit This commit performs both lossless and lossy compression on every .obj and .png in homedecor. The .png files were all 100% losslessly compressed using ect.exe and optipng.exe (more details below) at maximum settings. The .obj files were lossy-compressed so that comments were removed, trailing 000's were removed and all numbers rounded to 3 decimal places max. Blender exports at 6 decimal places but for minetest, 3 decimal places is the absolute maximum a person with anything under a 256K screen will ever need. ## Results ``` Original entire modpack size: 6343.5 KB New entire modpack size: 5312.2 KB Total Reduction: 1031.3 KB (16.3% less) ``` Please note that actual media size is likely more like 4,500 KB so media reduction is more around 20-25%. ## Details / What actions were actually performed Used these programs: https://github.com/ExeVirus/Compress-Obj https://sourceforge.net/projects/optipng/ https://github.com/fhanau/Efficient-Compression-Tool Ran this command on every .obj: (fast) ``` luajit.exe compress.lua -f <file> -precision 3 ``` Ran these commands on every .png: (slow) ``` ect.exe -9 -strip --allfilters-b <file> optipng.exe -o7 -strip all -clobber <file> ``` Note that for future compression, I recommend only using optipng.exe instead of both. ECT can get better results but it takes a LOT longer and only ever saves another 1-2% of the file size. Not worth an extra 10-20 seconds per texture file in my opinion. ## Time spent Roughly 2 Hours from start to finish + commit + PR
2021-01-23 13:28:20 +01:00
v -0.012 -0.486 0.217
v 0 -0.487 -0.221
v -0.321 -0.486 -0.221
v 0 -0.463 0.208
v -0.311 -0.486 0.208
v -0.306 -0.464 0.208
v -0.306 -0.464 -0.212
v -0.311 -0.486 -0.212
v 0 -0.463 -0.212
v -0.017 -0.5 -0.212
v -0.017 -0.5 0.208
v -0.046 -0.5 0.208
v -0.046 -0.5 -0.212
v -0.046 -0.5 0.217
v -0.02 -0.5 0.217
v -0.012 -0.486 -0.221
v -0.02 -0.5 -0.221
v -0.321 -0.5 -0.221
v -0.321 -0.5 0.217
v -0.046 -0.5 -0.221
v -0.321 -0.486 0.217
v -0.238 -0.45 0.208
v 0 -0.487 0.217
v -0.238 -0.45 -0.212
v 0.306 -0.464 0.208
v 0.306 -0.464 -0.212
v 0.238 -0.45 0.208
v 0.238 -0.45 -0.212
v 0.046 -0.5 -0.212
v 0.046 -0.5 0.208
v 0.017 -0.5 0.208
v 0.017 -0.5 -0.212
v 0 -0.481 0.217
v 0 -0.481 -0.221
v 0.311 -0.486 -0.212
v 0.311 -0.486 0.208
v 0.321 -0.486 -0.221
v 0.012 -0.486 0.217
v 0.046 -0.5 0.217
v 0.02 -0.5 0.217
v 0.012 -0.486 -0.221
v 0.02 -0.5 -0.221
v 0.321 -0.5 -0.221
v 0.321 -0.5 0.217
v 0.046 -0.5 -0.221
v 0.321 -0.486 0.217
v 0 -0.487 0.208
v 0 -0.487 -0.212
v 0.087 -0.442 -0.212
v 0.087 -0.442 0.208
v -0.087 -0.442 -0.212
v -0.087 -0.442 0.208
v -0.043 -0.448 -0.212
v -0.043 -0.448 0.208
v 0.043 -0.448 -0.212
v 0.043 -0.448 0.208
v 0.01 -0.491 0.217
v -0.006 -0.483 0.217
v -0.006 -0.483 -0.221
v -0.008 -0.491 0.208
v -0.008 -0.491 -0.212
v -0.01 -0.491 -0.221
v -0.01 -0.491 0.217
v 0.01 -0.491 -0.221
v 0.008 -0.491 -0.212
v 0.008 -0.491 0.208
v 0.006 -0.483 -0.221
v 0.006 -0.483 0.217
v -0.012 -0.486 -0.212
v 0 -0.481 -0.212
v 0.012 -0.486 -0.212
v -0.006 -0.483 -0.212
v 0.006 -0.483 -0.212
v -0.012 -0.486 0.208
v 0 -0.481 0.208
v 0.012 -0.486 0.208
v -0.006 -0.483 0.208
v 0.006 -0.483 0.208
vt 0.966 0.839
vt 0.712 0.839
vt 0.712 0.833
vt 0.712 0.504
vt 0.712 0.497
vt 0.966 0.497
vt 0.396 0.495
vt 0.396 0.261
vt 0.404 0.261
vt 0.404 0.503
vt 0.688 0.839
vt 0.685 0.833
vt 0.987 0.739
vt 0.987 0.497
vt 1 0.497
vt 1 0.712
vt 1 0.733
vt 0.992 0
vt 0.992 0.342
vt 0.979 0.342
vt 0.979 0
vt 0.97 1
vt 0.97 0.758
vt 0.983 0.765
vt 0.983 0.785
vt 0.983 1
vt 0.404 0.242
vt 0.396 0.242
vt 0.396 0.008
vt 0.404 0
vt 0.685 0.504
vt 0.008 0.008
vt 0 0
vt 0.658 0.833
vt 0.658 0.504
vt 0.685 0.504
vt 0.685 0.833
vt 0.658 0.497
vt 0.681 0.497
vt 0.97 0.497
vt 0.983 0.497
vt 0.983 0.712
vt 0.983 0.733
vt 0.97 0.739
vt 0.966 0
vt 0.979 0
vt 0.979 0.342
vt 0.966 0.342
vt 0.987 0.758
vt 1 0.765
vt 1 0.785
vt 1 1
vt 0.987 1
vt 0.681 0.839
vt 0.658 0.839
vt 0 0.261
vt 0.008 0.261
vt 0.008 0.495
vt 0 0.503
vt 0.404 0.839
vt 0.404 0.497
vt 0.688 0.497
vt 0.974 0.741
vt 0.971 0.749
vt 0.967 0.744
vt 0.966 0.749
vt 0.967 0.753
vt 0.974 0.757
vt 0.992 0.741
vt 0.988 0.749
vt 0.984 0.744
vt 0.983 0.749
vt 0.984 0.753
vt 0.992 0.757
vt 0.045 0.845
vt 0.036 0.845
vt 0.035 0.838
vt 0.045 0.838
vt 0.966 0.342
vt 0.957 0.342
vt 0.957 0.335
vt 0.965 0.335
vt 0.947 0.342
vt 0.949 0.335
vt 0.045 0.845
vt 0.045 0.838
vt 0.054 0.838
vt 0.054 0.845
vt 0.045 0.509
vt 0.035 0.509
vt 0.036 0.503
vt 0.045 0.503
vt 0.966 0
vt 0.965 0.007
vt 0.957 0.007
vt 0.957 0
vt 0.949 0.007
vt 0.947 0
vt 0.045 0.503
vt 0.054 0.503
vt 0.054 0.509
vt 0.045 0.509
vt 0 0.256
vt 0 0.251
vt 0.008 0.251
vt 0.008 0.256
vt 0 0.247
vt 0 0.242
vt 0.008 0.242
vt 0.008 0.247
vt 0.404 0.251
vt 0.404 0.256
vt 0.396 0.256
vt 0.396 0.251
vt 0.404 0.247
vt 0.396 0.247
vt 0.78 0
vt 0.78 1
vt 0.725 1
vt 0.725 0
vt 0.717 1
vt 0.662 1
vt 0.662 0
vt 0.717 0
vt 0.184 1
vt 0.127 0.97
vt 0.222 0.897
vt 0.486 0.793
vt 0.472 0.897
vt 0.377 0.97
vt 0.216 0.433
vt 0.127 0.26
vt 0.059 0
vt 0.002 0.03
vt 0.01 0.015
vt 0.236 0.793
vt 0.013 0
vt 0.091 0.567
vt 0.056 0.728
vt 0.002 0.74
vt 0.111 0.207
vt 0.135 0.985
vt 0.097 0.104
vt 0.181 0.272
vt 0.138 1
vt 0.341 0.567
vt 0.306 0.728
vt 0.252 0.74
vt 0.252 0.03
vt 0.361 0.207
vt 0.388 1
vt 0.385 0.985
vt 0.434 1
vt 0.347 0.103
vt 0.466 0.433
vt 0.377 0.26
vt 0.309 0
vt 0.26 0.015
vt 0.263 0
vt 0.431 0.272
vt 0.637 0.156
vt 0.875 0.156
vt 0.875 0.984
vt 0.637 0.984
vt 0 0.156
vt 0.125 0.156
vt 0.125 0.984
vt 0 0.984
vt 1 0.156
vt 1 0.984
vt 0.363 0.156
vt 0.432 0.156
vt 0.432 0.984
vt 0.363 0.984
vt 0.5 0.156
vt 0.568 0.156
vt 0.568 0.984
vt 0.5 0.984
vn -0.577 -0.577 -0.577
vn 0 -0.707 -0.707
vn 0 -1 0
vn 0 -0.707 0.707
vn -0.577 -0.577 0.577
vn 0.281 0.928 0.247
vn 0.173 0.732 0.659
vn 0.149 0.629 0.763
vn 0.577 0.577 0.577
vn 0.217 -0.711 -0.669
vn 0.429 -0.9 -0.072
vn -0.149 0.629 0.763
vn -0.577 0.577 0.577
vn 0.217 -0.711 0.669
vn -0.577 0.577 -0.577
vn -0.149 0.629 -0.763
vn -0.173 0.732 0.659
vn -0.281 0.928 0.247
vn 0.429 -0.9 0.072
vn -0.281 0.928 -0.247
vn -0.429 -0.9 0.072
vn -0.429 -0.9 -0.072
vn -0.217 -0.711 0.669
vn 0.577 0.577 -0.577
vn 0.577 -0.577 -0.577
vn -0.217 -0.711 -0.669
vn 0.149 0.629 -0.763
vn 0.577 -0.577 0.577
vn 0.173 0.732 -0.659
vn 0.281 0.928 -0.247
vn -0.35 -0.497 -0.794
vn 0 -0.58 -0.815
vn 0.247 0.689 -0.681
vn 0 0.751 -0.66
vn -0.247 0.689 -0.681
vn 0.35 -0.497 -0.794
vn 0.35 -0.497 0.794
vn 0 -0.58 0.815
vn -0.247 0.689 0.681
vn 0 0.751 0.66
vn 0.247 0.689 0.681
vn -0.35 -0.497 0.794
vn -0.57 -0.819 0.063
vn 0 -1 0.024
vn 0.57 -0.819 0.063
vn -0.57 -0.819 -0.063
vn 0 -1 -0.024
vn 0.57 -0.819 -0.063
vn 0 0.649 -0.761
vn 0.229 0.638 -0.735
vn -0.173 0.732 -0.659
vn -0.229 0.638 -0.735
vn 0.229 0.638 0.735
vn 0 0.649 0.761
vn -0.229 0.638 0.735
vn -0.56 0.568 0.604
vn -0.56 0.568 -0.603
vn 0.56 0.568 -0.603
vn 0.56 0.568 0.604
vn 0 0.614 -0.789
vn 0.167 0.71 -0.684
vn -0.027 0.726 0.688
vn -0.166 0.71 0.684
vn -0.094 0.718 -0.69
vn 0.027 0.726 -0.688
vn 0.094 0.718 -0.69
vn -0.027 0.726 -0.688
vn -0.166 0.71 -0.684
vn -0.094 0.718 0.69
vn 0.027 0.726 0.688
vn 0 0.614 0.789
vn 0.167 0.71 0.684
vn 0.094 0.718 0.69
g 1
2015-05-04 17:45:26 +02:00
s 1
f 18/1/1 20/2/2 13/3/3 12/4/3 14/5/4 19/6/5
f 36/7/6 76/8/7 38/9/8 46/10/9
f 13/3/3 20/2/2 17/11/10 10/12/11
f 1/13/12 21/14/13 19/15/5 14/16/4 15/17/14
f 18/18/1 19/19/5 21/20/13 3/21/15
f 3/22/15 16/23/16 17/24/10 20/25/2 18/26/1
f 1/27/12 74/28/17 5/29/18 21/30/13
f 13/3/3 10/12/11 11/31/19 12/4/3
f 21/30/13 5/29/18 8/32/20 3/33/15
f 29/34/3 30/35/3 31/36/21 32/37/22
f 31/36/21 30/35/3 39/38/4 40/39/23
f 37/40/24 43/41/25 45/42/2 42/43/26 41/44/27
f 43/45/25 37/46/24 46/47/9 44/48/28
f 38/49/8 40/50/23 39/51/4 44/52/28 46/53/9
f 29/34/3 32/37/22 42/54/26 45/55/2
f 41/56/27 71/57/29 35/58/30 37/59/24
f 35/58/30 36/7/6 46/10/9 37/59/24
f 43/60/25 44/61/28 39/38/4 30/35/3 29/34/3 45/55/2
f 15/62/14 14/5/4 12/4/3 11/31/19
f 42/43/26 64/63/31 41/44/27
f 41/44/27 64/63/31 2/64/32 67/65/33
f 67/65/33 2/64/32 34/66/34
f 34/66/34 2/64/32 59/67/35
f 2/64/32 62/68/36 16/23/16 59/67/35
f 16/23/16 62/68/36 17/24/10
f 15/17/14 63/69/37 1/13/12
f 23/70/38 58/71/39 1/13/12 63/69/37
f 58/71/39 23/70/38 33/72/40
f 68/73/41 33/72/40 23/70/38
f 38/49/8 68/73/41 23/70/38 57/74/42
f 57/74/42 40/50/23 38/49/8
f 40/75/23 57/76/42 66/77/43 31/78/21
f 57/79/42 23/80/38 47/81/44 66/82/43
f 47/81/44 23/80/38 63/83/37 60/84/45
f 15/85/14 11/86/19 60/87/45 63/88/37
f 32/89/22 65/90/46 64/91/31 42/92/26
f 64/93/31 65/94/46 48/95/47 2/96/32
f 48/95/47 61/97/48 62/98/36 2/96/32
f 17/99/10 62/100/36 61/101/48 10/102/11
f 67/103/33 34/104/34 70/105/49 73/106/50
f 59/107/35 16/108/16 69/109/51 72/110/52
f 41/56/27 67/103/33 73/106/50 71/57/29
f 34/104/34 59/107/35 72/110/52 70/105/49
f 33/111/40 68/112/41 78/113/53 75/114/54
f 1/27/12 58/115/39 77/116/55 74/28/17
f 68/112/41 38/9/8 76/8/7 78/113/53
f 58/115/39 33/111/40 75/114/54 77/116/55
f 8/32/20 69/109/51 16/108/16 3/33/15
f 10/102/11 61/101/48 60/87/45 11/86/19
f 47/81/44 60/84/45 61/97/48 48/95/47
f 65/94/46 66/82/43 47/81/44 48/95/47
f 31/78/21 66/77/43 65/90/46 32/89/22
# Compression Commit This commit performs both lossless and lossy compression on every .obj and .png in homedecor. The .png files were all 100% losslessly compressed using ect.exe and optipng.exe (more details below) at maximum settings. The .obj files were lossy-compressed so that comments were removed, trailing 000's were removed and all numbers rounded to 3 decimal places max. Blender exports at 6 decimal places but for minetest, 3 decimal places is the absolute maximum a person with anything under a 256K screen will ever need. ## Results ``` Original entire modpack size: 6343.5 KB New entire modpack size: 5312.2 KB Total Reduction: 1031.3 KB (16.3% less) ``` Please note that actual media size is likely more like 4,500 KB so media reduction is more around 20-25%. ## Details / What actions were actually performed Used these programs: https://github.com/ExeVirus/Compress-Obj https://sourceforge.net/projects/optipng/ https://github.com/fhanau/Efficient-Compression-Tool Ran this command on every .obj: (fast) ``` luajit.exe compress.lua -f <file> -precision 3 ``` Ran these commands on every .png: (slow) ``` ect.exe -9 -strip --allfilters-b <file> optipng.exe -o7 -strip all -clobber <file> ``` Note that for future compression, I recommend only using optipng.exe instead of both. ECT can get better results but it takes a LOT longer and only ever saves another 1-2% of the file size. Not worth an extra 10-20 seconds per texture file in my opinion. ## Time spent Roughly 2 Hours from start to finish + commit + PR
2021-01-23 13:28:20 +01:00
g 2
f 8/117/20 5/118/18 6/119/56 7/120/57
f 35/121/30 26/122/58 25/123/59 36/124/6
f 9/125/60 69/126/51 53/127/61
f 50/128/62 56/129/63 76/130/7
f 24/131/64 69/126/51 8/132/20
f 9/133/60 71/134/29 73/135/50
f 51/136/65 53/127/61 69/126/51
f 9/133/60 73/135/50 70/137/49
f 28/138/66 26/139/58 35/140/30
f 71/134/29 49/141/67 28/138/66
f 72/142/52 69/126/51 9/125/60
f 71/134/29 55/143/68 49/141/67
f 28/138/66 35/140/30 71/134/29
f 24/131/64 8/132/20 7/144/57
f 69/126/51 24/131/64 51/136/65
f 9/133/60 55/143/68 71/134/29
f 70/145/49 72/142/52 9/125/60
f 22/146/69 6/147/56 5/148/18
f 74/149/17 52/150/70 22/146/69
f 75/151/54 78/152/53 4/153/71
f 74/149/17 54/154/72 52/150/70
f 22/146/69 5/148/18 74/149/17
f 27/155/73 76/130/7 36/156/6
f 4/157/71 74/149/17 77/158/55
f 27/155/73 50/128/62 76/130/7
f 4/157/71 77/158/55 75/159/54
f 4/153/71 78/152/53 76/130/7
f 4/157/71 54/154/72 74/149/17
f 27/155/73 36/156/6 25/160/59
f 56/129/63 4/153/71 76/130/7
# Compression Commit This commit performs both lossless and lossy compression on every .obj and .png in homedecor. The .png files were all 100% losslessly compressed using ect.exe and optipng.exe (more details below) at maximum settings. The .obj files were lossy-compressed so that comments were removed, trailing 000's were removed and all numbers rounded to 3 decimal places max. Blender exports at 6 decimal places but for minetest, 3 decimal places is the absolute maximum a person with anything under a 256K screen will ever need. ## Results ``` Original entire modpack size: 6343.5 KB New entire modpack size: 5312.2 KB Total Reduction: 1031.3 KB (16.3% less) ``` Please note that actual media size is likely more like 4,500 KB so media reduction is more around 20-25%. ## Details / What actions were actually performed Used these programs: https://github.com/ExeVirus/Compress-Obj https://sourceforge.net/projects/optipng/ https://github.com/fhanau/Efficient-Compression-Tool Ran this command on every .obj: (fast) ``` luajit.exe compress.lua -f <file> -precision 3 ``` Ran these commands on every .png: (slow) ``` ect.exe -9 -strip --allfilters-b <file> optipng.exe -o7 -strip all -clobber <file> ``` Note that for future compression, I recommend only using optipng.exe instead of both. ECT can get better results but it takes a LOT longer and only ever saves another 1-2% of the file size. Not worth an extra 10-20 seconds per texture file in my opinion. ## Time spent Roughly 2 Hours from start to finish + commit + PR
2021-01-23 13:28:20 +01:00
g 3
f 50/161/62 27/162/73 28/163/66 49/164/67
f 6/165/56 22/166/69 24/167/64 7/168/57
f 27/162/73 25/169/59 26/170/58 28/163/66
f 52/171/70 54/172/72 53/173/61 51/174/65
f 22/166/69 52/171/70 51/174/65 24/167/64
f 4/175/71 56/176/63 55/177/68 9/178/60
f 54/172/72 4/175/71 9/178/60 53/173/61
f 56/176/63 50/161/62 49/164/67 55/177/68