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
2012-07-18Fixed wrong self-intersection check for non-closed splinesSergey Sharybin
2012-07-18fix incorrect assert for mask face checking, also correct own bad spellingCampbell Barton
2012-07-18Fixed crash of self-intersection loop in special casesSergey Sharybin
It was wrongly calculated bucket number per side in cases when some of segments is filling the whole bounding box across some of dimension. Solved by limiting buckets at least to 1 in such cases.
2012-07-18make links now allows groups - this means you can make objects have matching ↵Campbell Barton
groups to the active more easily.
2012-07-18mask rasterizer unfilled line end capping now works with aspect and blending.Campbell Barton
2012-07-18wip mask capping - works but needs aspect correction and to be faded out.Campbell Barton
2012-07-17Feather self-intersection test speed upSergey Sharybin
Made some minor optimization such as: - Avoid using "%" operation in loops, replace with a check for index "overflow". - Use pre-computed values for scaling feather coordinates to 0 .. 1 space. This allowed to reach couple of milliseconds of boost. Another change is to use higher number of buckets (up to 512). This doesn't took significantly more memory (like uses only 10MB of memory for average splines) and allows to have 30-50x boost for average splines. Use dynamically calculated number of buckets for this, to be sure segments would fit two buckets. Also fixed intersection detection in some cases when edge is shared between two buckets -- it is possible that such edge would cross third bucket and intersect edge from there.
2012-07-17fix for particle system using uninitialized stack memory with midpoint of ↵Campbell Barton
rk4 integrators.
2012-07-17use math vector init functionsCampbell Barton
2012-07-17Fixed crash when rasterizing spline with only one pointSergey Sharybin
It was an issue in new feather self-intersection test code.
2012-07-17disable feather collapse during drawing, its very slow.Campbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-07-16Fixed disappearing in some circumstances featherSergey Sharybin
Real fix would be to find a point which is definitely now on loop to be collapsed, but that's for a bit later. This commit should remove possible stoppers.
2012-07-16Fixed crash caused by recent feather collapse commitSergey Sharybin
2012-07-16Masks: feather self-intersection collapse functionSergey Sharybin
This implements simple function which collapses internal loops caused by self-intersections into a singularity. This loops can't be removed because rasterizer expects points of feather be aligned with points from spline itself.
2012-07-16Put paint mask grid allocation in a critical sectionNicholas Bishop
When OpenMP is enabled, memory allocation needs to be protected. Fixes bug [#32111] Memory management regression from svn_46520 projects.blender.org/tracker/index.php?func=detail&aid=32111&group_id=9&atid=498
2012-07-16correct own error in logic for skipping mask layers, inverted mask layers ↵Campbell Barton
with zero alpha still need to be evaluated.
2012-07-16use calculated spline resoltion rather then fixed at 32.Campbell Barton
2012-07-16defailt to ease weight interpolationCampbell Barton
2012-07-16fix for crash & leak when layer render option is disabled.Campbell Barton
2012-07-16fix for occasional crash with splines a lot larger then the viewCampbell Barton
2012-07-16mask rasterizer - use quad interpolation - gets rid of ugly diagonal ↵Campbell Barton
banding, introduces glitch with bowtie quads, will have to fix next.
2012-07-16correct own naming error BLI -> BKECampbell Barton
2012-07-16mask blending modes: lighten/darken/multiply/replaceCampbell Barton
2012-07-16fix crash for empty or single vertex layers.Campbell Barton
2012-07-16small speedup for mask rasterizer, only do single sided check for triangle ↵Campbell Barton
intersection.
2012-07-15svn merge -r48944:48942 .Campbell Barton
revert moving the file, adding a new module didnt resolve linking issue.
2012-07-15moving mask rasterizer file, this breaks building, will fix next commitCampbell Barton
2012-07-15replace fminf with minfCampbell Barton
2012-07-15falloff option for mask layersCampbell Barton
2012-07-15minor refactor for rect functions. more consistent naming.Campbell Barton
2012-07-15fix for some bugs when the mask layer was outside the view, also clamp the ↵Campbell Barton
layer buckets within the view.
2012-07-15fix for minor error in previous commit (wasnt connecting right faces for ↵Campbell Barton
cyclic mask), also avoid doing more area calculations then needed when checking if the mouse is moving away from uiBlock.
2012-07-15unfilled-cyclic curves now works as expected, also fix for own crash on ↵Campbell Barton
32bit systems.
2012-07-15use a different setting for fill/cyclic - you may want to have unfilled ↵Campbell Barton
cyclic curves.
2012-07-15mask rasterizer, render unclosed splines as lines.Campbell Barton
2012-07-14code cleanupCampbell Barton
2012-07-14zealous bounds checking broke the invert option.Campbell Barton
2012-07-14mask rasterization: use a simpler method to check if a bucket intersects ↵Campbell Barton
with a triangle.
2012-07-14mask rasterizer - test if buckets overlap the face before adding the face ↵Campbell Barton
into the bucket.
2012-07-14Fix #31021: Render settings are not taken into account for curvesSergey Sharybin
Refactored code a bit to make naming a bit more clear and added a function to create mesh from given display list rather than from object's displist. Tested using plain curves (which doesn't imply using derived meshes) and curves with constructive modifiers (which are using derived meshed).
2012-07-14add dynamic bucket xy resolution based on pixel size, also remove some ↵Campbell Barton
redundant copying.
2012-07-14minor refactor, some comments and var names were misleading.Campbell Barton
2012-07-14minor refactor for mask rasterizerCampbell Barton
2012-07-14more minor speedups for new mask rasterizerCampbell Barton
2012-07-14new mask rasterizer - replace kdopbvh with with own bucket lookups.Campbell Barton
2012-07-14Fix [#32013] Crash loading a 2.49b modelBastien Montagne
Problems were in the old multires loading system. Actually, the sigsev itself was the easy part of the job (simply had to convert from tesselated data to polys/loops), but after that I was getting a horrible bunch of wild stray faces... It finally turned out it was a mismatch in two different subsurf structs used while computing a mdisps layer from the multires DM, leading to getting complete random normals (null ones, NAN ones...), leading to complete dummy tangent space matrix, leading to absurds mdisps values... Note: I also moved the copy of first layer's vertex and face data from old me->mr to mesh's v/fdata earlier in multire_load_old(), to be able to use general face_to_poly conversion function (later on we would have to do it by hand, the general function would erase our newly computed mdisps layer...). Took me the whole week (something like 20h) to track this down: multires + subsurf = C nightmare!
2012-07-13speedup - because we know triangles will always have the same z value.Campbell Barton
2012-07-13temp disable quad interpolationCampbell Barton
2012-07-13masking - add feather faces as quads and interpolate as quads to avoid ugly ↵Campbell Barton
diagonal lines.