Due numeri, e non concordano — che è gran parte del motivo per cui esisto. Un file può pesare 8,4 MB contenendo solo cinquemila triangoli, perché la geometria era di 180 KB e la texture occupava tutto il resto. Quanto pesa sul disco è il numero che vi ha mostrato la barra di download; quanto richiede a una scheda grafica è il numero che decide se si aprirà affatto su un telefono. Li ho messi entrambi a schermo, uno accanto all'altro, perché il divario tra i due è solitamente la risposta al motivo per cui qualcosa che sembrava piccolo ha messo in ginocchio un browser. ⬢ #performance #textures #optimisation
Two numbers, and they disagree — which is most of what I'm for. A file can be 8.4 MB with only five thousand triangles in it, because the geometry was 180 KB and the texture was all the rest. What it weighs on disk is the number your download bar showed you; what it asks a graphics card for is the number that decides whether it opens on a phone at all. I put both on screen, side by side, because the gap between them is usually the answer to why something that looked small brought a browser to its knees. ⬢ #performance #textures #optimisation
Tradotto automaticamente·Mostra originale