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-12-04 02:17:49 +0300
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-12-04 02:17:49 +0300
commita9e50bde82acb3befa179213a458d8e1f8844aea (patch)
tree37a43a68d125a4be5b462bc533bd89dcdcba1937 /source/blender/makesdna/DNA_freestyle_types.h
parent1bfcba31d2e1010a912f9cd283e348b833e43a27 (diff)
A few attempts to reduce the amount of memory consumption in Freestyle.
* Made changes to the Controller so that dynamically allocated memory areas (e.g. imported mesh data, winged edges, and a view map) are released soon after they become unnecessary. * Added a new feature edge selection criterion based on image border. When the "Selection by Image Border" option is enabled, feature edges are selected only if they are within the border of the image being rendered. The border is defined either by the frame size or a border region (specified by the Shift-B key in a 3D View window). When large scenes are rendered, this clipping by the image border leads to less memory consumption. * Enabled the "Silhouette", "Border", and "Crease" edge types of the Selection by Edge Types option by default. When no edge types are specified, all feature edges including "Ridge", "Valley" and "Suggestive Contour" are detected at the cost of extra memory consumption. Disabling these three edge types and enabling some other edge type leads to less memory consumption. This change is intended to help new Freestyle users by providing a typical, low memory consumption default setting. * Slightly rearranged the UI controls for feature edge selection.
Diffstat (limited to 'source/blender/makesdna/DNA_freestyle_types.h')
-rw-r--r--source/blender/makesdna/DNA_freestyle_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_freestyle_types.h b/source/blender/makesdna/DNA_freestyle_types.h
index 4b55a157eca..390f726de57 100644
--- a/source/blender/makesdna/DNA_freestyle_types.h
+++ b/source/blender/makesdna/DNA_freestyle_types.h
@@ -53,9 +53,10 @@ struct FreestyleLineStyle;
#define FREESTYLE_LINESET_GR_NOT 16
/* FreestyleLineSet::selection */
-#define FREESTYLE_SEL_VISIBILITY 1
-#define FREESTYLE_SEL_EDGE_TYPES 2
-#define FREESTYLE_SEL_GROUP 4
+#define FREESTYLE_SEL_VISIBILITY 1
+#define FREESTYLE_SEL_EDGE_TYPES 2
+#define FREESTYLE_SEL_GROUP 4
+#define FREESTYLE_SEL_IMAGE_BORDER 8
/* FreestyleLineSet::fedge_types */
#define FREESTYLE_FE_SILHOUETTE 1