-
Notifications
You must be signed in to change notification settings - Fork 941
Closed
Description
Discussed in #1075
Originally posted by LollipopFt September 25, 2022
return ray(origin, lower_left_corner + s*horizontal + t*vertical - origin); |
was changed to this:
raytracing.github.io/books/RayTracingInOneWeekend.html
Lines 3387 to 3390 in dd6660d
return ray( | |
origin + offset, | |
lower_left_corner + s*horizontal + t*vertical - origin - offset | |
); |
this flipped the image on the vertical axis such that it is upside down. changing the code to
return ray(
origin + offset,
- lower_left_corner + s*horizontal + t*vertical - origin - offset
+ lower_left_corner + s*horizontal + (1-t)*vertical - origin - offset
);
fixed it.
is it just me?