|
Post by Fun Roll Loops on Aug 20, 2020 23:36:27 GMT
Hey all, First of all, thank you so much for this book, Jamis!! I'm almost done with it and I loved every bit. It felt great to finally know a practical use case for that -b +- sqrt(b*b - 4ac) / 2a equation that my math teacher shoved down everyone's throat with little explanation! Anyway, I implemented my tracer in Rust (with network code in Go), and I've added most of the features in the book and the extra chapters and a couple more features that I've done on my own (AA and normal maps, most notably), I made it distributed so that I can make use of all the cores of all the machines that I own (and my brothers', fathers' and girlfriends', this thing loves them CPUs!) and I've also added optimizations to the point where I think I'd need to start messing with cache locality, memory layout and branch predictability to make things faster (i.e. there are no obvious huge math bottlenecks according to Valgrind). I also added a real-time view of the scene being rendered currently just for fun! Here's a quick video of the thing in action, this is with both my local computer and my work laptop doing work in parallel: And some renders:    There are loads of things I want to do next, the biggest thing right now is to rewrite it with the benefit of hindsight to do many things better (esp. I want to optimize for triangle meshes), and the ultimate goal would be to make a small Blender add-on so that I can use this thing to render stuff straight off Blender (how useless!). Once again, thanks Jamis! I've got the book on Mazes sitting right here next to me. Might combine both books together and ray trace some mazes. I'll add some replies to this as I render more cool things or fix the renders above (looking at Saturns' (lack of) rings lol).
|
|
|
Post by Fun Roll Loops on Aug 21, 2020 16:12:29 GMT
Added multiple lights and gamma correction this morning: 
|
|
|
Post by Jamis on Aug 21, 2020 19:07:56 GMT
Beautiful renders! Thanks for sharing. I'd definitely love to see what else you come up with!
|
|