Hacker News

Favorites Setup
Comment by markus_zhang | original | What to learn to be a graphics programmer
[−]markus_zhang · 2026-07-01 Wed 23:08 UTC · link
Thanks. I have 3 days of vacation ahead so will use the time to sort out the math first. Code shouldn’t be too hard for a very simple 3d demo.

I tried my hand on hand a while ago and found out I couldn’t make out how many pixels to draw, say, a line in the 3d world. It involves a transformation to the world and another transformation to the camera, so I couldn’t make it out without any study.

This is probably very trivial so hopefully 3 days is good enough.

[−]corysama · 2026-07-02 Thu 01:29 UTC · link
I recommend https://gamemath.com/book/ as a good starting point.
[−]markus_zhang · 2026-07-02 Thu 02:25 UTC · link
Thanks a bunch. I purchased a book "Mathematics for 3D game programming & computer graphics" so figured they are pretty similar. But it is still very good material so I'll take it as reference.