Files
test2/intern
Philipp Oeser f76f48c3d3 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
2020-10-26 12:52:25 +01:00
..
2020-10-19 08:12:33 -07:00
2020-10-19 08:43:08 -07:00
2020-10-19 09:11:00 -07:00
2020-10-19 08:12:33 -07:00
2020-10-19 09:11:00 -07:00
2020-10-19 08:12:33 -07:00
2020-10-19 08:12:33 -07:00
2020-10-19 08:12:33 -07:00
2020-08-10 18:30:53 +02:00