Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <lichtwerk>2020-10-26 14:49:37 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-10-26 14:52:25 +0300
commitf76f48c3d3eb3ac518fed158a0f17c7507604ca8 (patch)
treecd630c3dcc55da9882c8d7e5d1684040b0d8761e /intern/cycles/render/image_sky.cpp
parentae5fd92228f82270806b127facba1f6c052f9717 (diff)
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
Diffstat (limited to 'intern/cycles/render/image_sky.cpp')
0 files changed, 0 insertions, 0 deletions