From cce280dd6767bb4588a301f2b966d1b959b01f6b Mon Sep 17 00:00:00 2001 From: Mai Lavelle Date: Fri, 12 Jan 2018 00:50:34 +0100 Subject: 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 --- intern/cycles/render/scene.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/cycles/render/scene.h') 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; -- cgit v1.2.3