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:
authorLukas Stockner <lukas.stockner@freenet.de>2015-01-14 21:14:45 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-01-14 21:22:24 +0300
commit4118c1b4e6ae04988c310d785bd1802c46187e3a (patch)
treea645f7be743dae48886283579236b1022c867c2f /intern/cycles/render/camera.h
parent193871ae7da35548688d7b9ccadde66e4f35d2fd (diff)
Cycles: Adding field-of-view options to the equirectangular panorama camera
This patch adds the option to set minimum/maximum latitude/longitude values for the equirectangular panorama camera in Cycles, as discussed in T34400. The separate functions in kernel_projection.h are needed because the regular ones are also used as helper functions for environment map sampling. Reviewers: #cycles, sergey Reviewed By: #cycles, sergey Subscribers: dingto, sergey, brecht Differential Revision: https://developer.blender.org/D960
Diffstat (limited to 'intern/cycles/render/camera.h')
-rw-r--r--intern/cycles/render/camera.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/render/camera.h b/intern/cycles/render/camera.h
index f809c060741..9525cce8109 100644
--- a/intern/cycles/render/camera.h
+++ b/intern/cycles/render/camera.h
@@ -53,6 +53,10 @@ public:
PanoramaType panorama_type;
float fisheye_fov;
float fisheye_lens;
+ float latitude_min;
+ float latitude_max;
+ float longitude_min;
+ float longitude_max;
/* anamorphic lens bokeh */
float aperture_ratio;