From 9b8dae71a5e0f5cccb4031dbe5f07aae01744c82 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 8 Mar 2012 19:52:58 +0000 Subject: Cycles: support for environment texture "Mirror Ball" projection mode, next to existing "Equirectangular". This projection is useful to create light probes from a chrome ball placed in a real scene. It expects as input a photograph of the chrome ball, cropped so the ball just fits inside the image boundaries. Example setup with panorama camera and mixing two (poor quality) photographs from different viewpoints to avoid stretching and hide the photographer: http://www.pasteall.org/pic/28036 --- intern/cycles/render/nodes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/render/nodes.h') diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index 6c9ed422b88..e0329cb9b1d 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -82,8 +82,10 @@ public: bool is_float; string filename; ustring color_space; + ustring projection; static ShaderEnum color_space_enum; + static ShaderEnum projection_enum; }; class SkyTextureNode : public TextureNode { -- cgit v1.2.3