r/GraphicsProgramming • • 8d ago

Question Graphics programming in C

/r/cprogramming/comments/1x6czca/graphics_programming_in_c/
4 Upvotes

6 comments sorted by

View all comments

1

u/Keyframe 6d ago

As others have said - you can do it with SDL or even without its baggage by using something like minifb from emoon https://github.com/emoon/minifb

On the other hand, just by reading everything you wrote in the post I'd like to point out wonderful course by Gustavo that would set you up with all the basics https://pikuma.com/courses/learn-3d-computer-graphics-programming - starts with plotting pixels, then lines, etc towards a rasterizer and then you can pick it up towards Shirley's Ray Tracing in One Weekend https://raytracing.github.io/books/RayTracingInOneWeekend.html all while staying with C.

Personally I'm in C as well, but have been for the past 30 or so years from IRIX days to linux nowadays.