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-12-01Cleanup: hopefully last int->bool one in this area!Bastien Montagne
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-08-17CleanupCampbell Barton
2014-08-07CommentsCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenlib)Campbell Barton
2014-03-30Correct own recent changes broke release buildsCampbell Barton
2014-02-13Mask: add option to detect self intersectionsCampbell Barton
2014-02-13Scanfill: add user-flags for edges and verts, useful elsewhere.Campbell Barton
2014-02-13Scanfill: name flags better and comment unused SF_EDGE_BOUNDARY flag.Campbell Barton
2014-02-13Mask: option not to treat overlapping curves as holesCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-05Scanfill: use poly_nr as an index rather then index + 1Campbell Barton
2014-02-05Scanfill: malloc arrays and zero init membersCampbell Barton
2014-02-04Code cleanup: remove scdata from ScanFillContextCampbell Barton
2014-02-04Scanfill: optimize filling curves, text, masks - skip calculating holesCampbell Barton
Support for tagging polygon numbers when adding scanfill data, saves having to calculate connectivity afterwards (which can take approx half overall scanfill time for complex curves).
2014-02-04Scanfill: minor optimization, comment unused code, avoid vert loopCampbell Barton
2014-02-03Scanfill: skip checks for loose edges when they can't occurCampbell Barton
Only editmesh needs this, text, curves, masks - can all skip this check
2014-02-03Code cleanup: replace while -> for loopsCampbell Barton
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2013-12-28Math Lib: add dist_squared_to_line_v2, avoids sqrt in scanfill and 3d-textCampbell Barton
2013-09-01use strict flags for scanfill, also replace shorts with unsigned shorts and ↵Campbell Barton
ints/bools in some cases.
2013-08-28remove callback BLI_localErrorCallBack from scanfill, was here for years and ↵Campbell Barton
only ever wrapped printf.
2013-08-28scanfill curves, ngons, masks had their own memarena code and would allocate ↵Campbell Barton
a new one for every fill. now use BLI_memarena and support passing the arena into the fill function, so the arena is re-used, when scanfill is called in a loop.
2013-08-07code cleanup: more zero as NULL pointers.Campbell Barton
2013-06-26remove unused callbackCampbell Barton
2013-06-24remove own optimization in scanfill, in rare cases it caused problems, ↵Campbell Barton
reported as [#35861]
2013-06-03add asserts when scanfilling or triangulating with zero length normal.Campbell Barton
2013-04-27real fix for [#35097], (curve cap flipping).Campbell Barton
previous commit was incorrect, the face flipping depended on the orientation of the curve. fix by passing the bevel direction to the fill function so we can have a reliable front/back. This also gives some speedup for all curve filling since we can avoid calculating the normal since its already known.
2013-04-11fix [#34947] Alt-F Fill not workingCampbell Barton
Regression in r54579.
2013-04-11code cleanup: unused defines, remove unused scanfill success value from ↵Campbell Barton
BLI_scanfill_begin().
2013-02-21code cleanup: rename ScanFillVert.h --> edge_tot, SF_VERT_UNKNOWN --> ↵Campbell Barton
SF_VERT_AVAILABLE
2013-02-15skip fix from r54579 when holes aren't used (keeps bmesh ngon filling fast)Campbell Barton
2013-02-15Bug fix #34177Ton Roosendaal
Blender's triangulator has been rescued :) This commit fixes errors with concave holes inside polygons. Simple explanation: Blender "ScanFill" works by sorting vertices from top-left to bottom-right, and connecting these vertices with a sorted list of edges they have. The inner loop then goes over every vertex, its edges, and tries to make triangles by checking vertices that are next in the list. - if the triangle has points inside: it creates an edge to this vertex, and continues - else: add new triangle. Very simple, fast and efficient. But it needed one more check for the first step: it should check every vertex inside the triangle, and pick the best vertex for an edge based on forming the sharpest angle with the tested edge. That solves the case for concave holes. Blender ScanFill was coded 20 years ago, and is an own invention. I wanted a triangulator that just fills any collection of polygons, including with holes. No idea if this was ever published in a paper!
2013-02-10style cleanupCampbell Barton
2012-12-29style cleanupCampbell Barton
2012-12-27add option to BLI_scanfill_calc() - BLI_SCANFILL_CALC_HOLES, gives some ↵Campbell Barton
speedup for BMesh ngons which never have holes and ensures predictable triangle count (totvert - 2), which is needed for pre-calculating array size.
2012-11-27fix/workaround [#33281] script goes into not responding Campbell Barton
scanfill remove-doubles pass assumes ordered edges (as with curves), otherwise it can hang. workaround this problem by skipping removing-doubles for mesh ngons, since this isnt such a common case as it is with curves and we can just not support it.
2012-11-18style cleanup: comments & spellingCampbell Barton
2012-10-27style cleanupCampbell Barton
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-23style cleanup: also rename bmesh_decimate.c --> bmesh_decimate_collapse.cCampbell Barton
2012-09-16style cleanupCampbell Barton
2012-09-11add some missing NULL checks, a few parts of the code used a pointer then ↵Campbell Barton
checked it for NULL after. also made it more clear that some areas assume the pointer isnt null (remove redundant NULL checks).
2012-08-12style cleanupCampbell Barton
2012-07-29code cleanup: replace MIN2/MAX2 with minf/maxfCampbell Barton
2012-07-01style cleanupCampbell Barton
2012-05-13code cleanup:Campbell Barton
- use bmesh iterator macros in more places - rename scanfill variables (were using same names as mesh faces/verts which was confusing)
2012-05-12style cleanup: remaining BLI files.Campbell Barton
2012-05-05code cleanup: function naming for BLI functions.Campbell Barton
2012-04-21style cleanup: correct typosCampbell Barton