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
2011-08-30Added an 'angle' parameter to the Perlin Noise 1D and 2D geometry modifiersTamito Kajiyama
to specify a displacement direction in degrees.
2011-08-22Fix for round and square tips not working. Bug reported by tungee, thanks!Tamito Kajiyama
2011-08-21Fix for deprecation warning regarding the reverse order of matrix-vectorTamito Kajiyama
multiplication operands.
2011-08-19Stroke geometry modifiersTamito Kajiyama
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.
2011-08-19Removed uncontrolled randomness from the pyPerlinNoise1DShader.Tamito Kajiyama
2011-08-19Added an optional argument 'seed' to the Freestyle.Noise class constructor.Tamito Kajiyama
The value is used as a seed for random number generation if it is equal to or greater than zero; otherwise, time is used as a seed.
2011-08-13Added a proper getName() method to MaterialBoundaryUP0D.Tamito Kajiyama
2011-08-13Removed unnecessary debug print statements.Tamito Kajiyama
2011-08-13New line style option for splitting chains of feature edges at material ↵Tamito Kajiyama
boundaries.
2011-07-25New line style modifiers for changing line color, alpha transparency, andTamito Kajiyama
line thickness based on object materials. Accessible material attributes are diffuse color, specular color, specular hardness, and alpha.
2011-07-03Fixed a bug introduced in the last commit to address the issueTamito Kajiyama
of cap shaders.
2011-07-02Fixed cap shaders that failed with zero length strokes.Tamito Kajiyama
2011-04-13Fix for the Distance from Object modifier. The problem wasTamito Kajiyama
reported by ikeahloe. Thanks!
2011-01-31Made stroke rendering stability fixes, with the aim of addressingTamito Kajiyama
occasional unexpected long lines. 1. The Parameter Editor mode was extended to prevent strokes from doing quick U-turns that "enable" a known bug in strip creation that generates unexpected long lines in question. 2. A verbose warning message was added to make the existence of the strip creation bug visible to users. When the bug affects the stroke rendering, the following warning shows up in the console: > Warning: problem in strip creation (the strip is most likely doing a U-turn). 3. The extrapolation option of CurveMapping (used in alpha and thickness modifiers in the Parameter Editor mode) was identified as another source of unexpected long lines. Now the extrapolation option is unconditionally disabled (even when users enable it through the GUI).
2010-12-04Fix for a bug in the Distance from Object modifiers.Tamito Kajiyama
The bug was reported by Jonathan Hudson, thanks!
2010-12-04A few attempts to reduce the amount of memory consumption in Freestyle.Tamito Kajiyama
* 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.
2010-12-03New feature edge selection criterion based on object groups.Tamito Kajiyama
The Freestyle tab in the Render buttons has a couple of new options "Group" and "Group Negation". The Group option specifies a group of objects (defined through the Groups tab in the Object buttons), while the Group Negation value is either INCLUSIVE or EXCLUSIVE. If INCLUSIVE, feature edges belonging to some object in the group are selected. Otherwise, those feature edges not belonging to any object in the group are selected.
2010-10-24Added support for dashed line in the Parameter Editor mode.Tamito Kajiyama
2010-10-11Fix for missing toggle switches to enable/disable linesets. Also gaveTamito Kajiyama
uniform property name "use" to all toggle switches in Freestyle-related options, according to recent RNA renaming.
2010-10-11Added support for three types of stroke caps that determines the shapeTamito Kajiyama
of both ends of strokes. The three cap types are: 1) butt caps (flat); 2) round caps (half-circle); and 3) square caps (flat and extended). Also implemented an option to join those feature edges of the same object. These options are available in the "Stroke" tab of the "Freestyle: Line Style" panel in the Render buttons.
2010-08-02Implemented "Distance from Object" color/alpha/thickness modifiersTamito Kajiyama
in the new Parameter Editor mode.
2010-08-01Implemented "Distance from Camera" color/alpha/thickness modifier inTamito Kajiyama
the new Parameter Editor mode. Refactored shader class definitions and the way of iteration over stroke vertices.
2010-07-28* Made the Parameter Editor mode much more functional. Edge selectionTamito Kajiyama
criteria, as well as the color/alpha/thickness Along Stroke modifiers now work. * Added more curve blend types. The default is set to "MIX".
2010-07-26* Implemented the basic stroke rendering functionality for the newTamito Kajiyama
Parameter Editor mode. This is a WIP commit. Only the base line color, base alpha transparency, and base line thickness are respected. More additions are anticipated to account for other parameters. * Added FRS_finish_stroke_rendering() to clean Freestyle-related temporary resources after stroke rendering. * Some functions in FRS_freestyle.cpp are now declared as static functions, so as not to mess up the program-wide name space. * Made the StyleModule class inheritable, and defined new subclass BlenderStyleModule that takes a Text object instead of a file name.
2010-07-07* Bug fixes by Stéphane Grabli with respect to pyZDependingThicknessShader,Tamito Kajiyama
pyMaterialColorShader, pyBluePrintEllipsesShader and pyBluePrintSquaresShader. * Fixes for Vector instantiation that now takes only a sequence object of 2, 3, or 4 elements -- an API change in revision 28417. * Deleted vector.py that is no longer used.
2010-05-09Renamed FrsCurve, FrsNoise and FrsMaterial Python extension typesTamito Kajiyama
to those names without the "Frs" prefix. These types are part of the Freestyle module, so that there is no need to make their names globally unique.
2010-04-18Merged changes in the trunk up to revision 28247.Tamito Kajiyama
2010-04-10Fixed a TabError: inconsistent use of tabs and spaces in indentation.Tamito Kajiyama
2009-09-27Made standard style modules compatible with Python 3.Tamito Kajiyama
2009-09-20Reverted all changes (i.e., deletion) in release/scripts/freestyle.Tamito Kajiyama
2009-09-19MergedTamito Kajiyama
https://svn.blender.org/svnroot/bf-blender/branches/soc-2008-mxcurioni (r22789) and https://svn.blender.org/svnroot/bf-blender/trunk/blender (r23338) with the "Ignore ancestry" and "Ignore line endings" options enabled (using TortoiseSVN on Windows). After the merge operation, all changes (i.e., deletion) in source/blender/freestyle/ were reverted in order to keep the primary source tree of the Freestyle renderer.
2009-07-28Replaced missing integrateDouble() by integrate() newly implementedTamito Kajiyama
in revision 21954.
2009-07-28* freestyle_init.py: Removed all classes for wrapping extension types.Tamito Kajiyama
This allows users to test the types of those objects that are returned by API functions, by means of usual Python idioms such as "type(I) is T" and "isinstance(I, T)". * Removed all occurrences of ViewVertex::castToTVertex() in the following modules and rewrote the code segments using it by means of the "type(I) is T" idiom mentioned above: ChainingIterators.py PredicatesU1D.py * Replaced all occurrences of vector.Vec2, vector.Vec3, Vec2f and Vec3f by Blender.Mathutils.Vector in the following modules: anisotropic_diffusion.py Functions0D.py shaders.py sketchy_topology_broken.py * shaders.py: Fixed NameError's concerning math.pow(). * shaders.py: Added a Python equivalent of getFEdge function, defined in source\blender\freestyle\intern\view_map\Functions0D.cpp as follows: FEdge* Functions0D::getFEdge(Interface0D& it1, Interface0D& it2) { return it1.getFEdge(it2); } * shaders.py: Replaced fe.qi() by fe.viewedge().qi(). * contour.py: Fixed the import statement for freestyle_init.py.
2009-03-14Made appropriate changes according to the fix in Revision 19287 concerning ↵Tamito Kajiyama
the IntegrationType type.
2008-12-01Added changes to support Python's native iterator protocol in Stroke and ↵Tamito Kajiyama
StrokeVertexIterator. freestyle_init.py * Added a generic getName() method that allows subclasses to omit the method to return their class names. BPy_Convert.cpp BPy_Convert.h * Added to BPy_StrokeVertexIterator_from_StrokeVertexIterator() a second argument to specify the direction (reversed or not) of the iterator to be created. BPy_Stroke.cpp * Added support for Python's native iterator protocol. * Added code to parse the optional argument of strokeVerticesBegin(). BPy_StrokeVertexIterator.cpp BPy_StrokeVertexIterator.h * Added support for Python's native iterator protocol. Stroke.cpp * Fixed a null pointer reference. Stroke.h * Added new method Stroke::strokeVerticeAt(i) that returns the i-th StrokeVertex of the Stroke.
2008-09-30soc-2008-mxcurioni: sending files in release/scripts/freestyle folderMaxime Curioni