You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
double vfov = 90; // Vertical view angle (field of view)
point3 lookfrom = point3(0,0,-1); // Point camera is looking from
point3 lookat = point3(0,0,0); // Point camera is looking at
vec3 vup = vec3(0,1,0); // Camera-relative "up" direction
...
This is also currently the state of camera.h on the dev branch. Before implementing the movable camera, the camera center position (lookfrom) was (0, 0, 0), and it was looking at (0, 0, -1). This was reversed in this listing without any discernable reason or explanation in the text.
The text was updated successfully, but these errors were encountered:
When providing default values for the camera lookfrom/lookat points, we
mixed up the two from the earlier coded values. In any event, we always
explicitly set camera pose for each scene, so this didn't affect
any rendered image.
Resolves#1341
When providing default values for the camera lookfrom/lookat points, we
mixed up the two from the earlier coded values. In any event, we always
explicitly set camera pose for each scene, so this didn't affect
any rendered image.
Resolves#1341
Snippet of the listing:
This is also currently the state of
camera.h
on the dev branch. Before implementing the movable camera, the camera center position (lookfrom) was(0, 0, 0)
, and it was looking at(0, 0, -1)
. This was reversed in this listing without any discernable reason or explanation in the text.The text was updated successfully, but these errors were encountered: