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-01-03Fix for view map cache not flushed by updates of edge detection options.Tamito Kajiyama
This fix should be considered for inclusion in the 2.73 release, since it concerns a new feature of Freestyle introduced in 2.73.
2014-11-26Freestyle: Fix for view map caching not flashed properly in view port rendering.Tamito Kajiyama
2014-11-23Fix freestyle compile.Bastien Montagne
Do not know why this shows up now, probably a recent tweak in BLI_utildefines.h or so...
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-28Cleanup: de-duplicate engine-id'sCampbell Barton
2014-10-23Fix T42351: Freestyle will not render edges selected by Edge Type: Material ↵Tamito Kajiyama
Boundary, if the materials are different, but look identical.
2014-10-10Freestyle: Fix for memory leaks in StrokeVertexIterator.Tamito Kajiyama
The issues identified here are regression from 2.71, so the present code revision is appropriate for backporting if 2.72a is planned.
2014-10-10Freestyle: Fix for StrokeVertexIterator.__next__() ignoring the first and ↵Tamito Kajiyama
only element. A StrokeVertexIterator ignores the first element when it is the only element. Such an iterator can be created by the .incremented() method from an iterator over two stroke vertices. This problem is a regression from 2.71. The present fix is appropriate to backport if Blender 2.72a is planned. Problem report by Kazuhiro Murakawa through personal communications, thanks!
2014-10-08Freestyle: silence a GCC warning (-Wunused-function).Tamito Kajiyama
2014-10-08D801: Freestyle: remove old and unused stroke shadersTamito Kajiyama
This patch removes several stroke shaders written in C++ that are unused and don't serve a real purpose any more. The removed shaders are: - BPy_ColorVariationPatternShader - BPy_StrokeTextureShader - BPy_TextureAssignerShader - BPy_ThicknessVariationPatternShader - BPy_fstreamShader - BPy_streamShader and a few more that weren't even exposed to the Python API. Some minor edits were made by the reviewer. Differential Revision: https://developer.blender.org/D801 Reviewed by: kjym3
2014-10-03Cleanup: spelling, wsCampbell Barton
2014-10-02Freestyle: For until c++11 is accepted only static members could b ↵Sergey Sharybin
initialized in-lined
2014-10-02Fix freestyle/bplayer build (usual stub stuff).Bastien Montagne
2014-10-02Freestyle: Fix for destructive view map modifications during chaining ↵Tamito Kajiyama
operations. The view map is mostly treated as a read-only data structure by line stylization operations (i.e., selection, chaining, splitting, sorting and stroke creation). The only exception is the chaining operation in some cases where insertion of extra FEdge objects is necessary to ensure the continuity of underlying FEdges from which a chain is constructed. The present revision addresses the removal of extra FEdges so to keep the view map clean and suitable for reuse in subsequent render frames.
2014-10-02Freestyle: Finer memory statistics with CXX_GUARDEDALLOC.Tamito Kajiyama
2014-10-02Freestyle: View map caching.Tamito Kajiyama
New render layer option named "View map cache" is added to reuse a previously computed view map for subsequent rendering. The cache is automatically updated when the mesh geometry of the input 3D scene has been changed. This functionality offers a major performance boost for Freestyle animation rendering when camera-space mesh geometry is static, as well as for repeated still renders with updates of line stylization options. Although the "View map cache" toggle is a render layer option, the cache memory is shared by all render layers and scenes. This means that if Freestyle is used for two or more render layers (possibly in different scenes through the compositor), then the cached view map for one render layer is replaced by a new view map for another render layer and hence no performance gain is expected.
2014-09-28Freestyle: minor docstring revision of Operators.reset().Tamito Kajiyama
2014-09-28Freestyle: Expose the Operators.reset() function to Python.Tamito Kajiyama
The Operators.reset function is exposed to the Freestyle Python API, which makes it possible to combine multiple style modules into one file. Differential revision: https://developer.blender.org/D802 Author: flokkievids (Folkert de Vries) Reviewed by: kjym3 (Tamito Kajiyama)
2014-09-23D713: correct error /w braces (freestyle)Tamito Kajiyama
Differential revision: https://developer.blender.org/D713 Author: campbellbarton (Campbell Barton)
2014-09-19Freestyle: Python API documentation updates.Tamito Kajiyama
Fixed dead references of API identifiers (e.g., freestyle.types.Interface0D) due to relocations of the identifiers into submodules. Also made various minor revisions of mark-ups and typos.
2014-09-18Fix for missing Freestyle sections in the Blender Python API documentation.Tamito Kajiyama
Freestyle sections of the API docs were empty due to Freestyle module reorganization in commit rB6498b96ce7081db039354228213d72e8c70bd3aa. Module __all__ property was added to submodules so as to properly exclude irrelevant documentation elements such as mathutils.Vector.
2014-09-11Freestyle: Fix for missing quality control on line rendering in Cycles.Tamito Kajiyama
Freestyle was using the default Cycles rendering settings (e.g., the number of samples) and users could not change them. Now all render parameters (except for film_transparent) are inherited for Freestyle stroke rendering. Problem report by Danny Grimm on Facebook, thanks!
2014-09-02Better fix for T41464: Material Boundary bug in Freestyle.Tamito Kajiyama
The problem addressed here is that there was no mean to check if an iterator points the last of the elements being iterated over. Such checking is necessary to reliably dereference the iterator (i.e., calling the operator*() method of the underlying C++ iterator object). Now Interface0DIterator and StrokeVertexIterator have an .at_last property to check if an iterator points the last element. Using this new API feature, the present commit partly reverts the previous commit rBeb8964fb7f19 to better address T41464. Differential revision: https://developer.blender.org/D752 Author: flokkievids (Folkert de Vries) Reviewed by: kjym3 (Tamito Kajiyama)
2014-08-20Fix T41464: Material Boundary bug in Freestyle.Tamito Kajiyama
The reported issue was caused by an old bug combined with another bug introduced by recent Freestyle Python API updates. The old bug was that a mutable reference to CurvePoint was treated as if it were immutable. Iteration over CurvePoint objects is implemented by the C++ CurvePointIterator class, whose dereference method CurvePointIterator::operator*() returns a reference to a mutable data member (probably originally intended for better performance). Hence the returned reference may vary upon iteration over different CurvePoints. This implementation detail was overlooked and the returned reference was treated as immutable (which is the case in fact for other Interface0D subclasses except for CurvePoint). This bug was surprisingly old as it existed before the beginning of Freestyle integration into Blender. The other bug was in the MaterialBoundaryUP0D predicate class that was not properly handling the end of iteration. It is noted that when the iter() and next() built-in functions are applied to Interface0DIterator, it is no longer possible to reliably check the end of iteration by the .is_end property of the iterator. Namely, the .is_end property works as expected only when iteration is carried out in combination with the conventional .increment() and .decrement() methods of the iterator. For this reason the commit rBb408d8af31c9 was partly reverted to recover the previous definition of MaterialBoundaryUP0D.
2014-08-17CleanupCampbell Barton
2014-08-13Fix possible uninitialized var useCampbell Barton
2014-08-13SpellingCampbell Barton
2014-08-12Freestyle: Removed the stored bContext from the Controller class.Tamito Kajiyama
The stored context object was used for creation of shade nodes. A closer look at the node system showed that the context is not actually used when shader nodes are added to a shader node tree. Relying on this fact, now a NULL pointer is passed to nodeAddStaticNode() instead of the stored bContext pointer.
2014-08-12Freestyle: removed dead code in BlenderStrokeRenderer.Tamito Kajiyama
2014-08-12Freestyle: Removed debugging code (use G.main instead of Freestyle-local ↵Tamito Kajiyama
struct Main).
2014-08-12Fix for vertex colors not working properly.Tamito Kajiyama
Looks like the issue was caused by a UV map name starting with a lower case letter (e.g., "color"). Capitalizing the name fixed the problem. Also adjusted the creation of custom data layers to optimize things a bit.
2014-08-12Fix for wrong link in the line style shader nodes due to a typo.Tamito Kajiyama
2014-08-12Fix for SCENE_OT_freestyle_stroke_material_create not respecting "use_nodes" ↵Tamito Kajiyama
line style prop.
2014-08-12Freestyle: Proper support for alpha transparency in line style shader nodes ↵Tamito Kajiyama
for Cycles.
2014-08-12Freestyle: Fix for error handling in SCENE_OT_freestyle_stroke_material_create.Tamito Kajiyama
2014-08-12Freestyle: Fix for an increasing reference count of images in copied Image ↵Tamito Kajiyama
Texture shader nodes.
2014-08-12Freestyle: Properly reconnect links from a UV Along Stroke node to a UV Map ↵Tamito Kajiyama
node.
2014-08-12Freestyle: Caching of auto-generated materials from line style shader nodes.Tamito Kajiyama
2014-08-12Removed/disabled debugging code.Tamito Kajiyama
2014-08-12Freestyle: an improved workflow of line style shading nodes.Tamito Kajiyama
Removed the previous changes for passing a line style through the Controller, and revised the BlenderTextureShader to assign the shader node tree of a line style (if specified) to strokes. This way the assignment of shading nodes can be done through both the Freestyle GUI and Python scripting.
2014-08-12WIP commit just for a record of a working snapshot of code revisions for ↵Tamito Kajiyama
node-based textured strokes.
2014-08-12Made temporary changes to use G.main rather than Freestyle-local Main for ↵Tamito Kajiyama
debugging.
2014-08-12Freestyle: Fix for a crash during access to Scene properties from within Python.Tamito Kajiyama
2014-08-12Freestyle: Keep a reference of the line style in Stroke rather than in ↵Tamito Kajiyama
StrokeRep.
2014-08-12Fix for renamed API functions in rB415af0b.Tamito Kajiyama
2014-08-12Freestyle: Removed a debug print in BlenderStrokeRenderer::GetStrokeShader().Tamito Kajiyama
2014-08-12Freestyle: Added "blend_type" and "use_clamp" options to the Output Line ↵Tamito Kajiyama
Style shader node.
2014-08-12Freestyle: Fix for stroke_shader node default values copied from the Output ↵Tamito Kajiyama
Line Style node.