Hacker News new | ask | show | jobs
by kazinator 450 days ago
This reminds me of an issue in vintage computer graphics. Say you have a game with some polygons happening, and they're nicely rendered in 3D perspective. You'd like to add some snazzy textures to them.

Here's a problem. The textures have to be put through a perspective projection. As in every pixel.

It's possible to cheat. You can simply use a bicubic stretch or even linear. It really shows up when the polygons are large and they rotate to create deep perspective. You see an artifact whereby the center of the texture does not stay centered on the polygon as it rotates.

1 comments

Playstation 1 didn't do perspective correct texture mapping. If you scroll way down this WebGL tutorial page a few examples are shown:

https://webglfundamentals.org/webgl/lessons/webgl-3d-perspec...