Blender Git Loki

Git Commits -> Revision a9e50bd

Revision a9e50bd by Tamito Kajiyama (master)
December 3, 2010, 23:17 (GMT)
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.

Commit Details:

Full Hash: a9e50bde82acb3befa179213a458d8e1f8844aea
SVN Revision: 33457
Parent Commit: 1bfcba3
Lines Changed: +113, -56

7 Modified Paths:

/release/scripts/freestyle/style_modules/parameter_editor.py (+30, -0) (Diff)
/release/scripts/ui/properties_render.py (+3, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.cpp (+62, -47) (Diff)
/source/blender/freestyle/intern/application/Controller.h (+7, -4) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+2, -2) (Diff)
/source/blender/makesdna/DNA_freestyle_types.h (+4, -3) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021