Blender Git Commit Log

Git Commits -> Revision f76f48c

Revision f76f48c by Philipp Oeser (master)
October 26, 2020, 11:52 (GMT)
Fix T69911: Adaptive subdivision offscreen dicing does not work correctly if the camera is shifted

Code was assuming frustrum planes are symmetrical which is not the case
for shifting. This lead to a shrinking region if shift was negative (and
a growing region if shift was positive)

So instead of only keeping track of plane on one side (and mirroring
over in code) get the actual planes after shifting and use these
instead.

This code corrects this for ortho and perspective cameras, it does not
touch panoramic cameras.

Reviewed By: brecht

Maniphest Tasks: T69911

Differential Revision: https://developer.blender.org/D9342

Commit Details:

Full Hash: f76f48c3d3eb3ac518fed158a0f17c7507604ca8
Parent Commit: ae5fd92
Committed By: Philipp Oeser
Lines Changed: +21, -13

2 Modified Paths:

/intern/cycles/render/camera.cpp (+19, -13) (Diff)
/intern/cycles/render/camera.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021