Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-18 | Fixed wrong self-intersection check for non-closed splines | Sergey Sharybin | |
2012-07-18 | fix incorrect assert for mask face checking, also correct own bad spelling | Campbell Barton | |
2012-07-18 | Fixed crash of self-intersection loop in special cases | Sergey 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-18 | make links now allows groups - this means you can make objects have matching ↵ | Campbell Barton | |
groups to the active more easily. | |||
2012-07-18 | mask rasterizer unfilled line end capping now works with aspect and blending. | Campbell Barton | |
2012-07-18 | wip mask capping - works but needs aspect correction and to be faded out. | Campbell Barton | |
2012-07-17 | Feather self-intersection test speed up | Sergey 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-17 | fix for particle system using uninitialized stack memory with midpoint of ↵ | Campbell Barton | |
rk4 integrators. | |||
2012-07-17 | use math vector init functions | Campbell Barton | |
2012-07-17 | Fixed crash when rasterizing spline with only one point | Sergey Sharybin | |
It was an issue in new feather self-intersection test code. | |||
2012-07-17 | disable feather collapse during drawing, its very slow. | Campbell Barton | |
2012-07-17 | code cleanup: spelling | Campbell Barton | |
2012-07-16 | Fixed disappearing in some circumstances feather | Sergey 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-16 | Fixed crash caused by recent feather collapse commit | Sergey Sharybin | |
2012-07-16 | Masks: feather self-intersection collapse function | Sergey 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-16 | Put paint mask grid allocation in a critical section | Nicholas 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-16 | correct own error in logic for skipping mask layers, inverted mask layers ↵ | Campbell Barton | |
with zero alpha still need to be evaluated. | |||
2012-07-16 | use calculated spline resoltion rather then fixed at 32. | Campbell Barton | |
2012-07-16 | defailt to ease weight interpolation | Campbell Barton | |
2012-07-16 | fix for crash & leak when layer render option is disabled. | Campbell Barton | |
2012-07-16 | fix for occasional crash with splines a lot larger then the view | Campbell Barton | |
2012-07-16 | mask rasterizer - use quad interpolation - gets rid of ugly diagonal ↵ | Campbell Barton | |
banding, introduces glitch with bowtie quads, will have to fix next. | |||
2012-07-16 | correct own naming error BLI -> BKE | Campbell Barton | |
2012-07-16 | mask blending modes: lighten/darken/multiply/replace | Campbell Barton | |
2012-07-16 | fix crash for empty or single vertex layers. | Campbell Barton | |
2012-07-16 | small speedup for mask rasterizer, only do single sided check for triangle ↵ | Campbell Barton | |
intersection. | |||
2012-07-15 | svn merge -r48944:48942 . | Campbell Barton | |
revert moving the file, adding a new module didnt resolve linking issue. | |||
2012-07-15 | moving mask rasterizer file, this breaks building, will fix next commit | Campbell Barton | |
2012-07-15 | replace fminf with minf | Campbell Barton | |
2012-07-15 | falloff option for mask layers | Campbell Barton | |
2012-07-15 | minor refactor for rect functions. more consistent naming. | Campbell Barton | |
2012-07-15 | fix for some bugs when the mask layer was outside the view, also clamp the ↵ | Campbell Barton | |
layer buckets within the view. | |||
2012-07-15 | fix 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-15 | unfilled-cyclic curves now works as expected, also fix for own crash on ↵ | Campbell Barton | |
32bit systems. | |||
2012-07-15 | use a different setting for fill/cyclic - you may want to have unfilled ↵ | Campbell Barton | |
cyclic curves. | |||
2012-07-15 | mask rasterizer, render unclosed splines as lines. | Campbell Barton | |
2012-07-14 | code cleanup | Campbell Barton | |
2012-07-14 | zealous bounds checking broke the invert option. | Campbell Barton | |
2012-07-14 | mask rasterization: use a simpler method to check if a bucket intersects ↵ | Campbell Barton | |
with a triangle. | |||
2012-07-14 | mask rasterizer - test if buckets overlap the face before adding the face ↵ | Campbell Barton | |
into the bucket. | |||
2012-07-14 | Fix #31021: Render settings are not taken into account for curves | Sergey 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-14 | add dynamic bucket xy resolution based on pixel size, also remove some ↵ | Campbell Barton | |
redundant copying. | |||
2012-07-14 | minor refactor, some comments and var names were misleading. | Campbell Barton | |
2012-07-14 | minor refactor for mask rasterizer | Campbell Barton | |
2012-07-14 | more minor speedups for new mask rasterizer | Campbell Barton | |
2012-07-14 | new mask rasterizer - replace kdopbvh with with own bucket lookups. | Campbell Barton | |
2012-07-14 | Fix [#32013] Crash loading a 2.49b model | Bastien 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-13 | speedup - because we know triangles will always have the same z value. | Campbell Barton | |
2012-07-13 | temp disable quad interpolation | Campbell Barton | |
2012-07-13 | masking - add feather faces as quads and interpolate as quads to avoid ugly ↵ | Campbell Barton | |
diagonal lines. |