There is a false positive in the check of the depth with camera borders.
The fix clamps the value and set the point as interpolated.
I do some cleanups too.
Differential D12940
Proposed fix for T92351: Wrong projection in camera borders Authored by Antonio Vazquez (antoniov) on Oct 20 2021, 4:58 PM.
Details There is a false positive in the check of the depth with camera borders. The fix clamps the value and set the point as interpolated. I do some cleanups too.
Diff Detail
Event Timeline
Comment Actions regarding the camera border being drawn in the zbuffer: for some reason this cannot be excluded with Overlay > Extras, however if Overlays are disabled completely, this bug will not occur anymore Comment Actions Camera will always be drawn (even if Overlay > Extras are OFF) because it needs to be able to be selected, see comment: /* Show if this is the camera we're looking through since it's useful for selecting. */ So a bit out of ideas (without spending more time on this), not sure if it would be possible to check the selection buffer as well and exclude e.g. the active camera that way? Can something be valid in the selection buffer but still be excluded from zBuffer @Clément Foucault (fclem) (pretty much on shaky ground here)? Comment Actions @Philipp Oeser (lichtwerk) I totally agree with you that this is hack and we must avoid it. I just did the patch to demostrate the failure of ED function. The point is why this function is returning this 0.5 value. Comment Actions Cleaning up my review queue (I usually dont do review). | ||||||||||