r/GraphicsProgramming • u/Motor_Alternative944 • Nov 02 '26
Question Getting Started with Graphics Programming and Game Development Any Advice?
I’ve been programming since I was 15, but some mental health struggles made it difficult for me to pursue it consistently, even as a hobby. Recently, I’ve been doing better and have returned to programming after a long break.
I started again with Rust and spent some time exploring compilers, one of my favorite areas of computer science. Yesterday, I finished a C course, and now I’d like to explore another interest of mine: graphics programming.
My plan is to build a very small Minecraft-inspired voxel game in C. This will also be my first experience with OpenGL. My initial goal is simple: generate a small procedural world where I can break and place blocks.
Eventually, I’d love to develop a scripting language in Rust and embed it in the game to support modding. That’s a longer-term goal, though I want to keep the initial scope small and build on it gradually.
Do you have any advice for someone starting this journey? I’d especially appreciate suggestions on what to learn first, useful resources, and common pitfalls to avoid.
View all comments
1
u/corysama Nov 02 '26
Everyone is going to recommend https://learnopengl.com because it's good :P
Just be aware that it teaches a very old style of GL (3.3). A difficult aspect of that is the "One function to bind an object, then more functions to operate on the bound object" model that works with a hidden state machine. One of the worst offenders for that is the confusingly-named Vertex Array Object (VAO).
Don't fret about it though.
Once you get warmed up in learnopengl, upgrade to Direct State Access via https://github.com/fendevel/Guide-to-Modern-OpenGL-Functions and https://juandiegomontoya.github.io/modern_opengl.html and it gets much simpler to work with.
Similarly, once you get warmed up, the only thing you should use VAOs for is to bind index buffers. Use GPU buffers and https://ktstephano.github.io/rendering/opengl/prog_vtx_pulling instead of the awful vertexAttribPointer interface.
Besides that, I'll toss in https://gamemath.com/book/ as well :)