homedecor_modpack/homedecor_electronics/models/homedecor_speaker_large_ope...

471 lines
10 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.5 -0.5 0.5
v -0.5 -0.5 0.5
v 0.5 0.5 0.5
v -0.5 0.5 0.5
v 0.5 -0.5 -0.437
v -0.5 -0.5 -0.437
v 0.5 0.5 -0.437
v -0.5 0.5 -0.437
v 0 0.375 -0.437
v -0.144 0.346 -0.437
v -0.265 0.265 -0.437
v -0.346 0.144 -0.437
v -0.375 0 -0.437
v -0.346 -0.144 -0.437
v -0.265 -0.265 -0.437
v -0.144 -0.346 -0.437
v 0 -0.375 -0.437
v 0.144 -0.346 -0.437
v 0.265 -0.265 -0.437
v 0.346 -0.144 -0.437
v 0.375 0 -0.437
v 0.346 0.144 -0.437
v 0.265 0.265 -0.437
v 0.144 0.346 -0.437
v 0 0.312 -0.437
v -0.12 0.289 -0.437
v -0.221 0.221 -0.437
v -0.289 0.12 -0.437
v -0.312 0 -0.437
v -0.289 -0.12 -0.437
v -0.221 -0.221 -0.437
v -0.12 -0.289 -0.437
v 0 -0.312 -0.437
v 0.12 -0.289 -0.437
v 0.221 -0.221 -0.437
v 0.289 -0.12 -0.437
v 0.312 0 -0.437
v 0.289 0.12 -0.437
v 0.221 0.221 -0.437
v 0.12 0.289 -0.437
v 0 0.063 -0.25
v -0.024 0.058 -0.25
v -0.044 0.044 -0.25
v 0.058 -0.024 -0.25
v 0.063 0 -0.25
v 0.058 0.024 -0.25
v 0.044 0.044 -0.25
v 0.024 0.058 -0.25
v -0.062 0 -0.25
v -0.058 0 -0.274
v -0.044 0 -0.294
v -0.024 0 -0.308
v 0 0 -0.312
v -0.058 0.024 -0.25
v -0.053 0.022 -0.274
v -0.041 0.017 -0.294
v -0.022 0.009 -0.308
v -0.041 0.041 -0.274
v -0.031 0.031 -0.294
v -0.017 0.017 -0.308
v -0.022 0.053 -0.274
v -0.017 0.041 -0.294
v -0.009 0.022 -0.308
v 0 0.058 -0.274
v 0 0.044 -0.294
v 0 0.024 -0.308
v 0.022 0.053 -0.274
v 0.017 0.041 -0.294
v 0.009 0.022 -0.308
v 0.041 0.041 -0.274
v 0.031 0.031 -0.294
v 0.017 0.017 -0.308
v 0.053 0.022 -0.274
v 0.041 0.017 -0.294
v 0.022 0.009 -0.308
v 0.058 0 -0.274
v 0.044 0 -0.294
v 0.024 0 -0.308
v 0.053 -0.022 -0.274
v 0.041 -0.017 -0.294
v 0.022 -0.009 -0.308
v 0.044 -0.044 -0.25
v 0.041 -0.041 -0.274
v 0.031 -0.031 -0.294
v 0.017 -0.017 -0.308
v 0.024 -0.058 -0.25
v 0.022 -0.053 -0.274
v 0.017 -0.041 -0.294
v 0.009 -0.022 -0.308
v 0 -0.062 -0.25
v 0 -0.058 -0.274
v 0 -0.044 -0.294
v 0 -0.024 -0.308
v -0.024 -0.058 -0.25
v -0.022 -0.053 -0.274
v -0.017 -0.041 -0.294
v -0.009 -0.022 -0.308
v -0.044 -0.044 -0.25
v -0.041 -0.041 -0.274
v -0.031 -0.031 -0.294
v -0.017 -0.017 -0.308
v -0.058 -0.024 -0.25
v -0.053 -0.022 -0.274
v -0.041 -0.017 -0.294
v -0.022 -0.009 -0.308
vt 0 0.938
vt 0 0
vt 1 0
vt 1 0.938
vt 1 1
vt 0 1
vt 0.193 0.976
vt 0.289 0.745
vt 0.313 0.75
vt 0.313 0.999
vt 0.024 0.807
vt 0.255 0.711
vt 0.268 0.732
vt 0.092 0.908
vt 0.336 0.745
vt 0.432 0.976
vt 0.024 0.568
vt 0.255 0.664
vt 0.25 0.688
vt 0.001 0.688
vt 0.357 0.732
vt 0.533 0.908
vt 0.86 0.688
vt 0.901 0.688
vt 0.894 0.721
vt 0.857 0.706
vt 0.928 0.688
vt 0.919 0.732
vt 0.937 0.688
vt 0.928 0.735
vt 0.875 0.75
vt 0.846 0.721
vt 0.894 0.769
vt 0.846 0.769
vt 0.831 0.732
vt 0.857 0.794
vt 0.813 0.776
vt 0.813 0.735
vt 0.813 0.803
vt 0.779 0.769
vt 0.794 0.732
vt 0.768 0.794
vt 0.75 0.75
vt 0.779 0.721
vt 0.731 0.769
vt 0.731 0.721
vt 0.768 0.706
vt 0.706 0.732
vt 0.724 0.688
vt 0.765 0.688
vt 0.697 0.688
vt 0.731 0.654
vt 0.768 0.669
vt 0.706 0.643
vt 0.75 0.625
vt 0.779 0.654
vt 0.731 0.606
vt 0.779 0.606
vt 0.794 0.643
vt 0.768 0.581
vt 0.724 0.599
vt 0.765 0.572
vt 0.813 0.599
vt 0.813 0.64
vt 0.813 0.572
vt 0.813 0.563
vt 0.846 0.606
vt 0.831 0.643
vt 0.857 0.581
vt 0.86 0.572
vt 0.875 0.625
vt 0.846 0.654
vt 0.894 0.606
vt 0.901 0.599
vt 0.894 0.654
vt 0.857 0.669
vt 0.919 0.643
vt 0.928 0.64
vt 0.813 0.688
vt 0.092 0.467
vt 0.268 0.643
vt 0.313 0.376
vt 0.313 0.625
vt 0.289 0.63
vt 0.193 0.399
vt 0.432 0.399
vt 0.533 0.467
vt 0.357 0.643
vt 0.336 0.63
vt 0.601 0.568
vt 0.624 0.688
vt 0.375 0.688
vt 0.37 0.664
vt 0.37 0.711
vt 0.601 0.807
vt 0.901 0.776
vt 0.86 0.803
vt 0.813 0.812
vt 0.765 0.803
vt 0.724 0.776
vt 0.697 0.735
vt 0.688 0.688
vt 0.697 0.64
vt 0.846 0.356
vt 0.765 0.235
vt 0.644 0.154
vt 0.846 0.644
vt 0.765 0.765
vt 0.644 0.846
vt 0.356 0.846
vt 0.235 0.765
vt 0.154 0.644
vt 0.154 0.356
vt 0.235 0.235
vt 0.356 0.154
vt 0.125 0.5
vt 0.5 0.125
vt 0.875 0.5
vt 0.5 0.875
vt 0.765 0.765
vt 0.721 0.721
vt 0.788 0.619
vt 0.846 0.643
vt 0.154 0.643
vt 0.212 0.619
vt 0.279 0.721
vt 0.235 0.765
vt 0.5 0.875
vt 0.5 0.812
vt 0.619 0.788
vt 0.643 0.846
vt 0.154 0.357
vt 0.212 0.381
vt 0.188 0.5
vt 0.125 0.5
vt 0.357 0.154
vt 0.381 0.212
vt 0.279 0.279
vt 0.235 0.235
vt 0.5 0.125
vt 0.643 0.154
vt 0.619 0.212
vt 0.5 0.188
vt 0.765 0.235
vt 0.846 0.357
vt 0.788 0.381
vt 0.721 0.279
vt 0.812 0.5
vt 0.875 0.5
vt 0.381 0.788
vt 0.357 0.846
vn 0 -1 0
vn 0 1 0
vn 1 0 0
vn 0 0 1
vn -1 0 0
vn -0.23 -0.554 -0.8
vn 0.099 0.239 -0.966
vn 0 0.259 -0.966
vn 0 -0.6 -0.8
vn -0.554 -0.23 -0.8
vn 0.239 0.099 -0.966
vn 0.183 0.183 -0.966
vn -0.424 -0.424 -0.8
vn -0.099 0.239 -0.966
vn 0.23 -0.554 -0.8
vn -0.554 0.23 -0.8
vn 0.239 -0.099 -0.966
vn 0.259 0 -0.966
vn -0.6 0 -0.8
vn -0.183 0.183 -0.966
vn 0.424 -0.424 -0.8
vn -0.403 0 -0.915
vn -0.719 0 -0.695
vn -0.664 0.275 -0.695
vn -0.372 0.154 -0.915
vn -0.927 0 -0.374
vn -0.857 0.355 -0.374
vn -0.981 0 -0.195
vn -0.239 0.099 -0.966
vn -0.508 0.508 -0.695
vn -0.285 0.285 -0.915
vn -0.656 0.656 -0.374
vn -0.275 0.664 -0.695
vn -0.154 0.372 -0.915
vn -0.355 0.857 -0.374
vn 0 0.719 -0.695
vn 0 0.403 -0.915
vn 0 0.927 -0.374
vn 0.275 0.664 -0.695
vn 0.154 0.372 -0.915
vn 0.355 0.857 -0.374
vn 0.508 0.508 -0.695
vn 0.285 0.285 -0.915
vn 0.656 0.656 -0.374
vn 0.664 0.275 -0.695
vn 0.372 0.154 -0.915
vn 0.857 0.355 -0.374
vn 0.719 0 -0.695
vn 0.403 0 -0.915
vn 0.927 0 -0.374
vn 0.664 -0.275 -0.695
vn 0.372 -0.154 -0.915
vn 0.857 -0.355 -0.374
vn 0.508 -0.508 -0.695
vn 0.285 -0.285 -0.915
vn 0.656 -0.656 -0.374
vn 0.275 -0.664 -0.695
vn 0.154 -0.372 -0.915
vn 0.355 -0.857 -0.374
vn 0.183 -0.183 -0.966
vn 0.375 -0.906 -0.195
vn 0 -0.719 -0.695
vn 0 -0.403 -0.915
vn 0 -0.927 -0.374
vn 0 -0.981 -0.195
vn -0.275 -0.664 -0.695
vn -0.154 -0.372 -0.915
vn -0.355 -0.857 -0.374
vn -0.375 -0.906 -0.195
vn -0.508 -0.508 -0.695
vn -0.285 -0.285 -0.915
vn -0.656 -0.656 -0.374
vn -0.693 -0.693 -0.195
vn -0.664 -0.275 -0.695
vn -0.372 -0.154 -0.915
vn -0.857 -0.355 -0.374
vn -0.906 -0.375 -0.195
vn 0 0 -1
vn -0.424 0.424 -0.8
vn 0 0.6 -0.8
vn -0.23 0.554 -0.8
vn 0.23 0.554 -0.8
vn 0.424 0.424 -0.8
vn 0.554 0.23 -0.8
vn 0.6 0 -0.8
vn 0.554 -0.23 -0.8
g 1
s off
f 5/1/1 1/2/1 2/3/1 6/4/1
f 7/4/2 8/1/2 4/2/2 3/3/2
f 5/4/3 7/1/3 3/2/3 1/3/3
2015-04-26 22:24:05 +02:00
f 1/5/4 3/6/4 4/2/4 2/3/4
f 2/2/5 4/3/5 8/4/5 6/1/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 2
s 1
f 40/7/6 48/8/7 41/9/8 25/10/9
f 38/11/10 46/12/11 47/13/12 39/14/13
f 25/10/9 41/9/8 42/15/14 26/16/15
f 36/17/16 44/18/17 45/19/18 37/20/19
f 39/14/13 47/13/12 48/8/7 40/7/6
f 26/16/15 42/15/14 43/21/20 27/22/21
f 37/20/19 45/19/18 46/12/11 38/11/10
f 52/23/22 51/24/23 56/25/24 57/26/25
f 51/24/23 50/27/26 55/28/27 56/25/24
f 50/27/26 49/29/28 54/30/29 55/28/27
f 57/26/25 56/25/24 59/31/30 60/32/31
f 56/25/24 55/28/27 58/33/32 59/31/30
f 60/32/31 59/31/30 62/34/33 63/35/34
f 59/31/30 58/33/32 61/36/35 62/34/33
f 63/35/34 62/34/33 65/37/36 66/38/37
f 62/34/33 61/36/35 64/39/38 65/37/36
f 66/38/37 65/37/36 68/40/39 69/41/40
f 65/37/36 64/39/38 67/42/41 68/40/39
f 69/41/40 68/40/39 71/43/42 72/44/43
f 68/40/39 67/42/41 70/45/44 71/43/42
f 72/44/43 71/43/42 74/46/45 75/47/46
f 71/43/42 70/45/44 73/48/47 74/46/45
f 75/47/46 74/46/45 77/49/48 78/50/49
f 74/46/45 73/48/47 76/51/50 77/49/48
f 78/50/49 77/49/48 80/52/51 81/53/52
f 77/49/48 76/51/50 79/54/53 80/52/51
f 81/53/52 80/52/51 84/55/54 85/56/55
f 80/52/51 79/54/53 83/57/56 84/55/54
f 85/56/55 84/55/54 88/58/57 89/59/58
f 84/55/54 83/57/56 87/60/59 88/58/57
f 83/57/56 82/61/60 86/62/61 87/60/59
f 89/59/58 88/58/57 92/63/62 93/64/63
f 88/58/57 87/60/59 91/65/64 92/63/62
f 87/60/59 86/62/61 90/66/65 91/65/64
f 93/64/63 92/63/62 96/67/66 97/68/67
f 92/63/62 91/65/64 95/69/68 96/67/66
f 91/65/64 90/66/65 94/70/69 95/69/68
f 97/68/67 96/67/66 100/71/70 101/72/71
f 96/67/66 95/69/68 99/73/72 100/71/70
f 95/69/68 94/70/69 98/74/73 99/73/72
f 101/72/71 100/71/70 104/75/74 105/76/75
f 100/71/70 99/73/72 103/77/76 104/75/74
f 99/73/72 98/74/73 102/78/77 103/77/76
f 53/79/78 52/23/22 57/26/25
f 53/79/78 57/26/25 60/32/31
f 53/79/78 60/32/31 63/35/34
f 53/79/78 63/35/34 66/38/37
f 53/79/78 66/38/37 69/41/40
f 53/79/78 69/41/40 72/44/43
f 53/79/78 72/44/43 75/47/46
f 53/79/78 75/47/46 78/50/49
f 53/79/78 78/50/49 81/53/52
f 53/79/78 81/53/52 85/56/55
f 53/79/78 85/56/55 89/59/58
f 53/79/78 89/59/58 93/64/63
f 53/79/78 93/64/63 97/68/67
f 53/79/78 97/68/67 101/72/71
f 53/79/78 101/72/71 105/76/75
f 53/79/78 105/76/75 52/23/22
f 105/76/75 104/75/74 51/24/23 52/23/22
f 104/75/74 103/77/76 50/27/26 51/24/23
f 103/77/76 102/78/77 49/29/28 50/27/26
f 35/80/79 82/81/60 44/18/17 36/17/16
f 33/82/80 90/83/80 86/84/81 34/85/81
f 32/86/82 31/87/83 98/88/83 94/89/82
f 30/90/84 29/91/85 49/92/85 102/93/84
f 27/22/21 43/21/20 54/94/29 28/95/86
f 34/85/81 86/84/81 82/81/60 35/80/79
f 33/82/80 32/86/82 94/89/82 90/83/80
f 31/87/83 30/90/84 102/93/84 98/88/83
f 28/95/86 54/94/29 49/92/85 29/91/85
f 55/28/27 54/30/29 43/96/20 58/33/32
f 58/33/32 43/96/20 42/97/14 61/36/35
f 61/36/35 42/97/14 41/98/8 64/39/38
f 64/39/38 41/98/8 48/99/7 67/42/41
f 67/42/41 48/99/7 47/100/12 70/45/44
f 70/45/44 47/100/12 46/101/11 73/48/47
f 73/48/47 46/101/11 45/102/18 76/51/50
f 76/51/50 45/102/18 44/103/17 79/54/53
f 79/54/53 44/103/17 82/61/60 83/57/56
# 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
s off
f 14/104/78 15/105/78 6/3/78
f 15/105/78 16/106/78 6/3/78
f 12/107/78 8/5/78 11/108/78
f 10/109/78 11/108/78 8/5/78
f 24/110/78 7/6/78 23/111/78
f 22/112/78 23/111/78 7/6/78
f 20/113/78 5/2/78 19/114/78
f 18/115/78 19/114/78 5/2/78
f 20/113/78 21/116/78 5/2/78
f 21/116/78 22/112/78 7/6/78
f 7/6/78 5/2/78 21/116/78
f 17/117/78 18/115/78 5/2/78
f 16/106/78 17/117/78 6/3/78
f 5/2/78 6/3/78 17/117/78
f 14/104/78 6/3/78 13/118/78
f 12/107/78 13/118/78 8/5/78
f 8/5/78 13/118/78 6/3/78
f 9/119/78 10/109/78 8/5/78
f 8/5/78 7/6/78 9/119/78
f 9/119/78 7/6/78 24/110/78
# 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 4
f 11/120/78 27/121/78 28/122/78 12/123/78
f 22/124/78 38/125/78 39/126/78 23/127/78
f 9/128/78 25/129/78 26/130/78 10/131/78
f 20/132/78 36/133/78 37/134/78 21/135/78
f 18/136/78 34/137/78 35/138/78 19/139/78
f 17/140/78 16/141/78 32/142/78 33/143/78
f 15/144/78 14/145/78 30/146/78 31/147/78
f 12/123/78 28/122/78 29/148/78 13/149/78
f 23/127/78 39/126/78 40/150/78 24/151/78
f 10/131/78 26/130/78 27/121/78 11/120/78
f 21/135/78 37/134/78 38/125/78 22/124/78
f 19/139/78 35/138/78 36/133/78 20/132/78
f 17/140/78 33/143/78 34/137/78 18/136/78
f 16/141/78 15/144/78 31/147/78 32/142/78
f 14/145/78 13/149/78 29/148/78 30/146/78
f 24/151/78 40/150/78 25/129/78 9/128/78