The angles between camera rays emitted from the same pixel

A public forum for discussing and asking questions about OctaneVR.
Post Reply
extey
Posts: 2
Joined: Thu Sep 12, 2019 11:23 am

We all know per_pixcel will shoot camera_rays when rendering, but if 2 camera rays are emitted from the same pixel, are they completely parallel to each other, or are there some small random Angle deviations between them?
User avatar
jobigoud
OctaneRender Team
Posts: 245
Joined: Sat Aug 15, 2015 1:28 pm

It depends on the aperture size. Aperture of 0 (pinhole camera) would be when all the samples emitted from the same point are going in the same direction. Otherwise you get depth of field. But it's not randomly going in different directions, it's based on the lens model and the focal plane. Also note the filter size value on the kernel.
Post Reply

Return to “OctaneVR Questions & Discussion”