Blender Git Loki

Git Commits -> Revision 6bc5d52

Revision 6bc5d52 by Tamito Kajiyama (master)
August 19, 2011, 14:05 (GMT)
Stroke geometry modifiers

Added a set of stroke geometry modifiers to the Geometry tab of line styles
in the Parameter Editor mode. Now the following stroke geometry modifiers are
available, each with a set of animateable parameters:
- Sampling: changes the resolution of stroke backbone polylines.
- Bezier Curve: replace stroke backbone with a Bezier approximation of the
stroke backbone.
- Sinus Displacement: add sinus displacement to stroke backbone.
- Spatial Noise: add spatial noise to stroke backbone.
- Perlin Noise 1D: add one-dimensional Perlin noise to stroke backbone.
- Perlin Noise 2D: add two-dimensional Perlin noise to stroke backbone.
- Backbone Stretcher: stretch the beginning and the end of strokes.
- Tip Remover: remove a piece of stroke at the beginning and the end of strokes.

To branch users: When you have a .blend file with Freestyle options specified,
you may want to add a Sampling modifier with the 'sampling' value set to 5.
This value specifies a resolution of polylines for line drawing in Freestyle.
If no sampling modifier is specified, your line drawing will result in coarse
polylines. Before geometry modifiers were introduced, this initial sampling
was automatically done. Now the initial sampling is a tunable parameter that
can be omitted, allowing better control on polyline resolution.

Commit Details:

Full Hash: 6bc5d5258f78963bdefe10a5ed9124b552d6be6c
SVN Revision: 39553
Parent Commit: aece060
Lines Changed: +768, -144

13 Modified Paths:

/release/scripts/freestyle/style_modules/parameter_editor.py (+80, -8) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+98, -47) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+175, -48) (Diff)
/source/blender/blenloader/intern/readfile.c (+7, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+39, -0) (Diff)
/source/blender/editors/render/render_intern.h (+1, -0) (Diff)
/source/blender/editors/render/render_ops.c (+1, -0) (Diff)
/source/blender/editors/render/render_shading.c (+47, -0) (Diff)
/source/blender/makesdna/DNA_linestyle_types.h (+96, -25) (Diff)
/source/blender/makesrna/intern/rna_linestyle.c (+210, -16) (Diff)
/source/blender/makesrna/RNA_access.h (+9, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021