-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update book 1 renders plus many listing fixes #618
Conversation
- Reduced code duplication in dielectric::scatter() - Change standard render dimensions to 400x225 - Change image 6 to a before-and-after pair to show antialiasing - Refactored material and geometry declarations (multiple listings) - Refactored assignment of `etai_over_etat` - Fix multiple listing highlighting misses - Fix multiple listing include errors - Add missing `double t` member of struct `hit_record` - Add missing scene code changes at various points - Show final scene render parameters plus highlighting See #179 Resolves #547 Resolves #548 Resolves #549 Resolves #550 Resolves #551 Resolves #552 Resolves #553 Resolves #554 Resolves #555 Resolves #556 Resolves #557 Resolves #560 Resolves #561 Resolves #562 Resolves #563 Resolves #564 Resolves #565 Resolves #566
`camera::get_ray()` parameters renamed from `u,v` to `s,t`. Resolves #616
Really like the before/after shot with antialiasing |
@@ -2364,11 +2405,10 @@ | |||
solution does not exist, the glass cannot refract, and therefore must reflect the ray: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing comma on line 2401
I'm seeing really weird artifacting on We need to figure out where those are coming from |
So, I'm rerendering the images and i'm not getting artifacts, I'll have them up as a commit in this branch.
|
I'm wrapping a bunch of small changes into my commit |
Why would your images look different? Like you say, we should figure this out. Also, if we end up with better images, we'll need to construct a pristine pull request. I don't want to bloat the repo database with the unused images. |
I presume you're using the |
I'm not sure why my images are different. I'm running ubuntu w clang9. I'm actually rerendering almost all of the images |
Nope. I'm adding directly to |
I'll retry with the modern C++ RNG — there's no good reason for us to use the old one. |
Yes — use the |
Okay, go ahead and try. BUT, I don't think your artifacting is the RNG |
ahhh, shucks |
Okay, I'm seeing now that Everything is rendered at 400x225 (100spp), except for the final scene, which is 1200x800 (500spp) |
The book stipulates 50spp. The intent is to enable fast turnaround while developing, not good-looking pictures. |
Wait. What should I be rendering at? |
400×225, 50spp. But all of this is coded/written in the progression branch. So you just need to visit the individual commits and run. For example, |
@trevordblack helped me figure out that I'd missed the surface-acne epsilon, which caused all sorts of subtle rendering artifacts. Walking through the progression uncovered more small issues. Going to wad this one and recreate for a second pass. |
etai_over_etat
double t
member of structhit_record
See #179
Resolves #547
Resolves #548
Resolves #549
Resolves #550
Resolves #551
Resolves #552
Resolves #553
Resolves #554
Resolves #555
Resolves #556
Resolves #557
Resolves #560
Resolves #561
Resolves #562
Resolves #563
Resolves #564
Resolves #565
Resolves #566