News for hackers. Stuff that matters.
Re:Software rendering in 500 lines of bare C++ by whartung on Thursday July 23, 2026 @07:30PM (#49029486)
Is the Foley/Van Dam book still a go to resource for this? It seems it was updated in 2013, but, honestly, I’m more familiar with the ā€˜82 edition that was dedicated to 2D.

Back in the day, it was The Book for computer graphics.

Re:Software rendering in 500 lines of bare C++ by pjmlp on Friday July 24, 2026 @02:52AM (#49032019)
I also learnt with the second edition, I own the last one from 2013, it is alright.

The languages have evolved across editions, from Pascal, to C, to C and C++, and a bit of C# as well on the last one.

Naturally it misses on several new concepts, however I would assert it has quite valuable content.

Re:Software rendering in 500 lines of bare C++ by momocowcow on Friday July 24, 2026 @04:19AM (#49032665)
I haven't looked at my copy in years. To me, the book is a peculiar encyclopedia with some historical importance.

I found the course note from this github to be a good refresher on the subject. While the repo source code style is distasteful to me and their old-school rasteriser in the course is too naive and unoptimal, it's still a better read than Foley I'd assume :)