We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa56251 commit 142d887Copy full SHA for 142d887
1 file changed
src/slg/cameras/camera.cpp
@@ -49,9 +49,7 @@ bool Camera::GetSamplePosition(const luxrays::Point &p,
49
eyeDir /= eyeDistance;
50
51
Ray eyeRay(lensPoint, eyeDir, 0.f, eyeDistance);
52
- ClampRay(&eyeRay);
53
- eyeRay.UpdateMinMaxWithEpsilon();
54
-
+ // Do not clamp the ray here because of the check inside GetSamplePosition
55
return GetSamplePosition(&eyeRay, filmX, filmY);
56
}
57
0 commit comments