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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-23 03:56:42 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-23 03:56:42 +0400
commit7d377478c394931f1226fbbacf96e095daf18c5d (patch)
treed5fae412ade82e42bee7415d33279afc3d0b0c7e /source/blender/makesdna/DNA_freestyle_types.h
parentb85985535dd420e50cc906bd6e7dd352cc2b8b97 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_freestyle_types.h')
-rw-r--r--source/blender/makesdna/DNA_freestyle_types.h2
1 files changed, 1 insertions, 1 deletions
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;