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
2015-02-06Fix T43579: FBX Export shading issue (Broken normals?)Bastien Montagne
Error in custom split normals work, non-autosmooth normals != vertex normals! Loops from flat faces shall take normal of their face, not their vertex. Tsst...
2015-02-05Add Custom Loop Normals.Bastien Montagne
This is the core code for it, tools (datatransfer and modifier) will come in next commits). RNA api is already there, though. See the code for details, but basically, we define, for each 'smooth fan' (which is a set of adjacent loops around a same vertex that are smooth, i.e. have a single same normal), a 'loop normal space' (or lnor space), using auto-computed normal and relevant edges, and store custom normal as two angular factors inside that space. This allows to have custom normals 'following' deformations of the geometry, and to only save two shorts per loop in new clnor CDLayer. Normal manipulation (editing, mixing, interpolating, etc.) shall always happen with plain 3D vectors normals, and be converted back into storage format at the end. Clnor computation has also been threaded (at least for Mesh case, not for BMesh), since the process can be rather heavy with high poly meshes. Also, bumping subversion, and fix mess in 2.70 versioning code.
2015-02-03BMesh: optimize selection flushingCampbell Barton
De-selecting a face would do flushing checks on each vertex 3 times, now only do once.
2015-02-03cleanup: inconsistent BMesh select checksCampbell Barton
2015-02-03BMesh: optimize edge selectCampbell Barton
It's called a lot, so avoid using a generic iterator for edges of vert.
2015-02-02cleanup: style/spellingCampbell Barton
2015-02-02minor edits to last commitCampbell Barton
2015-02-02BMesh: tool to ensure all faces are convexCampbell Barton
Access from Mesh -> Cleanup
2015-02-02BMesh: BM_face_triangulate take edge arrayCampbell Barton
To access edges created between the tris.
2015-02-01cleanup: use constCampbell Barton
2015-02-01BMesh: remove redundant connect-nonplanar loopCampbell Barton
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-19Make use/computation of lnors consistant.Bastien Montagne
Issue was, when requesting (building) lnors for a mesh that has autosmooth disabled, one would expect to simply get vnors as lnors. Until now, it wasn't the case, which was bad e.g. for normal projections of loops in recent remap code (projecting along split loop normals when you would expect projection along vertex normals...). Also, removed the 'angle' parameter from RNA's `mesh.calc_normals_split`. This should *always* use mesh settings (both autosmooth and smoothresh), otherwise once again we'd get inconsistencies in some cases. Will update fbx and obj addons too.
2015-01-13Cleanup: fixes for building with recent clangCampbell Barton
2015-01-13Fix T42459: Knife fails at small scaleCampbell Barton
Occluding geometry failed when near overlapping (or cutting small objects).
2015-01-13Cleanup: consistent arg order in bmeshCampbell Barton
2015-01-13Math Lib: improve area calculationCampbell Barton
- area_quad_v3 now works correctly with concave quads. - add area_squared_*** functions, to use when comparing to avoid a sqrt().
2015-01-12BMesh: Tweak behavior for select more/lessCampbell Barton
Stepping over faces gives overall nice results but it stopped wire edges from working. Now step over wire too.
2015-01-10Fix for regression in bmesh connect-pairCampbell Barton
T42563 fix wasn't right, fortunately this doesn't fail in most cases.
2015-01-08cleanup: styleCampbell Barton
2015-01-06Fix T43137: vertex bevel percent mode wasn't implemented.Howard Trickey
2015-01-04cleanup: create cube, use index lookupsCampbell Barton
2015-01-02cleanup: styleCampbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-28Fix T40930: Add a new option to select faces by smooth/flat shading.Bastien Montagne
Org code by robschia (Roberto Schiavone), first review by campbellbarton (Campbell Barton), final review and minor changes by mont29 (Bastien Montagne). Reviewers: cambellbarton, mont29 Subscribers: mont29, campbellbarton Maniphest Tasks: T40930 Differential Revision: https://developer.blender.org/D638
2014-12-27Fix T43034: beautify-fill leaves zero area tri'sCampbell Barton
2014-12-26Fix T43013: Flip with bridge aligned loopsCampbell Barton
2014-12-26cleanup: use cross_tri_v2 when area isn't needed.Campbell Barton
2014-12-18Quiet warning (harmless)Campbell Barton
2014-12-17Fix triangulating concave quadsCampbell Barton
Resulting triangles could be pointing in opposing directions.
2014-12-17Fix T42927: Triangulate-beauty fails on quadsCampbell Barton
Regressions since 2.69.
2014-12-17Docs: comments (hash table & beauty fill)Campbell Barton
2014-12-09Fix T42630: Triangulate returns invalid face-mapCampbell Barton
Triangulate with beautify caused a bug when there were existing edges could make the bmesh-operator return an invalid face-map. Now the beauty is calculated on the 2d-tri's resulting from polyfill, its simpler and faster.
2014-12-09Cleanup: remove scanfill define for polyfill codeCampbell Barton
also rename vars which were previously used for scanfill.
2014-12-08BMesh: ensure iterator macros assign to valid typesCampbell Barton
note, this is for C++ code which expects a cast, (will be added later) also add a macro for nop-expressions (EXPR_NOP), when we never want an expression to be evaluated, but it should still be valid.
2014-12-02Cleanup: style & de-duplicateCampbell Barton
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-22Math Lib: add constant: M_SQRT1_3 1/sqrt(3)Campbell Barton
2014-11-21BMesh: check for loop side-of-loop & side-of-edgeCampbell Barton
2014-11-21Cleanup: typoCampbell Barton
2014-11-17ShapeKeys: Add `BKE_keyblock_is_basis` to check whether a given keyblock is ↵Bastien Montagne
used a basis by others. Also fix stupid debug-only error in previous commit.
2014-11-16Cleanup: use SUBD_CORNER_* prefix for Subdiv flagsCampbell Barton
2014-11-16Cleanup: use BLI_listbase_count_ex to avoid redundant loopingCampbell Barton
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-11-13BMesh: shrink/fatten faces-normals in face modeCampbell Barton
nice for solid-modeling, gives better results for partial selections.
2014-11-10Fix T4256: Connect tool hangsCampbell Barton
2014-11-06Editmesh: select more/less can now step over adjacent facesCampbell Barton
This keeps a square shaped selection when using grid topology.
2014-11-06Correct recent refactor (use generic callback)Campbell Barton
2014-11-05Editmesh: report a warning when fill failsCampbell Barton
also prevent assert with zero normal