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
2014-06-30Attempt to fix T40833: Crash when rendering with freestyle.Tamito Kajiyama
Constant crashes under Linux seem due to an uninitialized variable.
2014-06-29Freestyle: Fix for "cast shadows only" materials not handled properly.Tamito Kajiyama
Problem report by Light BWK through personal communications, thanks!
2014-06-26Reverted part of my previous commit causing a crash.Tamito Kajiyama
2014-06-26Freestyle: code cleanup: removed unused (outdated) static variables.Tamito Kajiyama
2014-06-24Freestyle: use mathutils_array_parse() instead of its own helper functions.Tamito Kajiyama
Patch contribution by flokkievids (Folkert de Vries). Thanks!
2014-06-24Freestyle: use bool instead of int.Tamito Kajiyama
Patch contribution by flokkievids (Folkert de Vries). Thanks!
2014-06-24Freestyle: Progress bar updates during mesh loading.Tamito Kajiyama
2014-06-20Implement resolution divider in the Blender InternalSergey Sharybin
Currently resolution divider is not exposed to the interface yet, and i'm not even sure it needs to be exposed because it's somewhat weird configuration. Need to check how often artists are changing start resolution in Cycles. Pretty much straightforward implementation with the only weak part: render result is getting re-allocated and upscaled when current resolution is finished. Not sure how to make it faster actually. Maybe it's just a matter of making upscale fast enough. Needed to fix some possible memory leak happening in Freestyle when canceling rendering on a special stage -- it was missing temp bmain free, Reviewers: campbellbarton, dingto CC: sebastian_k, fsiddi, venomgfx Differential Revision: https://developer.blender.org/D609
2014-06-19Freestyle: removed WOEdge::getVec3r() which in effect was a duplicate of ↵Tamito Kajiyama
WOEdge::GetVec().
2014-06-16Freestyle: Python API docstring updates.Tamito Kajiyama
2014-06-16D545: Freestyle Python API: new methods for Stroke and StrokeVertexIterator.Tamito Kajiyama
This revision extends the Freestyle Python API to make for style module writing easier. - freestyle.types.Stroke: A proper support for reversed() is implemented. It works the same with other Python sequence objects (returns an iterator starting from the end). This is in effect equivalent to Stroke.stroke_vertices_end(). - freestyle.types.StrokeVertexIterator: An incremented, decremented and reversed method are added. The first two methods return a new StrokeVertexIterator object that has been incremented and decremented, respectively. The reversed method returns a new StrokeVertexIterator object that will traverse stroke vertices in the opposite direction. - freestyle.types.Interface0DIterator: Its constructor now accepts a Stroke object to create an Interface0DIterator that traverses stroke vertices. This is in effect equivalent to Stroke.vertices_begin(). The new API makes stroke shaders involving function calls much simpler as illustrated below: # in the old API it = stroke.stroke_vertices_begin() for vert in it: result = somefunc(Interface0DIterator(it)) # in the new API it = Interface0DIterator(stroke) for vert in it: result = somefunc(it) Differential Revision: https://developer.blender.org/D545 Reviewers: kjym3
2014-06-05Freestyle: Fix for Interface0DIterator.object docstring with additional notes.Tamito Kajiyama
2014-06-04Freestyle: Fix for a potential infinite loop in stroke resampling by vertex ↵Tamito Kajiyama
count. Changes were made in Stroke::Resample(int) in C++ to prevent a potential infinite loop caused by an inconsistency between Stroke::_Length and the stroke length computed based on stroke vertices. Such a stroke length inconsistency is usually caused by missing calls of Stroke::UpdateLength() (i.e., API implementation bugs), but also may occur due to scripting errors in user-defined style modules. This commit is meant to help script writters to identify the latter error cases. Now Stroke.resample(int) may raise a runtime error to signal an error condition.
2014-06-02Freestyle: Minor fixes.Tamito Kajiyama
- Fixed a typo in docstring. - Replaced int with boolean constants. - Updated lists of base classes for used-defined unary 0D/1D functions.
2014-05-26Fix for a missing code update in my commit rB08528f577dcb.Tamito Kajiyama
2014-05-26Fix for thinning strokes at intersections between visible and background ↵Tamito Kajiyama
hidden lines. This commit is intended to fully fix the problem described in https://developer.blender.org/T36425#19 (see also the previous commit rB08528f577dcb). Addition of a small offset (to avoid singularity in stroke rendering due to overlapping vertices) was not performed for all overlapping vertices. Removed the StrokeCleaner and related helper functions which were added as a temporary workaround in rB2a5b6d9c8f16.
2014-05-25Freestyle: Partial fix for thinning strokes due to flipping stroke ↵Tamito Kajiyama
directions at TVertices. A description of the problem is found in https://developer.blender.org/T36425#19 . The cause of the issue was identified as roudning errors in Operators::createStroke() due to insufficient numerical precision. Precision promotion from float to double was done in the return values of getPoint3D/2D methods in Interface0D and its subclasses in C++ (data members stored in the 0D classes have already been in double precision).
2014-05-22Fix T40307: Crash with freestyle and particle hair.Tamito Kajiyama
The scene file provided by the problem report has many degenerate faces coming from a particle system. These zero-area faces were not expected in the ray-casting line visibility algorithms of Freestyle. Now degenerate faces are properly excluded from the imported mesh data and not fed to the line visibility algorithms.
2014-05-21Freestyle: code cleanup: removed old commented lines of code in ↵Tamito Kajiyama
SilhouetteGeomEngine.
2014-05-21Freestyle: code cleanup - removed very old commented lines of code.Tamito Kajiyama
2014-05-21Freestyle: Fix for Z normalization in SilhouetteGeomEngine.Tamito Kajiyama
The Z component of the projected point in the 2D image space has already been normalized in GeomUtils::fromWorldToImage().
2014-05-21Freestyle: Added utility function SilhouetteGeomEngine::CameraToImage().Tamito Kajiyama
TODO: Fix for Z normalization in SilhouetteGeomEngine methods.
2014-05-20Freestyle: Fix for returned references to auto variables.Tamito Kajiyama
2014-05-20Freestyle: Fix for GetOccludeeF1D returning a one-element list containing ↵Tamito Kajiyama
None when it is supposed to return an empty list.
2014-05-17Revised the debug code added in the commit rB4958aff780a3 according to the ↵Tamito Kajiyama
raised concern.
2014-05-17Freestyle: Added a piece of debug code for checking the consistency of face ↵Tamito Kajiyama
normals. The code was found helpful while addressing T39669 and might help solving similar issues related to face normals in the future.
2014-05-13Freestyle: Fix for comments in line with the previous commit.Tamito Kajiyama
2014-05-13Freestyle: Removed redundant flipping of UV coordinates.Tamito Kajiyama
Patch contribution by Paolo Acampora. Thank you!
2014-05-11Freestyle: Fix for the active line set index possibly invalidated after ↵Tamito Kajiyama
deleting a line set.
2014-05-11Added BKE_freestyle_lineset_delete() by generalizing ↵Tamito Kajiyama
FRS_delete_active_lineset().
2014-05-09Freestyle: Fix for a wrong interpolation of stroke segment visibility.Tamito Kajiyama
2014-05-09Freestyle: Stroke rendering optimization.Tamito Kajiyama
Previously mesh objects were created for individual visible stroke segments (recalling that a stroke may consist of alternate visible and invisible segments). This could result in an excessive memory consumption in stroke rendering when strokes are composed of many short visible segments (for instance by means of dashed lines and/or blueprint geometry modifiers). Now mesh objects represent individual strokes instead of stroke segments, which tends to reduce the number of generated mesh objects by an order of magnitude.
2014-05-09De-duplicated #includes.Tamito Kajiyama
2014-05-09Fix for an occasional crash in Freestyle stroke rendering.Tamito Kajiyama
Materials were freed before releasing meshes that may have references to the materials.
2014-05-08Removed a Freestyle hack for DAG updates introduced in commit rBae58968e0a61.Tamito Kajiyama
Now that Freestyle employs a separate Main, this workaround is no longer necessary. Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D513
2014-05-07Freestyle: minor code clean-up.Tamito Kajiyama
2014-05-07Freestyle: time/space optimization in stroke rendering without textures.Tamito Kajiyama
When strokes do not have textures assigned, UV coordinates are not computed now. This will save a bit of time and space in stroke rendering.
2014-05-07Freestyle: debug statistics on stroke rendering.Tamito Kajiyama
2014-05-07Freestyle: removed the dummy implementation of a texture manager.Tamito Kajiyama
Legacy texture shaders from the original stand-alone Freestyle program are also declared as deprecated, in favor of Blender's new line style textures. Patch contribution by Paolo Acampora. Thanks!
2014-05-05Another attempt to fully fix T40020: Freestyle: dashed lines crashes blender.Tamito Kajiyama
Problem report by flokkievids through rB047c3aa728a4bb944616a084805988714b796d52#1. Thanks!
2014-05-05Fix T40020: Freestyle: dashed lines crashes blender.Tamito Kajiyama
The crash was due to an out-of-range vertex index reference that occured while computing texture coordinates of strokes with tips.
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-24Freestyle: quiet BMESH validator warnings of zero normals.Tamito Kajiyama
2014-04-18Quite compiler warnings.Tamito Kajiyama
2014-04-17Fix another Freestyle building glitch.Bastien Montagne
2014-04-17Attempt to fix one more issue with Freestyle compilationSergey Sharybin
2014-04-17Fix compilation error of FreestyleSergey Sharybin
Seems to be some sort of namespace conflict or so which is solved by reshuffling the includes a bit.
2014-04-17Freestyle: removed unnecessary #include "FreestyleConfig.h".Tamito Kajiyama
2014-04-17Freestyle: removed unused *_EXPORT qualifiers for building Windows DLLs.Tamito Kajiyama
These qualifiers were leftovers of the stand alone Freestyle program and not used (set to an empty string) in Blender for years.
2014-04-17Replaced assert() with BLI_assert().Tamito Kajiyama