logoalt Hacker News

tasuki • today at 7:41 PM • 1 reply • view on HN

> Everything in the game is a 2D render of a 3D model, which is why the game uses so much VRAM.

Surely from first principles one'd expect 3D models to be heavier than the 2D renders, due to the extra axis?


Replies

namrog84 • today at 9:18 PM

Purely from a vram perspective. A triangle is just 3 vertices and some edges. A few bytes of data.

A similar 2d image of a triangle would likely be thousands of bits of data.

The 2d probably uses a little less per pixel. Whereas the triangle has slightly more expensive compute per pixel cost. But modern gpu have dedicated hardware for that.

3d is probably more expensive compute but cheaper vram usage. At least to a point and a certain set of conditions. Barring things like textures and others.

➕ show 1 reply