Blender Git Loki

Git Commits -> Revision e7a4d45

Revision e7a4d45 by Tamito Kajiyama (master)
November 11, 2011, 20:35 (GMT)
Added to the Parameter Editor mode new stroke geometry modifier `Blueprint'
that produces a blueprint using circular, elliptic, and square contour strokes.
Related changes and bug fixes were made as follows:

* The randomness in radius and center has been transformed into optional
parameters of the pyBluePrintCirclesShader and pyBluePrintEllipsesShader.
Also a new optional parameter to control the randomness of backbone
stretching has been added to the pyBluePrintSquaresShader.

* A bug in the pyBluePrintSquaresShader that invisible stroke vertices at
corners of rectangular contour strokes were not properly drawn. The problem
was due to the changes of the / operator between Python 2.x to 3.x. Even
when the two operands of the division operator are integers, Python 3.x
gives a floating-point number when the quotient is not an integer. The fix
was just to replace the / operator by the // operator for integer division.

* An unpleasant discontinuity in circular and elliptical contour strokes
was fixed.

* The length parameter of the Backbone Stretcher geometry modifier has been
renamed to `backbone_length' in line with the parameter of the same name in
the pyBluePrintSquaresShader.

Commit Details:

Full Hash: e7a4d454350beb1ce20f3d7d2d091451a885eefe
SVN Revision: 41761
Parent Commit: 80e398e
Lines Changed: +181, -52

8 Modified Paths:

/release/scripts/freestyle/style_modules/parameter_editor.py (+11, -1) (Diff)
/release/scripts/freestyle/style_modules/shaders.py (+71, -44) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+11, -0) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+16, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_linestyle_types.h (+20, -2) (Diff)
/source/blender/makesrna/intern/rna_linestyle.c (+48, -3) (Diff)
/source/blender/makesrna/RNA_access.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