Hacker News new | ask | show | jobs
by treeform 1118 days ago
At 13, I reinvented perspective divide: https://www.khronos.org/opengl/wiki/Vertex_Post-Processing#P... . I wanted to draw 3D things like in 3D games, but with QBasic. I knew how to draw lines and shapes in 2D, but I couldn't figure out how to do that in 3D. I would ask adults about this and they had no idea. They couldn't even understand the question. Eventually, I figured out that you needed to divide or multiply by the Z-axis with a "zoom" constant to make stuff move in 3D.