Blender Git Loki

Git Commits -> Revision 5bd9b12

Revision 5bd9b12 by Mai Lavelle (master)
January 12, 2018, 22:57 (GMT)
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

Commit Details:

Full Hash: 5bd9b12dc47d6fcfb21025101b41802bb5b2edc0
Parent Commit: b603792
Committed By: Brecht Van Lommel
Lines Changed: +89, -56

4 Modified Paths:

/intern/cycles/kernel/geom/geom_primitive.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_camera.h (+32, -32) (Diff)
/intern/cycles/kernel/kernel_projection.h (+18, -18) (Diff)
/intern/cycles/render/camera.cpp (+36, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021