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:
authorDamian Trebilco <Damian_Trebilco>2022-10-28 15:30:18 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-10-28 17:24:03 +0300
commitf9113b7eb6ee0e7a6222bd6fbc7e39cb9c6fc395 (patch)
treea23d2c914c688a7307d7565fb6b667c6bbcc2c5d /intern/cycles/scene
parent105c8d59cd07ee401722cd0a29a2fb059f2d7743 (diff)
Cycles: add Equiangular Cubemap Face camera projection
This can be used for example for VR video formats that use this projection instead of perspective projection for cubemap faces. Differential Revision: https://developer.blender.org/D13525
Diffstat (limited to 'intern/cycles/scene')
-rw-r--r--intern/cycles/scene/camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/scene/camera.cpp b/intern/cycles/scene/camera.cpp
index 240e5d9c128..255dd320ec7 100644
--- a/intern/cycles/scene/camera.cpp
+++ b/intern/cycles/scene/camera.cpp
@@ -84,6 +84,7 @@ NODE_DEFINE(Camera)
static NodeEnum panorama_type_enum;
panorama_type_enum.insert("equirectangular", PANORAMA_EQUIRECTANGULAR);
+ panorama_type_enum.insert("equiangular_cubemap_face", PANORAMA_EQUIANGULAR_CUBEMAP_FACE);
panorama_type_enum.insert("mirrorball", PANORAMA_MIRRORBALL);
panorama_type_enum.insert("fisheye_equidistant", PANORAMA_FISHEYE_EQUIDISTANT);
panorama_type_enum.insert("fisheye_equisolid", PANORAMA_FISHEYE_EQUISOLID);