diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-11-27 14:23:11 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-11-27 14:23:11 +0300 |
commit | 5c26fd6c4cd3e05c70b5473cc045127b615a592d (patch) | |
tree | 9d118e177810c28490c2d9d6097eb87252d3e49b /source/blender/makesdna/DNA_freestyle_types.h | |
parent | 09ba291c554a87cf1d94eb8213c89ddf75ee0389 (diff) |
New option for taking account of face smoothness in view map calculation.
With this option disabled, the smoothness of faces is ignored and
jagged feature edges (when seen from a three-dimensional viewpoint)
are generated. If the new option is enabled, face smoothness is taken
into account during the view map calculation, resulting in smooth
feature edges in 3D. This generally leads to more stable strokes, and
also permits more stylization possibilities relying on the feature
edge smoothness in 3D. The downside of smooth feature edges is that
the visibility is mathematically not well-defined and may cause some
artefact in rendering results. The new option is thus intended to
allow users to try both jagged and smooth feature edges and see which
ones would fit individual application needs. This option is disabled
by default.
Diffstat (limited to 'source/blender/makesdna/DNA_freestyle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_freestyle_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_freestyle_types.h b/source/blender/makesdna/DNA_freestyle_types.h index 08980afec89..391bf825eb3 100644 --- a/source/blender/makesdna/DNA_freestyle_types.h +++ b/source/blender/makesdna/DNA_freestyle_types.h @@ -39,6 +39,7 @@ struct FreestyleLineStyle; #define FREESTYLE_SUGGESTIVE_CONTOURS_FLAG 1 #define FREESTYLE_RIDGES_AND_VALLEYS_FLAG 2 #define FREESTYLE_MATERIAL_BOUNDARIES_FLAG 4 +#define FREESTYLE_FACE_SMOOTHNESS_FLAG 8 /* FreestyleConfig::mode */ #define FREESTYLE_CONTROL_SCRIPT_MODE 1 |