Ray Tracing in One Weekend
raytracing.github.io
raytracing.github.io
https://raytracing.github.io/books/RayTracingTheNextWeek.htm... https://raytracing.github.io/books/RayTracingTheRestOfYourLi...
I did this ray tracing library in Rust inspired by these books: https://github.com/DanielPettersson/solstrale-rust
And also a small UI using the lib: https://github.com/DanielPettersson/solstrale-desktop-rust
Kind of not maintained anymore.. But fun way learning Rust..
Not a great practice. Header files shouldn't assume anything from previous inclusions of other headers.
Sure, this works as a weekend hack, but it would be nice if book (article) would promote good conventions.
Technically, headers are just copy-paste, obviously. However, there's value to keeping them as standalone as possible.
If anyone else is interested in a graduate degree in this field, I recommend doing something similar - I simply made a few reasonable PRs to fix some issues that I found when following along the books.
Here is the result of following the tutorial using Rhombus.
0: Or is Rhombus a dialect? Or alternative writing system for an existing language? Or just an elaborate system of shrubs?
https://github.com/MarquisdeGeek/six_hour_raytracer
Plus, it comes with a live demo on
• Show HN: Ray Tracing in One Weekend v4.0.0 (July 2024) https://news.ycombinator.com/item?id=41082425 - 69 points, 5 comments
• Raytracing in One Weekend (2016) https://news.ycombinator.com/item?id=25244301 - 316 points, 80 comments