Back to the bookshelf

Typographic jacket · original cover not fetched

FROM THE SHARED SHELF · 2006–2026 SAMPLE

Ray Tracing in One Weekend

Peter Shirley

5 readers recommend it across 4 discussions

Topics are model-inferred labels.

Keep it on your reading list

THE WORD OF MOUTH

What made it worth passing on?

Original Hacker News comments, in the readers’ own words.

thrower123
The Maze book is really good. Definitely recommend. One thing that I've found helpful often when learning a new language is taking some code written in a language I know already and porting it over into the new language. That's more fun with a project that actually does something interesting, and if you've got the original-language version running, you can compare output. Peter Shirley's Ray Tracing in One Weekend book (and sequels) are also fun little projects https://raytracing.github.io/books/RayTracingInOneWeekend.ht... (https://raytracing.github.io/books/RayTracingInOneWeekend.html)

Also recommended in this reply

pfranz
I just finished the first and I made it through in 2 days without really trying. I went through it a second time, trying to use the example code as less of a crutch and do it myself, while following different topics that came up. It's a great overview of the subject. I /really/ like that each chapter is fairly short, you have a working example at the end of each one, he explains both the concept and why he approaches a certain way in code. I should also mention, learning raytracing won't directly help if you're trying to learn realtime computer graphics.