homedecor_modpack/computer/models/computer_laptop_closed.obj

134 lines
2.2 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.332 -0.433 0.183
v -0.34 -0.5 -0.313
v -0.34 -0.433 -0.313
v 0.332 -0.5 -0.313
v -0.34 -0.5 0.183
v 0.332 -0.5 0.183
v -0.34 -0.433 0.183
v -0.34 -0.433 0.21
v 0.332 -0.433 0.21
v 0.332 -0.5 0.21
v -0.34 -0.5 0.21
v -0.34 -0.433 -0.159
v 0.332 -0.433 -0.313
v 0.332 -0.433 -0.159
v -0.339 -0.432 -0.313
v -0.339 -0.401 -0.312
v 0.331 -0.432 -0.313
v 0.331 -0.432 0.207
v 0.331 -0.401 -0.312
v -0.339 -0.432 0.207
v -0.339 -0.405 0.197
v 0.331 -0.405 0.197
v -0.319 -0.425 0.187
v -0.319 -0.425 -0.288
v 0.311 -0.425 0.187
v 0.311 -0.425 -0.288
vt 0.753 0.12
vt 0.81 0.12
vt 0.753 0.598
vt 0.857 0.982
vt 0.746 0.982
vt 0.857 0.831
vt 0.878 0.831
vt 0.878 0.982
vt 0.863 0.831
vt 0.863 0.982
vt 0.858 0.829
vt 0.886 0.829
vt 0.858 0.95
vt 0.936 0.853
vt 0.936 0.923
vt 0.798 0.853
vt 0.346 0.099
vt 0.497 0.033
vt 0.497 0.099
vt 0.991 0.099
vt 0.838 0.033
vt 0.991 0.033
vt 0.008 0.009
vt 0.044 0.009
vt 0.013 0.023
vt 0.948 0.009
vt 0.984 0.01
vt 0.943 0.023
vt 0.81 0.598
vt 0.746 0.831
vt 0.886 0.95
vt 0.912 0.963
vt 0.786 0.838
vt 0.886 0.908
vt 0.922 0.84
vt 0.798 0.923
vt 0.008 0.099
vt 0.008 0.033
vt 0.498 0.099
vt 0.498 0.033
vt 0.049 0.023
vt 0.979 0.024
vt 0.683 0.005
vt 0.683 0.021
vt 0.31 0.005
vt 0.31 0.021
vt 0.984 0.982
vt 0.922 0.868
vt 0.922 0.952
vt 0.802 0.868
vt 0.758 0.755
vt 0.758 0.813
vt 0.756 0.753
vt 0.799 0.813
vt 0.756 0.815
vt 0.799 0.755
vt 0.8 0.815
vt 0.984 0.831
vt 0.802 0.952
vt 0.8 0.753
vt 0.896 0.949
vt 0.904 0.849
vt 0.888 0.925
vt 0.811 0.85
2015-04-05 18:46:16 +02:00
s off
f 2/1 3/2 4/3
f 5/4 2/5 6/6
f 9/7 8/8 10/9
f 5/4 6/6 11/10
f 3/11 12/12 13/13
f 12/14 7/15 14/16
f 14/17 4/18 13/19
f 2/20 12/21 3/22
f 6/23 1/24 10/25
f 7/26 5/27 8/28
f 3/2 13/29 4/3
f 2/5 4/30 6/6
f 8/8 11/10 10/9
f 6/6 10/9 11/10
f 12/12 14/31 13/13
f 8/32 9/33 1/34 7/35
f 7/15 1/36 14/16
f 1/37 6/38 4/18
f 14/17 1/37 4/18
f 5/39 7/40 2/20
f 7/40 12/21 2/20
f 1/24 9/41 10/25
f 5/27 11/42 8/28
f 15/43 16/44 17/45
f 18/24 17/45 19/46
f 15/43 20/26 16/44
f 21/8 22/7 16/47
f 23/48 24/49 25/50
f 26/51 24/52 17/53
f 23/54 15/55 24/52
f 25/56 26/51 17/53
f 23/54 25/56 20/57
f 16/44 19/46 17/45
f 22/41 18/24 19/46
f 20/26 21/28 16/44
f 22/7 19/58 16/47
f 24/49 26/59 25/50
f 24/52 15/55 17/53
f 20/57 15/55 23/54
f 18/60 25/56 17/53
f 25/56 18/60 20/57
f 21/61 20/62 18/63 22/64