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:
authorMai Lavelle <mai.lavelle@gmail.com>2018-01-12 02:50:34 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-01-12 03:34:07 +0300
commitcce280dd6767bb4588a301f2b966d1b959b01f6b (patch)
tree094914017f73d09e8cf77a5df3401a22e78b4d94 /intern/cycles/render/scene.h
parent2dbcc17897f18090440ad0756fbc35210a01c9b8 (diff)
Cycles: add offscreen dicing scale and dicing camera.
The offscreen dicing scale helps to significantly reduce memory usage, by reducing the dicing rate for objects the further they are outside of the camera view. The dicing camera can be specified now, to keep the geometry fixed and avoid crawling artifacts in animation. It is also useful for debugging, to see the tesselation from a different camera location. Differential Revision: https://developer.blender.org/D2891
Diffstat (limited to 'intern/cycles/render/scene.h')
-rw-r--r--intern/cycles/render/scene.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h
index 204c38e5963..81b00b922e5 100644
--- a/intern/cycles/render/scene.h
+++ b/intern/cycles/render/scene.h
@@ -165,6 +165,7 @@ class Scene {
public:
/* data */
Camera *camera;
+ Camera *dicing_camera;
LookupTables *lookup_tables;
Film *film;
Background *background;