Comment by david-gpu
3 hours ago
> What you're describing is vaguely how video games work, to my understanding.
Your understanding is broadly correct. There is a 3D world, and the GPU computes how it looks like from a particular viewpoint.
In essence, objects are painted back to front, so that in the final image every pixel shows the nearest visible object. The details get complicated, but the idea is simple.
No comments yet
Contribute on Hacker News ↗