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
AgeCommit message (Collapse)Author
2015-10-23Cleanup: rename 'datablocks' -> 'data-blocks'Campbell Barton
Similar to addons -> add-ons, for reading it fits better to hyphenate.
2015-07-15Cleanup: wsCampbell Barton
2015-07-12Cleanup: styleCampbell Barton
2015-07-10Freestyle: new stroke modifiersFolkert de Vries
This patch introduces a couple new stroke modifiers. The ones currently implemented are based on prototypes by @kjym3 and myself. The new modifiers: - Tangent - Thickness noise - Crease Angle - Simplification - Curvature 3D The documentation for these new modifier types can be found [[ http://www.blender.org/manual/render/freestyle/parameter_editor/index.html | in the manual ]]: {F134441} (left: AnisotropicThicknessShader, right: NoiseThicknessShader) {F140499} (left: Curvature 3D, right: Simplification) Author: Folkert de Vries (flokkievids) Reviewers: kjym3 Subscribers: #user_interface, plasmasolutions, kjym3 Projects: #bf_blender Differential Revision: https://developer.blender.org/D963
2014-10-13Fix T42198: Linked lines only work with linked objects.Tamito Kajiyama
The reported issue was caused by a backward incompatibility due to careless code changes made when per-material Freestyle line colors were introduced in rB7915d7277ac8c605f016f30f943080556244fb59. In 2.71 line style Material color/alpha/thickness modifiers was retrieving alpha transparency from Material.alpha, whereas in 2.72 Material.line_color[3] was referenced. The present fix reverts the aforementioned code changes. This issue is a regression from 2.71, so the fix is appropriate for inclusion in the 2.72a release.
2014-10-01Freestyle: New line style options for sorting and chain selection.Tamito Kajiyama
The following two sort keys are added for sorting chains. * Projected X - Sort by the projected X value in the image coordinate system. * Projected Y - Sort by the projected Y value in the image coordinate system. A new line style option for the selection of first N chains is also added. Moreover, the chain sorting and chain selection operations are now executed in this order instead of the reverse order used previously. The UI has also changed accordingly. This functional change is backward compatible and won't result in visual differences.
2014-08-25Freestyle: Fix for missing and unnecessary property update notifications.Tamito Kajiyama
2014-08-12Freestyle: Add BKE_linestyle_default_shader() for creating the default line ↵Tamito Kajiyama
style shader node tree. Changes to ED_node_shader_default() were reverted since the code there was actually not suitable for setting up the default line style node tree properly.
2014-08-12Implemented a basic framework for node-based shaders.Tamito Kajiyama
Shader nodes will be used to define materials for stroke rendering, so as to allow users to interactively configure textures.
2014-07-22Freestyle: Fix for UI text of the "use_tips" line style property.Tamito Kajiyama
2014-07-17Follow-up to code cleanup in rB415af0b: Keep compound terms as they are.Tamito Kajiyama
2014-07-16Cleanup: Adhere to our naming convention for BKE_linestyle.h APICampbell Barton
2014-07-07Per-material line color settings for Freestyle.Tamito Kajiyama
New properties 'line_color' and 'line_priority' are added to Material ID data blocks. The 'line_color' property allows users to specify a per-material line color that can be used as a Freestyle line color through Material color modifiers of line style settings. The new line color property is intended to provide a solution for line color stylization when a proper Freestyle support for Cycles is implemented (likely as part of the upcoming Blender 2.72 release; see Patch D632). Materials in Cycles are usually set up using shader nodes, and Freestyle won't be capable of retrieving colors and other properties from node-based materials any soon. The new line color property of materials addresses this foreseen limitation by providing artists with an intuitive alternative mean to specify line colors on a per-material basis independently from node trees. The 'line_priority' property gives users a way to control line colors at material boundaries. When a line is drawn along a feature edge at material boundaries, one of the two materials on both sides of the edge has to be picked up to determine the line color. So far there was no way to control this selection (which was in effect at random). Now the material with a higher line color priority will be selected. The new per-material line settings are shown in the new Freestyle Line tab in the Material context of the Properties window (only when Freestyle is enabled).
2014-06-06Freestyle: Fix for viewport render not updating with changes of Freestyle ↵Tamito Kajiyama
settings.
2014-05-19Style cleanupCampbell Barton
2014-05-16Fix part of T39708, don't overupdate particles when changine activeAntony Riakiotakis
particle texture slot
2014-05-13Freestyle: code clean-up.Tamito Kajiyama
2014-05-13Freestyle: Added .new() and .remove() methods to collection types of line ↵Tamito Kajiyama
style modifiers.
2014-05-13Usual typo and style fixes in UI messages...Bastien Montagne
2014-05-05Freestyle: Revised a UI text for better understandability in the Outliner.Tamito Kajiyama
2014-05-03Patch D246: Texture Marks for freestyle strokes, written and contributed by ↵Tamito Kajiyama
Paolo Acampora. Reviewers: brecht, kjym3, #freestyle Reviewed By: brecht, kjym3 Differential Revision: https://developer.blender.org/D246
2014-04-24Follow-up to the previous fix for T37452: More descriptive tooltips for ↵Tamito Kajiyama
freestyles settings Made additional tool tips revisions suggested by a comment to T37452.
2014-04-24Fix T37452: More descriptive tooltips for freestyles settings.Tamito Kajiyama
Tool tips of some Freestyle parameters were revised so that parameter descriptions are easier to understand for artists.
2014-04-18Freestyle: New options for sorting to arrange the stacking order of lines.Tamito Kajiyama
Line styles now have a set of new options for rearranging the stacking order of lines. This gives artists more control to determine which lines should be drawn on top of others. Two available sort keys are the distance from camera and curvilinear 2D length. Since the distance of a line from camera may vary over vertices, another option called integration type is used to compute the sort key for a line from the values computed at individual vertices. Available integration types are MEAN, MIN, MAX, FIRST and LAST (see the tool tips for more detail).
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-03Icon for LineStyleCampbell Barton
patch T37008 from Michael P.
2014-02-09UI: use proportional option while dragging buttonsCampbell Barton
2013-09-20code cleanup: quiet rna warnings, remove remove_strict_flags() for cmake/rna.Campbell Barton
also set_source_files_properties() wasn't working for rna_*_gen.c files, set dna.c and generated data files with generated property too.
2013-04-24fix [#34958] keyframe many items would fail if there was a (") in the text.Campbell Barton
2013-04-23rna attribute consistency edits, use common prefix for booleans.Campbell Barton
2013-04-16Set min value for sampling value of freestyle line geometry modifier to 0.Sv. Lockal
Negative sampling does not make any sense and leads to crash.
2013-04-10Fix for the subtype of range_min/max parameters in RNA Freestyle settings.Tamito Kajiyama
These parameters specify a distance in Blender units, so PROP_DISTANCE is more appropriate. Suggested by Bastien Montagne through personal communications, thanks!
2013-04-08A few more UI messages fixes...Bastien Montagne
2013-04-07Usual typo fixes... ;)Bastien Montagne
2013-04-05style cleanupCampbell Barton
2013-02-02Fix for the label of the DIFFERENCE blending mode for alpha and thickness ↵Tamito Kajiyama
modifiers. Problem report from IRIE Shinsuke, thanks a lot!
2013-01-04Hid the Misc panel in the Freestyle Line Style tab for now.Tamito Kajiyama
2012-12-12A big cleaning patch by Bastien Montagne (thanks a lot!)Tamito Kajiyama
* Split and moved Cycles’ render layers panels into the render_layer context as well (would be nice to hide this context when not needed, e.g. with the BGE, but this is not so easy to do nicely...). * Fixed some inconsistencies with trunk (probably due to svn merge glitches) using r52858 as reference. Also recovered the missing release/bin/blender-softwaregl file. * A bunch of style code fixes in Blender's own code (not Freestyle itself yet): line lengths, spaces around operators, block formatting, headers, etc. In rna_linestyle.c, color_blend_items was replaced by ramp_blend_items (exported from rna_material.c).
2012-12-10All angle properties were switched from degrees to radians (using PROP_ANGLE Tamito Kajiyama
RNA subtype), since Freestyle internally use angles in radians. A patch set by Bastien Montagne (many thanks!) NOTICE FOR BRANCH USERS: This commit may break line drawing settings of already saved Freestyle files. All angles are now treated as radians instead of degrees, so collections of angle values might be necessary in order to recover previous visual results. Affected properties are: - Crease Angle in the edge detection options - Min 2D Angle in the 'Splitting' section of a line style - Max 2D Angle in the 'Splitting' section of a line style - 'orientation' parameter of the Calligraphy thickness modifier - 'angle' parameter of the PerlinNoise1D geometry modifier - 'angle' parameter of the PerlinNoise2D geometry modifier - 'angle' parameter of the 2DTransform geometry modifier
2012-11-05Fix for dashed line options not working as expected in some applicationsTamito Kajiyama
when combined with geometry modifiers. The problem is that users were not able to choose the time when the dashed line options are applied. Instead, the dashed line options were applied only before geometry modifiers were employed. Since dashes were separate strokes, the geometry modifiers were processed dash by dash. Depending on users' artistic intention, this may or may not lead to expected stylization results, as reported by octane98 in the BlenderArtists Freestyle thread on January 3, 2012. http://blenderartists.org/forum/showthread.php?89986-Freestyle-for-Blender&p=2018592&viewfull=1#post2018592 Now the Strokes tab of the Freestyle Line Style panel has two sets of dashed line options. One is in the Splitting section of the Strokes tab and used for splitting strokes by dashed line patterns. The other set is called "Dashed Line" and used to generate dashed lines based on the strokes after the geometry modifiers are applied. The two sets of dashed line options are independent of each other, so that users can enable one of them as well as both at the same time.
2012-10-28Improvements of Freestyle GUI controls - Part 1.Tamito Kajiyama
This commit makes a set of fixes and improvements based on the results of Freestyle branch review by Brecht. The discussion thread is: http://lists.blender.org/pipermail/bf-committers/2012-October/037927.html * The Layers panel and Freestyle-related panels in the Render tab of the Properties window were moved to the newly created Render Layers tab. The idea is to separate per render layer rendering options into a distinct Properties window tab, and use the existing Render tab to accommodate per scene rendering options. * The new Freestyle panel was added in the Render tab. The panel header contains a toggle button for globally enabling Freestyle, with the aim of making Freestyle easier to find. Those Freestyle options in the Post Processing panel were also moved to the new panel. * GUI code was updated so that UI controls will be greyed out (instead of being hidden) when Freestyle is disabled. Additional UI changes were also made to reduce space consumption. * The list of line sets was moved from the Freestyle panel to the Freestyle: Line Sets panel. * Old ray-casting algorithms were removed from the UI. Now only two algorithms (culled and non-culled cumulative visibility detection algorithms) are available, and the selection is done by the new "Culling" toggle button within the edge detection options.
2012-04-07New options in the Parameter Editor mode for controling the position of ↵Tamito Kajiyama
stroke thickness. The new options enable a better control on the position of stroke thickness with respect to stroke backbone geometry. Three predefined positions are: * center: thickness is evenly split to the left and right side of the stroke geometry. * inside: strokes are drawn within object boundary. * outside: strokes are drawn outside the object boundary. Another option called "relative" allows users to specify the relative position by a number between 0 (inside) and 1 (outside). The thickness position options are applied only to strokes of the edge types SILHOUETTE and BORDER, since these are the only edge types defined in terms of object boundary. Strokes of other edge types are always using the "center" option.
2012-02-17Fix for a color preview not immediately updated during the manipulation of a ↵Tamito Kajiyama
color picker. Problem report by Light BWK through personal communications, thanks!
2012-01-04Added two stroke geometry modifiers:Tamito Kajiyama
- 2D Offset: Adds two-dimensional offsets to stroke backbone geometry. - 2D Transform: Applies two-dimensional scaling and rotation to stroke backbone geometry.
2011-12-24Fix for line style names not being made unique after a new name is set.Tamito Kajiyama
2011-12-12Updates on the Parameter Editor mode:Tamito Kajiyama
* Added a new chain splitting option for dividing chains into pieces having a given curvilinear 2D length. * Rearranged the UI controls of chain splitting options according to the actual order of processing. * Made changes for converting each view edge into a chain in the case of not using chaining.
2011-11-14Added new options for splitting chains of feature edges by a minimumTamito Kajiyama
and maximum 2D angle.
2011-11-13Merged changes in the trunk up to revision 41768.Tamito Kajiyama
Conflicts resolved: source/blender/makesdna/intern/makesdna.c source/blender/makesrna/RNA_enum_types.h source/blender/render/intern/source/shadeinput.c source/blenderplayer/bad_level_call_stubs/stubs.c Additional changes: * source/blender/makesrna/intern/rna_linestyle.c: Fixed white space issues that generated a number of compiler errors. The problem was that two string literals for enumerating MA_RAMP_SOFT and MA_RAMP_LINEAR contained a space. The string literals are supposed to represent a valid C identifier because of their use for automatic code generation. * Stroke transparency has been temporarily disabled due to a functionality conflict with some merged changes. A fix of this issue is planned.
2011-11-12Added to the Parameter Editor mode new stroke geometry modifier `Blueprint'Tamito Kajiyama
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.
2011-11-01Sorted modifier menu items in the alphabetical order in the Parameter Editor ↵Tamito Kajiyama
mode.