Hacker News new | ask | show | jobs
by jiggawatts 961 days ago
“If you’ve used more triangles than there are pixels on the screen, you’ve messed up.”

I call this kind of thing the “kilobyte rule” because a similar common problem is shoving tens of megabytes of JSON down the wire to display about a kilobyte of text in a browser.

2 comments

I'd think today's problem is tens of megabytes of JavaScript to display a couple kilobytes of text.
Well, not anymore, Epic's Nanite is basically a triangle per pixel rendering.
It’s actually very nearly optimal: using as many triangles as needed to display as much detail as possible while staying under the one triangle per pixel limit.

That’s the opposite of using 10K pixels to render two pixels on the screen.