Your Memberships & Subscriptions
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Ray Tracing in One Weekend (Ray Tracing Minibooks Book 1) Kindle Edition
| Customers reported quality issues in this eBook. This eBook has: Typos, Poor Formatting.
The publisher has been notified to correct these issues. |
- LanguageEnglish
- Publication dateJanuary 26, 2016
- File size13638 KB
Shop this series
See full series-
All 3$9.01
-
All 3$9.01
This option includes 3 books.
Customers also bought or read
Is this feature helpful?- Ray Tracing Gems: High-Quality and Real-Time Rendering with DXR and Other APIs
Kindle Edition$0.00$0.00 - The Ray Tracer Challenge: A Test-Driven Guide to Your First 3D Renderer (Pragmatic Bookshelf)
Kindle Edition$21.60$21.60 - Computer Graphics from Scratch: A Programmer's Introduction to 3D Rendering
Kindle Edition$29.99$29.99 - Modern CMake for C++: Discover a better approach to building, testing, and packaging your software
Kindle Edition$28.49$28.49 - Ray Tracing Gems II: Next Generation Real-Time Rendering with DXR, Vulkan, and OptiX
Kindle Edition$0.00$0.00 - Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14
Kindle Edition$36.99$36.99
Customers who bought this item also bought
Product details
- ASIN : B01B5AODD8
- Publisher : (January 26, 2016)
- Publication date : January 26, 2016
- Language : English
- File size : 13638 KB
- Text-to-Speech : Enabled
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Print length : 49 pages
- Best Sellers Rank: #423,248 in Kindle Store (See Top 100 in Kindle Store)
- Customer Reviews:
About the author

I'm a Chicago transplant living in Salt Lake City, Utah. I have a physics degree from Reed College, but discovered computers when Professor Nicolas Wheeler forced me to do a ray tracing program in 1984. It was 2D ray tracing to do a caustic on a Vax and writing out the picture to a green Techtonix terminal. This convinced me to go to grad school in computer science at Illinois. I have been ray tracing ever since. I've done stints in various universities and companies and am currently in my own start-up company doing VR which is common but not using HMDs which is not!
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book easy to follow and fun to read. They describe it as an excellent entry-level tutorial for ray tracing, a quick intro to turning math into pictures, and a nice book with math in practice. However, some customers report bugs in the example code and multiple mistakes in the source code.
AI-generated from the text of customer reviews
Customers find the book easy to follow and an excellent entry-level tutorial for ray tracing. They say it's full of straightforward examples and is pragmatic. Readers also mention the book is right to the point and fast-paced.
"...It is very pragmatic and that approach suited me very well...." Read more
"...Short, easy to follow, not intimidating, and easily affordable if you're not sure if you want to invest in a huge book on the topic from square one...." Read more
"...and the explanation of the concepts is simple enough for non technical people to understand...." Read more
"...is not filled with blah-blah, but rather to the point, it does not seem awkward at all." Read more
Customers find the book fun to read. They say it's short, right to the point, and satisfying.
"...Fun and exciting to generate some images again." Read more
"...Plus, you get the results pretty fast, so it is indeed satisfying." Read more
"A very fun and quick intro to turning math into pictures...." Read more
"It was a great read on the subject of ray tracing!! The examples were fun." Read more
Customers appreciate the value for money of the book. They mention the low price makes it accessible to anyone interested in Ray Tracing.
"...Short, easy to follow, not intimidating, and easily affordable if you're not sure if you want to invest in a huge book on the topic from square one...." Read more
"...The low price means that anyone who is interested in RayTracing should pick this book up in the blink of an eye...." Read more
"...Well worth the price, in both time and money." Read more
Customers find the code quality of the book awful. They mention there are bugs in the example code and multiple mistakes in the source code.
"...As of the Kindle version of March 2018, there are multiple mistakes in the source code in said images..." Read more
"...But man, the code in the book was awful. The code is ancient C++ written in the infamous "C with classes" style...." Read more
"...There were a few bugs in the example code that I think have been fixed or at least I found fixes in blog comments...." Read more
"I found a few bugs in the presented code, image errors in the scatter function and an image in Kindle that didn't show up... it was only $3 so I..." Read more
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
There's not much theory or anything like that found in the book, just the code and some explanation of how it works. It is very pragmatic and that approach suited me very well. I've now built my first simple ray tracer (well, maybe it is more Shirley's ray tracer than mine at this point), but now I understand mostly how it works, and can extend it with my own variations.
If you've ever thought about writing a ray tracer one day, this is a really good book to start it off in just a few days. If you have some prior knowledge of how to get a compiler running, you'll probably get it done in a weekend.
The images and code didn't always come out at a nice size on my original b&w Kindle, but when I'm looking at code I prefer to have the Amazon cloud/web reader open for reference anyway and that was ideal.
No trees wasted.
Programming wise, you will need nothing more than the equivalent of two college courses (intro programming, object-oriented programming) to complete this book. I would call the level of programmatic difficulty "intermediate." Math wise, you will need high school level geometry as well as some basic knowledge of vectors including especially dot products & cross products. If you have never seen geometry described using three-dimensional vectors then this book will be impossible. Most of the intended readers likely have seen that math.
So, if it's a well-written book that stays within its titular call-to-action, then what's the problem? Polish—the book lacks polish. This is the kind of problem that gives self-publishing a bad name. The source code snippets are presented in images with text so small that it is hard to read. As of the Kindle version of March 2018, there are multiple mistakes in the source code in said images (unused variables, wrong constants, actual logic errors), some of which Shirley explicitly changed in the Kindle text to point out, yet did not fix in the source code snippet images. His decision to use these convoluted source code images are explained away on his blog for expediency and in the introduction as incentive to type the code in. Yes, we should type the code in ourselves, but not at the expense of it being so small in the book that it's unreadable and hard for him to update to revise the Kindle edition.
There other polish issues too — a lack of comments in the source code, text that could've used a good copy editor, hand drawn diagrams that are not as lucid as they could be. Shirley has written a great book, but he needs to clean it up so as not to continue to give self-publishing a bad name!
1. The source doesn't seem to be available and the text of the code is embedding in images, so you can't copy and paste. While it's been informative to retype the code, sometimes I would like to avoid it.
2. In Chapter 8 on Materials, the Hitable class gets a new member, mtr_ptr, which seems to get glossed over where this is added to the code, etc. It would be nice to get an update on design, and again, a code repo with git commits for each chapter would go a long way.
Top reviews from other countries
Every now and then you might need to look something up because the book doesn't go into detail on everything, focusing instead on telling you what you need to know to get results. One example would be that I wanted to learn more about the dot-product operation.
If you're not interested in making your own vector class/functions, I'd recommend using the GLM ("OpenGL Mathematics") library by G-Truc Creation.
Recommended for any graphics enthusiast. Fantastic value for money!
It works really well and it does allow to make a ray tracer in a weekend if you really put effort into it, tough I'm sure anyone putting half an hour each day would be able to.
I took a non-objects approach, opposite to the one described in the book, but still all the theory and example code was explained well enough for me to follow without any problems.
It can be read in under an hour and implementing the examples shouldn’t take that long either.
Have fun implementing your own ray tracer.






























