From 7d377478c394931f1226fbbacf96e095daf18c5d Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sat, 22 May 2010 23:56:42 +0000 Subject: New option to specify the angular threshold for detecting crease edges. An entry "Crease Angle" has been added to the Layers tab of the Render buttons, to allow users to specify an angle (between 0 and 180) used for crease edge detection. An edge is considered a crease edge if the angle between two faces sharing the edge is smaller than the threshold. The default value is 134.43 degrees (for backward compatibility). Be aware that a larger threshold leads to a larger number of feature edges and thus a larger memory consumption. --- source/blender/makesdna/DNA_freestyle_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_freestyle_types.h b/source/blender/makesdna/DNA_freestyle_types.h index 459a6e8cf9f..c49a47fc22a 100644 --- a/source/blender/makesdna/DNA_freestyle_types.h +++ b/source/blender/makesdna/DNA_freestyle_types.h @@ -22,7 +22,7 @@ typedef struct FreestyleConfig { int flags; float sphere_radius; float dkr_epsilon; - int pad; + float crease_angle; } FreestyleConfig; -- cgit v1.2.3