homedecor_modpack/homedecor_misc/models/homedecor_round_pole.obj

107 lines
1.8 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.048 -0.5 -0.115
v -0.048 0.5 -0.115
v 0 -0.5 -0.125
v 0 0.5 -0.125
v 0.048 -0.5 -0.115
v 0.048 0.5 -0.115
v 0.088 -0.5 -0.088
v 0.088 0.5 -0.088
v 0.115 -0.5 -0.048
v 0.115 0.5 -0.048
v 0.125 -0.5 0
v 0.125 0.5 0
v 0.115 -0.5 0.048
v 0.115 0.5 0.048
v 0.088 -0.5 0.088
v 0.088 0.5 0.088
v 0.048 -0.5 0.115
v 0.048 0.5 0.115
v 0 -0.5 0.125
v 0 0.5 0.125
v -0.048 -0.5 0.115
v -0.048 0.5 0.115
v -0.088 -0.5 0.088
v -0.088 0.5 0.088
v -0.115 -0.5 0.048
v -0.115 0.5 0.048
v -0.125 -0.5 0
v -0.125 0.5 0
v -0.115 -0.5 -0.048
v -0.115 0.5 -0.048
v -0.088 -0.5 -0.088
v -0.088 0.5 -0.088
vt 0.063 0
vt 0.063 1
vt 0 1
vt 0 0
vt 1 0
vt 1 1
vt 0.938 1
vt 0.938 0
vt 0.875 1
vt 0.875 0
vt 0.813 1
vt 0.813 0
vt 0.75 1
vt 0.75 0
vt 0.688 1
vt 0.688 0
vt 0.625 1
vt 0.625 0
vt 0.563 1
vt 0.563 0
vt 0.5 1
vt 0.5 0
vt 0.438 1
vt 0.438 0
vt 0.375 1
vt 0.375 0
vt 0.313 1
vt 0.313 0
vt 0.25 1
vt 0.25 0
vt 0.188 1
vt 0.188 0
vt 0.309 0.962
vt 0.146 0.854
vt 0.038 0.691
vt 0 0.5
vt 0.038 0.309
vt 0.146 0.146
vt 0.309 0.038
vt 0.5 0
vt 0.691 0.038
vt 0.854 0.146
vt 0.962 0.309
vt 1 0.5
vt 0.962 0.691
vt 0.854 0.854
vt 0.691 0.962
vt 0.125 0
vt 0.125 1
vt 0.309 0.038
vt 0.854 0.854
vt 0.5 1
vt 0.309 0.962
vt 0.146 0.854
vt 0.038 0.309
2014-12-13 23:32:31 +01:00
s off
f 1/1 2/2 4/3 3/4
f 3/5 4/6 6/7 5/8
f 5/8 6/7 8/9 7/10
f 7/10 8/9 10/11 9/12
f 9/12 10/11 12/13 11/14
f 11/14 12/13 14/15 13/16
f 13/16 14/15 16/17 15/18
f 15/18 16/17 18/19 17/20
f 17/20 18/19 20/21 19/22
f 19/22 20/21 22/23 21/24
f 21/24 22/23 24/25 23/26
f 23/26 24/25 26/27 25/28
f 25/28 26/27 28/29 27/30
f 27/30 28/29 30/31 29/32
f 4/21 2/33 32/34 30/35 28/36 26/37 24/38 22/39 20/40 18/41 16/42 14/43 12/44 10/45 8/46 6/47
f 31/48 32/49 2/2 1/1
f 29/32 30/31 32/49 31/48
f 1/50 3/40 5/41 7/42 9/43 11/44 13/45 15/51 17/47 19/52 21/53 23/54 25/35 27/36 29/55 31/38