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
2013-07-03update doxygen congfig and tweaks to warnings when running doxygen.Campbell Barton
2013-06-26correct typos in comments.Campbell Barton
2013-06-25Buildbot: disable command length workaround for now, seems to give link errors.Brecht Van Lommel
2013-06-25Buildbot: another workaround for the Windows command length limit, this timeBrecht Van Lommel
with the freestyle module which has 242 cpp files.
2013-06-25Fix for invalid zero-length orientation vectors.Tamito Kajiyama
Problem report by flokkievids in the BA Freestyle thread, thanks! Also made changes to suppress warnings in strip creation when Freestyle debugging is disabled.
2013-06-16Fix for the DensityF0D function not working as expected when the Z pass was ↵Tamito Kajiyama
not available.
2013-06-16Fix for Freestyle face marks incorrectly reset when feature edges are split ↵Tamito Kajiyama
at 2D intersections. Problem report by an anonymous forum user with a .blend file for reproducing the bug, thanks!
2013-06-15code cleanup: remove checks for (select == LEFTMOUSE), this happened to work ↵Campbell Barton
because its defined at 1, but confusingly checks against RIGHTMOUSE fail.
2013-06-15Fix for splitting at material boundaries not correctly working with border ↵Tamito Kajiyama
lines. Problem report by Charblaze in the BlenderArtists.org Freestyle thread, thanks!
2013-06-12Fix #35353: Freestyle + Compositor + Auto-render renders freestyle lines in ↵Tamito Kajiyama
the wrong place.
2013-06-11Fix #35561: freestyle + read full sample layers = crash.Tamito Kajiyama
Now add_freestyle() in pipeline.c takes a second argument to enable/disable stroke rendering. When stroke rendering is disabled, the function allocates data structures but does not perform stroke rendering. The allocated data structures (mostly left unpopulated with data elements) are intended to allow for the Read Full Sample Layers (Shift-R) command in the compositor.
2013-06-10Replaced a hard-coded array length with MAX_ID_NAME.Tamito Kajiyama
2013-05-28don't use globbing for freestyle cmake file.Campbell Barton
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-28Fix for crash in Freestyle with sketchy chaining and Bezier Curve geometry ↵Tamito Kajiyama
modifier. When the sketchy chaining is used, stroke geometry may contain a 180-degree U-turn. If the 'error' parameter of the Bezier Curve geometry modifier is small (e.g., 10), Bezier curve fitting will recursively split the original stroke into two pieces. This splitting may take place at a U-turn point, causing a numerical singularity issue that leads to a crash. Problem report by edna in the BA Freestyle thread, with an example .blend to reproduce the problem. Thanks a lot!
2013-05-24fix for building on osx with recent freestyle bugfix.Campbell Barton
2013-05-24fix [#35478] Spatial Noise crashes Blender on RenderCampbell Barton
2013-05-22Fix for a crash due to de-referencing of a StrokeVertex Python wrapper object.Tamito Kajiyama
Problem report by flokkievids in the BA Freestyle thread, thanks!
2013-05-22Added new method Stroke.remove_all_vertices() for removing all vertices from ↵Tamito Kajiyama
the stroke. Patch from flokkievids in the BA Freestyle thread, thanks!
2013-05-20code cleanup: scons - binreloc include was copied all over the place for no ↵Campbell Barton
reason, -pthread too.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-19Fix for [#35245] Freestyle getting stuck on view map creation + memory leaks.Tamito Kajiyama
There were two issues: - Line visibility computations are very slow in the case of the provided .blend file, which gave an impression that the rendering process got stuck. The slowness can be explained by the present data structures used for the line visibility computations, together with the specific mesh distribution of the test scene. At the moment Freestyle uses a regular grid in the 2D image coordinate system to divide tris/quads into small groups in order to accelerate the line visibility computations. On the other hand, the test scene is populated a big plane (made of one quad) and a moderately detailed mesh object (22K tris). The scale of the latter mesh is animated from nearly zero to about 0.2 to make the object show up over time. When the scale is nearly equal to zero, all the tris concentrate in one grid cell, so essentially there is no performance gain from the grid data structure optimized for speed. It looks like a better grid data structure (possibly based on adaptive grid refinement) is necessary to genuinely address the identified performance issue. For now the progress bar of Blender is employed to better inform users of the amount of work done in the line visibility computations. - A crash was caused by an excessive memory allocation request. The X and Y dimensions of the grid data structure are determined based on the average area of mesh faces in the given scene. When the big plane in the test scene is excluded from the rendering, the average area is almost zero (on the order of 1e-5). As a result of this extremely small average area, the X and Y dimensions were set to a very large number, causing a fatal memory allocation error. The present revision has introduced a hard upper limit to the dimensions of the grid data structure to avoid this kind of numerical instability.
2013-05-17Fix for Freestyle built-in style module sketchy_multiple_parameterization.py ↵Tamito Kajiyama
not working correctly. Suitable for inclusion in 2.67a. Logical AND, OR and XOR operations on freestyle.Nature instances gave an error in some cases. The updated C implementation of these bitwise operations is intended to reproduce the following Python implementation: class Nature(int): def __and__(self, other): return Nature(int(self) & int(other)) def __or__(self, other): return Nature(int(self) | int(other)) def __xor__(self, other): return Nature(int(self) ^ int(other)) The problem report was by plasmasolutions on IRC, thanks a lot!
2013-05-16Fix for [#35352] Freestyle + Geometry Spatial Noise freezes on render.Tamito Kajiyama
SpatialNoiseShader, as well as SmoothingShader were not updating stroke length after geometry modification, causing an infinite loop in Stroke::Resample(int iNPoints) due to incorrect length-based resampling of stroke vertices.
2013-05-15More fix for memory leaks in the Freestyle module.Tamito Kajiyama
2013-05-15Further fix for memory leaks in Freestyle Python API components:Tamito Kajiyama
- StrokeAttribute thickness setter - BezierCurve (used from within BezierCurveShader) - Smoother (used from within SmoothingShader)
2013-05-15Fix for a copy-and-paste bug in a Freestyle Python API helper function.Tamito Kajiyama
2013-05-14Added support for WITH_CXX_GUARDEDALLOC build option to the Freestyle module.Tamito Kajiyama
2013-05-14Fix for a memory leak during Freestyle stroke shading.Tamito Kajiyama
2013-05-05correction for uv template, also some doxygen comment corrections. Campbell Barton
2013-05-03Minor code clean-up.Tamito Kajiyama
2013-05-01Fix for [#35116] Freestyle StringUtils::toAscii breakes non-ascii path values.Tamito Kajiyama
Just removed all calls of StringUtils::toAscii() as well as the function definitions.
2013-05-01remove headers from FRS_freestyle.hCampbell Barton
2013-04-29More build fixes for visual studio 2012.Brecht Van Lommel
Patch #35019, #35131 and #35152 by Jurgen Herrmann.
2013-04-24Fix for full-sample anti-aliasing (FSAA) not working with Freestyle.Tamito Kajiyama
Reverted the trunk revision 56136 and part of revision 56127 concerning the local Main for Freestyle and temporary scene generation for stroke rendering. The function do_merge_fullsample() in pipeline.c has access to the Scene of each Render, so that the temporary Scene generated by Freestyle has to be kept for FSAA even after stroke rendering has been done. By the same token, the local Main has been moved from the BlenderStrokeRenderer class to Render. It is noted that free_all_freestyle_renders() in pipeline.c is intended to get the temporary Scene of each Render released specifically taking account of the FSAA case.
2013-04-21Minor code clean-up & removal of unused code segments.Tamito Kajiyama
2013-04-21Fix for a crash due to uninitialized local Main (introduced in revision 56127).Tamito Kajiyama
2013-04-18Fix for access freed scene when doing freestyle renderSergey Sharybin
It's more like an ownership thing, but it's not so much clear who actually is an owner of temporary scene, so for now just ensure Render does not have link to it after strokes are rendered. There're also suspicious thing related on why separate RE_free_database is needed for freestyle renders, but that's also another story.
2013-04-18Make freestyle use local Main for temporary objectsSergey Sharybin
This means main database is no longer pollutes with temporary scene and objects needed for freestyle render. Actually, there're few of separated temporary mains now. Ideally it's better to use single one, but it's not so much trivial to pass it to all classes. Not so big deal actually. Required some changes to blender kernel, to make it possible to add object to a given main, also to check on mesh materials for objects in given main. This is all straightforward changes. As an additional, solved issue with main database being infinitely polluted with text blocks created by create_lineset_handler function. This fixes: - #35003: Freestyle crashes if user expands objects in FRS1_Scene - #35012: ctrl+f12 rendering crashes when using Freestyle
2013-04-16Blender Internal Render in viewportTon Roosendaal
Because of our release soon, feature has been added behind the Debug Menu. CTRL+ALT+D and set it to -1. Or commandline --debug-value -1. When debug set to -1, you can put the viewport to 'render' mode, just like for Cycles. Notes for testers: (and please no bugs in tracker for this :) - It renders without AA, MBlur, Panorama, Sequence, Composite - Only active render layer gets rendered. Select another layer will re-render. - But yes: it works for FreeStyle renders! - Also does great for local view. - BI is not well suited for incremental renders on view changes. This only works for non-raytrace scenes, or zoom in ortho or camera mode, or for Material changes. In most cases a full re-render is being done. - ESC works to stop the preview render. - Borders render as well. (CTRL+B) - Force a refresh with arrow key left/right. A lot of settings don't trigger re-render yet. Tech notes: - FreeStyle is adding a lot of temp objects/meshes in the Main database. This caused DepsGraph to trigger changes (and redraws). I've prepended the names for these temp objects with char number 27 (ESC), and made these names be ignored for tag update checking. - Fixed some bugs that were noticable with such excessive re-renders, like for opening file window, quit during renders.
2013-04-16Fix for line instability with the Polygonization geometry modifier.Tamito Kajiyama
Extra long straight lines showed up randomly due to the use of an uninitialized variable as a line length parameter.
2013-04-16Fix a few warnings. One was an actual bug in freestyle where stroke attributesBrecht Van Lommel
were not properly interpolated.
2013-04-12code cleanup: warnings and style.Campbell Barton
2013-04-11code cleanup: unused vars, make other vars static.Campbell Barton
2013-04-11Fix for a crash in the Bezier Curve geometry modifier.Tamito Kajiyama
Least-squares fitting parameters were stored in a fixed size array, causing a buffer overflow depending on the number of input points. Problem report with a .blend file to reproduce the issue and a bugfix patch by christiankrupa and jensverwiebe on IRC, thanks a lot! Many thanks also to Bastien Montagne for forwarding the problem report by email.
2013-04-09Attempt to fix a potential name conflict between Freestyle and the compositor.Tamito Kajiyama
A crash in the Freestyle renderer was reported by Ton on IRC with a stack trace below. Note that #2 is in Freestyle, whereas #1 is in the compositor. The problem was observed in a debug build on OS X 10.7 (gcc 4.2, openmp disabled, no llvm). ---------------------------------------------------------------------- Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 [Switching to process 72386 thread 0xf303] 0x0000000100c129f3 in NodeBase::~NodeBase (this=0x10e501c80) at COM_NodeBase.cpp:43 43 delete (this->m_outputsockets.back()); Current language: auto; currently c++ (gdb) where #0 0x0000000100c129f3 in NodeBase::~NodeBase (this=0x10e501c80) at COM_NodeBase.cpp:43 #1 0x0000000100c29066 in Node::~Node (this=0x10e501c80) at COM_Node.h:49 #2 0x000000010089c273 in NodeShape::~NodeShape (this=0x10e501c80) at NodeShape.cpp:43 #3 0x000000010089910b in NodeGroup::destroy (this=0x10e501da0) at NodeGroup.cpp:61 #4 0x00000001008990cd in NodeGroup::destroy (this=0x10e5014b0) at NodeGroup.cpp:59 #5 0x00000001008990cd in NodeGroup::destroy (this=0x114e18da0) at NodeGroup.cpp:59 #6 0x00000001007e6602 in Controller::ClearRootNode (this=0x114e19640) at Controller.cpp:329 #7 0x00000001007ea52e in Controller::LoadMesh (this=0x114e19640, re=0x10aba4638, srl=0x1140f5258) at Controller.cpp:302 #8 0x00000001008030ad in prepare (re=0x10aba4638, srl=0x1140f5258) at FRS_freestyle.cpp:302 #9 0x000000010080457a in FRS_do_stroke_rendering (re=0x10aba4638, srl=0x1140f5258) at FRS_freestyle.cpp:600 #10 0x00000001006aeb9d in add_freestyle (re=0x10aba4638) at pipeline.c:1584 #11 0x00000001006aceb7 in do_render_3d (re=0x10aba4638) at pipeline.c:1094 #12 0x00000001006ae061 in do_render_fields_blur_3d (re=0x10aba4638) at pipeline.c:1367 #13 0x00000001006afa16 in do_render_composite_fields_blur_3d (re=0x10aba4638) at pipeline.c:1815 #14 0x00000001006b04e4 in do_render_all_options (re=0x10aba4638) at pipeline.c:2021 ---------------------------------------------------------------------- Apparently a name conflict between the two Blender modules is taking place. The present commit hence intends to address it by putting all the Freestyle C++ classes in the namespace 'Freestyle'. This revision will also prevent potential name conflicts with other Blender modules in the future. Special thanks to Lukas Toenne for the help with C++ namespace.
2013-04-08code cleanup: unused macrosCampbell Barton
2013-04-08style cleanupCampbell Barton
2013-04-07use lowercase name for freestyle module (as with all other blender modules).Campbell Barton
2013-04-04quiet warnings (building with -Werror)Campbell Barton