My primary reason for picking it up was to get my head around writing a triangle rasterizer from scratch. I found it to be a really good reference that addresses some of the nastier things like clipping, which most other tutorials happily omit.
At some point, I will probably end up writing my own book about all of this as well. I don't know that any 2 people can ever have the same trip through this jungle.
So I picked up the book Thursday and finished the basic ray tracer Friday :) Not counting chapter 5 of course so there’s a lot more that I can add from here but it’s made me interested in multi-processing to make it faster, (mine is in unoptimized Python currently, using pygame to have a canvas/window and calling it for each pixel), maybe using GPU shaders to do it (never used those before), and learning about techniques other people are using[1][2] (from YouTube etc), and going down the rabbit hole of old CGI animations from the last 50 years[3].
Looking forward to the second half of the book this weekend. I have written a basic renderer before. I did an independent study class in college and I wrote a stereoscopic one for the iGlasses VR headset[4] in the 90s (you just have to draw using two cameras and interlace the images).
[1] https://youtu.be/A61S_2swwAc “NamePointer - I made a better ray-tracing engine”
[2] https://excamera.com/sphinx/article-ray.html “A reasonably speedy Python ray-tracer”
[3] https://youtu.be/WV4qXzM641o “The Compleat Angler (1978)” Ray tracing animation with refraction, rippling water, etc. from 1978!
[4] https://youtu.be/NoVMIVY5tPA “Virtual I/O iGlasses”
Basically the cube just needed to be manually moved back and to the left to look like the example screenshot. As it is in the book, it's too close to the viewport and so it's not visible.
(BTW, for fun, I also animated it flying left and right and forward and back on a sine/cosine wave. Pretty fun!)
[0] https://gabrielgambetta.com/computer-graphics-from-scratch/0...
I still plan on working through your book "eventually", but I just wanted to thank you for that first bit.
A long time ago I found myself teaching Computer Graphics at my alma mater. Over the following years my approach to the subject evolved, and I really got the hang of it. After I stopped teaching, I took my notes, handouts and slides, and made them into a series of articles that I put on my website, where they remained in relative obscurity. Hacker News managed to find it every once in a while, and it was generally well received, but nothing came out of this. Until April 2019, when that post made the HN front page again, except this time it caught the attention of an editor in No Starch Press.
Long story short, my materials are now a book, Computer Graphics from Scratch, sold by No Starch Press [0], and also available for free on my website [1].
This genuinely wouldn’t have happened without your support. THANK YOU, HN community :)
[0] https://nostarch.com/computer-graphics-scratch
[1] http://gabrielgambetta.com/computer-graphics-from-scratch