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>2016-04-18 23:35:49 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-04-18 23:47:24 +0300
commit3068ea34e414e7af6d20af7ab92c69cbd9a33414 (patch)
treee820479e09c3959219a16e8346c766be3d61f22d /intern/cycles/blender/blender_sync.h
parent71588300d233f795fcf9b0b55ce397b9b81614ff (diff)
Cycles microdisplacement: add max subdivision setting
This is to prevent situations such as when the camera gets very close to a mesh and causes it to be tessellated into an excessive amount of micropolygons. In REYES this is known as the eye-splits problem. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1922
Diffstat (limited to 'intern/cycles/blender/blender_sync.h')
-rw-r--r--intern/cycles/blender/blender_sync.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_sync.h b/intern/cycles/blender/blender_sync.h
index 4918b7871f8..6ff5326f39f 100644
--- a/intern/cycles/blender/blender_sync.h
+++ b/intern/cycles/blender/blender_sync.h
@@ -173,6 +173,7 @@ private:
bool is_cpu;
float dicing_rate;
+ int max_subdivisions;
struct RenderLayerInfo {
RenderLayerInfo()