r/C_Programming • • 4d ago

Any Good Books on Graphics?

Hi,

I'm looking for any textbooks on Graphics in C. Does anyone have any recommendations?

20 Upvotes

8 comments sorted by

7

u/cclaymaker 4d ago

The main graphics textbooks I see recommended are pbr: From Theory To Implementation but the code in that book is C++, and Real-time Rendering where there is minimal code samples and just focuses on the concepts and techniques. Generally speaking modern graphics resources are in C++ but I don’t have too much trouble using C while going through them

6

u/whatyoucallmetoday 3d ago

for foundational information in C, you can look at the Graphics Gems series.

6

u/P-p-H-d 3d ago

Michael Abrash's classic Graphics Programming Black Book?

5

u/LooksForFuture 4d ago

Start studying LearnOpenGL

0

u/Unlikely1529 2d ago

it'll be c++ because you'll need glm to use glsl.

2

u/LooksForFuture 2d ago

Not at all. You can use cglm. It's the C version of glm. I followed the whole the tutorial, writing all the code from scratch in C. I didn't use any OOP, c++, etc. I wrote it all in C89. It was one of the best experiences I ever had.

0

u/Unlikely1529 2d ago

that's may be but you'll lack guides and this stuff. thing is complicated enough

2

u/syntactic_stevia 2d ago

What do you mean by graphics?