Cycles: panorama camera in viewport camera view now shows the render mapped

to the camera border rather than the entire viewport.
This commit is contained in:
Brecht Van Lommel
2012-11-10 22:31:29 +00:00
parent 446f70f286
commit 1ca4670267
4 changed files with 177 additions and 119 deletions

View File

@@ -21,6 +21,7 @@
#include "kernel_types.h"
#include "util_boundbox.h"
#include "util_transform.h"
#include "util_types.h"
@@ -65,10 +66,10 @@ public:
/* screen */
int width, height;
float left, right, bottom, top;
BoundBox2D viewplane;
/* border */
float border_left, border_right, border_bottom, border_top;
BoundBox2D border;
/* transformation */
Transform matrix;