Hacker News

Favorites Setup
Comment by markus_zhang | original | What to learn to be a graphics programmer
[−]markus_zhang · 2026-07-01 Wed 19:37 UTC · link
What if I just want to program some rendering engine for a game that looks like DOOM 3 and its predecessors? I think that’s still quite doable?
[−]corysama · 2026-07-01 Wed 21:06 UTC · link
Old 3D engine guy here. I highly encourage folks to make a 3D engine for fun and learning. Shipping a game with it would be a cherry on top. Come join us in r/graphicsprograming, r/gameenginedevs and the graphics programming discord.
[−]shermantanktop · 2026-07-01 Wed 21:53 UTC · link
Seems like a lot of people work for a long time perfecting their special flavor of ice cream and never quite get to the cherry on top.

A lot to be learned from building a 3D engine, no doubt, but anecdotally the chances that it will lead a working game that anyone wants to play seem low. That's not a bad thing, unless they tell themselves they are going to ship a game any day now, just as soon as they do X, then Y, then Z, ...

[−]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.