-
- Downloads
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.
Showing
- release/scripts/freestyle/style_modules/parameter_editor.py 11 additions, 1 deletionrelease/scripts/freestyle/style_modules/parameter_editor.py
- release/scripts/freestyle/style_modules/shaders.py 71 additions, 44 deletionsrelease/scripts/freestyle/style_modules/shaders.py
- release/scripts/startup/bl_ui/properties_render.py 11 additions, 0 deletionsrelease/scripts/startup/bl_ui/properties_render.py
- source/blender/blenkernel/intern/linestyle.c 16 additions, 2 deletionssource/blender/blenkernel/intern/linestyle.c
- source/blender/blenloader/intern/writefile.c 3 additions, 0 deletionssource/blender/blenloader/intern/writefile.c
- source/blender/makesdna/DNA_linestyle_types.h 20 additions, 2 deletionssource/blender/makesdna/DNA_linestyle_types.h
- source/blender/makesrna/RNA_access.h 1 addition, 0 deletionssource/blender/makesrna/RNA_access.h
- source/blender/makesrna/intern/rna_linestyle.c 48 additions, 3 deletionssource/blender/makesrna/intern/rna_linestyle.c
Please sign in to comment