homedecor_modpack/homedecor_pictures_and_pain.../models/homedecor_picture_frame.obj

133 lines
2.3 KiB
Plaintext
Raw Permalink 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.173 -0.496 -0.053
v 0.173 -0.499 -0.034
v 0.172 -0.093 0.039
v 0.172 -0.089 0.02
v -0.167 -0.093 0.036
v -0.167 -0.09 0.017
v 0.148 -0.118 0.015
v 0.024 -0.21 0.017
v 0.149 -0.467 -0.048
v -0.143 -0.119 0.012
v -0.166 -0.496 -0.056
v -0.142 -0.467 -0.051
v 0.149 -0.469 -0.037
v -0.143 -0.121 0.023
v -0.142 -0.469 -0.04
v 0.024 -0.172 0.023
v 0.148 -0.12 0.026
v -0.166 -0.5 -0.037
v -0.022 -0.21 0.016
v -0.023 -0.173 0.023
v -0.047 -0.499 0.123
v -0.048 -0.499 0.128
v 0.052 -0.498 0.125
v 0.052 -0.498 0.129
vt 1 1
vt 0 1
vt 0 0
vt 1 0
vt 0.821 0.492
vt 0 0.492
vt 0 0.445
vt 0.821 0.445
vt 0 0.937
vt 1 0.937
vt 0.929 0.996
vt 0.071 0.996
vt 0 0.933
vt 0.071 0.875
vt 0.929 0.875
vt 1 0.933
vt 0 0.853
vt 0.058 0.782
vt 0.763 0.782
vt 0.821 0.853
vt 0.705 0.373
vt 0 0.373
vt 0 0.346
vt 0.705 0.346
vt 0 0.57
vt 1 0.57
vt 1 0.617
vt 0 0.617
vt 0.763 0.759
vt 0.058 0.759
vt 0 0.688
vt 0.821 0.688
vt 0.858 0.409
vt 0.858 0.436
vt 0 0.436
vt 0 0.409
vt 0.858 0.405
vt 0 0.405
vt 0 0.377
vt 0.858 0.377
vt 0.821 0.554
vt 0 0.554
vt 0 0.507
vt 0.821 0.507
vt 0 0.342
vt 0 0.315
vt 0.705 0.315
vt 0.705 0.342
vt 0 0.632
vt 1 0.632
vt 1 0.679
vt 0 0.679
vt 1 0.795
vt 0.968 0.717
vt 0.992 0.003
vt 0.598 1
vt 0.59 0.998
vt 0.591 0.769
vt 0.598 0.77
vt 0.808 0
vt 0.889 0.001
vt 0.936 0.712
vt 0.763 0.712
vt 0.634 0.001
vt 0.715 0
vt 0.763 0.769
vt 0.59 0.769
vt 0.936 0.078
vt 0.968 0
vt 0.968 0.793
vt 0.962 0.791
vt 0.59 0.925
vt 0 0.925
vt 0.59 0
vn 0.009 0.177 -0.984
vn -0.003 0.984 0.177
vn 0.003 -0.984 -0.177
vn -1 -0.001 -0.009
vn 1 0.001 0.009
vn -0.987 0.026 -0.156
vn 0.01 -1 0.028
vn 0.014 -0.349 -0.937
vn -0.011 0.307 0.952
vn 0.992 0.053 -0.111
vn -0.009 -0.177 0.984
g 1
2015-03-31 17:40:57 +02:00
s off
f 14/1/1 17/2/1 13/3/1 15/4/1
# 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 5/5/2 3/6/2 4/7/2 6/8/2
f 11/9/1 6/10/1 10/11/1 12/12/1
f 1/13/1 9/14/1 7/15/1 4/16/1
f 11/17/1 12/18/1 9/19/1 1/20/1
f 10/21/3 7/22/3 17/23/3 14/24/3
f 18/25/4 5/26/4 6/27/4 11/28/4
f 7/29/1 10/30/1 6/31/1 4/32/1
f 9/33/4 13/34/4 17/35/4 7/36/4
f 12/37/5 10/38/5 14/39/5 15/40/5
f 2/41/3 18/42/3 11/43/3 1/44/3
f 12/45/2 15/46/2 13/47/2 9/48/2
f 1/49/5 4/50/5 3/51/5 2/52/5
# 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 20/53/6 19/54/6 21/55/6 22/4/6
f 22/56/7 21/57/7 23/58/7 24/59/7
f 19/60/8 8/61/8 23/62/8 21/63/8
f 16/64/9 20/65/9 22/66/9 24/67/9
f 8/68/10 16/69/10 24/70/10 23/71/10
f 18/72/11 2/73/11 3/3/11 5/74/11