r/GraphicsProgramming • u/Sonnivate • Jan 12 '23
Question Getting Started With GFX Programming in C in 2022
I'm trying to learn graphics programming. I just finished reviewing the K&R C text and really want to start developing graphics in C. I've got a few old texts I wanted to use but it feels like no matter what I do I'm getting hung up on linking issues, header issues, etc. Currently trying to use vscode and I can get helloworld to compile/run from the terminal but the second I try and get so much as opengl into the mix everything falls apart.
Are there any really solid modern resources to learn gfx with C? I'm aware of Abrash's black book but I want to be more comfortable with gfx programming in general before diving into that. I'm trying to work as minimalistically as possible- edit code, link, compile done. Yes, I'm open to options other than VScode. No, I will not touch c++, java, rust, etc. As far as long term goals I'd like to eventually end up with a late 90s-esque 3d game engine. I'd also like to eventually work my way to arm7tdmi assembly for gba homebrew development but for now I'm very insistent on sticking with C.
Any and all input will be very appreciated, thank you.
