Cycles: support for camera rendering an environment map with equirectangular

environment map, by enabling the Panorama option in the camera.

http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Camera#Panorama

The focal length or sensor settings are not used, the UI can be tweaked still to
communicate this, also panorama should probably become a proper camera type like
perspective or ortho.
This commit is contained in:
Brecht Van Lommel
2012-02-28 16:44:54 +00:00
parent 0052cbed0d
commit 4a90339519
11 changed files with 140 additions and 60 deletions

View File

@@ -19,6 +19,8 @@
#ifndef __CAMERA_H__
#define __CAMERA_H__
#include "kernel_types.h"
#include "util_transform.h"
#include "util_types.h"
@@ -44,8 +46,8 @@ public:
uint blades;
float bladesrotation;
/* orthographic/perspective */
bool ortho;
/* type */
CameraType type;
float fov;
/* clipping */