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-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-01fix [#32713] Crash with modifiers + GLSL modeCampbell Barton
crash caused by own commit r50969, the fix exposed a crash in an area of code that must have never been used before.
2012-10-01fix for some errors when unlinking.Campbell Barton
- movieclip unlink didn't clear node ID pointers from the scene (leaving dangling pointers). - mask datablock unlink was clearning references from scene nodes twice.
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-14fix for 2 crashes freeing masksCampbell Barton
- freeing a mask from RNA BKE_libblock_free() twice on the mask. - loading a new blend file would only free the mask and not unlink it from nodes - it would access freed memory.
2012-09-13fix [#31946] Masking doesn't respect pixel ratioCampbell Barton
2012-08-27Alternate mask spline feather offset calculation method: now there are 2 ↵Campbell Barton
[Even | Smooth] - Even preserves thickness but can give unsightly loops - Smooth gives nicer shape but can give unsightly feather/spline mismatch for 'S' shapes created by beziers. This is an example where smooth works much nicer. http://www.graphicall.org/ftp/ideasman42/mask_compare.png
2012-08-26code cleanup: remove dead assignments, gave mask vars clearer names & moved ↵Campbell Barton
some mask evaluation funcs into mask_evaluate.c
2012-08-26code cleanup: split out mask spline evaluation into its own file.Campbell Barton
2012-08-22add new mask blend mode: 'Merge Subtract'. gives better results when using ↵Campbell Barton
feather on overlapping masks when one subtracts from another.
2012-08-21mask: skip self intersection on drawing when fill is disabled, since it was ↵Campbell Barton
only drawing on one side of an unfilled spline.
2012-08-20fix for mask feather intersection checks not working right for non-filled, ↵Campbell Barton
feathered masks. now do intersection checks for both sides of the feather.
2012-08-13fix for missing NULL checks when sequence-strip pointers become NULL because ↵Campbell Barton
of problems with library linking.
2012-08-06Made feather self-intersection check an option.Sergey Sharybin
Useful in cases when masking stuff like self-intersecting ropes. This could probably be smarter option, but can't currently think about robust approach here.
2012-08-06Mask feather self-intersection checkSergey Sharybin
Enable self-intersection check for preview. In own tests average time for this operation on mango files was ~0.0015sec, and it was like 20 splines max which still gives pretty smooth performance on my core quad machine. Would think let's check how it works for now, if it'll give some issues here, would just avoid tessellation on every redraw by storing tessellation in some cache (probably in mask user). Another change is related on a way which loop to collapse. Changed length check with AABB size check. A bit slower but should be a bit more predictable.
2012-08-06fix for freeing NULL pointer.Campbell Barton
2012-08-05fix uninitialized memory use for mask feather points, also remove some ↵Campbell Barton
double promotions.
2012-08-05resolve some issues with curve resolution calculactionCampbell Barton
- resolution could become so high that it would wrap around to a negative number, now check for small numbers before doing float division. - resolution was being calculated in some cases when it already met the clamp value - now this is skipped.
2012-07-31changes to mask editingCampbell Barton
- use Alt to modify all mask feather at once while dragging. - copying a multi-user mask from the interface works now. - show masks when UV editing isnt used, rather then checking editmode (would give some odd/annoying image space header). - add a fake mask user by default. - moving points with LMB drag no longer selects them.
2012-07-31remove references to raskter from compositor and BKE mask.Campbell Barton
2012-07-28patch [#32195] MASKS: Canonical Porter Duff algorithm for merge missing.Campbell Barton
from Troy Sobotka (sobotka) This gives nicer blending then 'ADD', setting as default for new masks.
2012-07-27clamp mask resolution, the occasional crash would happen failing to alloc ↵Campbell Barton
when adding feather points very close together.
2012-07-27Added utility function to return marker's subframe positionSergey Sharybin
Used in mask parenting stuff.
2012-07-27copying a mask now copies its animation data tooCampbell Barton
2012-07-27copy support for mask datablocksCampbell Barton
2012-07-26mask/image viewer now works with non 1:1 image aspect, editing masks in the ↵Campbell Barton
image viewer should be generally usable now though still some TODO's left.
2012-07-25move mask and draw settings into its own struct to be shared between spaces.Campbell Barton
2012-07-22style cleanupCampbell Barton
2012-07-21Merge mask fixes from tomato branchSergey Sharybin
-- svn merge -r49075:49076 -r49086:49087 ^/branches/soc-2011-tomato
2012-07-18Fixed wrong self-intersection check for non-closed splinesSergey Sharybin
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-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-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-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-16use calculated spline resoltion rather then fixed at 32.Campbell Barton
2012-07-16defailt to ease weight interpolationCampbell Barton
2012-07-13new mask rasterizer written to take advantage of the compositors threading, ↵Campbell Barton
mostly functional but disabled by default (still a little wip).
2012-07-12feather points now align with mask outline when called with same resolution.Campbell Barton
2012-07-12ability to calculate mask curve and feather with predefined resolution (*_ex ↵Campbell Barton
functions)
2012-07-10some code refactors in raskter.c to sync it with build where mask tiling is ↵Peter Larabell
being developed. Also adds a bit more mask tiling code.
2012-07-10updating raskter to support tiles compositor. this commit puts in some ↵Peter Larabell
groundwork code to support tiles's pixel processor
2012-07-04Mask node: create a copy of layers to be rasterized in initExecutionSergey Sharybin
This creates a list of splines to be rasterized in nitExecution which is being called from main thread. This should resolve possible threading issues discovered in tomato branch.
2012-06-27style cleanupCampbell Barton
2012-06-22mask re-key feature - mango request. ability to reset selected points shape ↵Campbell Barton
key data. useful if you add many keys to one part of a curve, then later want to key another part - but dont want to continuously make the same corrections.
2012-06-21option to disable feather, since its so slow - for interactively editing ↵Campbell Barton
masks its useful to be able to disable. also rename RNA to 'use_antialiasing'
2012-06-20Silent masks "alloc new deform spline" debug printSergey Sharybin
2012-06-20Do not check result of BKE_tracking_marker_get -- it shall alwaysSergey Sharybin
return valid marker. If not -- let blender crash, because that means something went really bad and silencing this isn't good idea. Also made mask parenting to tracking data aware of clip's start frame.