pbrt-v3 icon indicating copy to clipboard operation
pbrt-v3 copied to clipboard

A bug in OrthographicCamera::GenerateRay of pbrt-v3

Open stanleyljl opened this issue 3 years ago • 0 comments

At the line 61 of orthographic.cpp,It seems that ray->o should be pCamera + Point3f(pLens.x, pLens.y, 0). It is more reasonable that the ray starts from a region around with pCamera for an ortho camera.

stanleyljl avatar Dec 21 '21 14:12 stanleyljl