diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2018-01-12 04:14:27 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-01-13 01:57:45 +0300 |
commit | 5bd9b12dc47d6fcfb21025101b41802bb5b2edc0 (patch) | |
tree | 71564a0cb96ca9e0f0b83a1b24eb76431c310fff /source/blender | |
parent | b603792fec45b2f9563929c76e95ad3b7270797b (diff) |
Cycles: adaptive subdivision support for panoramic cameras.
Adds the code to get screen size of a point in world space, which is
used for subdividing geometry to the correct level. The approximate
method of treating the point as if it were directly in front of the
camera is used, as panoramic projections can become very distorted
near the edges of an image. This should be fine for most uses.
There is also no support yet for offscreen dicing scale, though
panorama cameras are often used for rendering 360° renders anyway.
Fixes T49254.
Differential Revision: https://developer.blender.org/D2468
Diffstat (limited to 'source/blender')
0 files changed, 0 insertions, 0 deletions