r/GraphicsProgramming • • Sep 23 '24

The trifecta of useful books.

Post image
210 Upvotes

10 comments sorted by

8

u/corysama Sep 23 '24

Man. Back in 1999 I saw Coplien talk about his other classic book

https://www.amazon.com/Multi-Paradigm-Design-C-James-Coplien/dp/0201824671

It was so amazing I immediately went out and bought a copy.

One of these years I should actually read it 😅

3

u/Zec_kid Sep 23 '24

Nonono switch out the red bookfor the orange book!

3

u/deftware Sep 23 '24

GL 2.1 is pretty antiquated, but it will get you up and running and most of the concepts still apply today, like creating vertex buffer objects and issuing draw calls with them. However, modern OpenGL doesn't have any hard-coded vertex attributes like position/color/normal/texcoords, you get to specify how the data in the buffers is to be interpreted - whether as 8-bit integers or 16-bit floats, 16-bit integers (signed or unsigned), or 32-bit floats, etc.. and how they are used by shaders.

GL2.1 will get you acquainted with the whole general idea of graphics programming though, that's for sure! ;]

2

u/moschles Sep 23 '24

I need a good book on contemporary C++. It looks nothing like how I remember it from years ago.

-5

u/CommunismDoesntWork Sep 24 '24

Google "the rust book"

0

u/[deleted] Sep 24 '24

[deleted]

2

u/xenoperspicacian Sep 24 '24

Something something premature optimization is bad yo.

1

u/moschles Sep 24 '24

std::array and std::vector for when you can't know the size of array at compile time and std::format for outputting nice text are godsends.

I know those. But modern C++ is like, they are using for-comprehensions in the tutorial code.

1

u/[deleted] Sep 23 '24

Can anyone send the links of three books

1

u/XenonOfArcticus Sep 25 '24

The Holy Trinity.