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-07-30BMesh: callback for bmbvh so caller can choose facesCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-03-12Code cleanup: redundant normalize in bmbvh ray castCampbell Barton
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2013-11-18BMesh Refactor: BKE_bmbvh_new can now be created without an EditMesh.Walid Shouman
This adds BM_bmesh_calc_tessellation() so we can get triangles from a bmesh without having to have an editmesh available.
2013-09-10remove redundant indirection in assertsCampbell Barton
2013-09-04style cleanupCampbell Barton
2013-08-30Some knife fixes. Avoids duplicating verts; better handling of cut-through ↵Howard Trickey
ortho. Now cut lines detect vertices that they pass (almost) exactly over and snap to them, to avoid making verts vert close to other ones. Added radius arg to BKE_bmbvh_ray_cast so that can detect an obscuring face when the ray might otherwise go exactly between two triangles. Needed an isect_line_tri_epsilon function for similar reason. Fixes last part of bug #35002. Other knife bugs still present but getting this commit in now before continuing bug fixing.
2013-06-20BKE_bmbvh_find_vert_closest: very stupid & old bug, it was comparing hit ↵Campbell Barton
locations incorrectly so that only the first hit was valid. This isn't noticeable for small distances, otherwise it gives bad results.
2013-06-20correct editmesh BKE_bmbvh_find_vert_closest(), distances are expected to be ↵Campbell Barton
squared.
2013-04-18code cleanup: removed unneeded null check in object drawing, some warnings, ↵Campbell Barton
style.
2013-04-18add mesh distort display mode (highlights distorted faces)Campbell Barton
2013-04-18make bmbvh call BM_mesh_elem_index_ensure(), further calls to utility ↵Campbell Barton
functions assert if the index values becomes dirty.
2013-04-18use modified vertex coords for calculating display thickness and intersections.Campbell Barton
internal improvement to editmesh_bvh.c - optionally pass cage-coords as an arg, rather then calculating the coords in BKE_bmbvh_new(), since all callers already have coords calculated. - de-duplicate coords creation function from knife and bmbvhm, move into own generic function: BKE_editmesh_vertexCos_get()
2013-04-18bmbvh was allocating an array for vert coords but not using it, removed.Campbell Barton
also use generic name for callback data.
2013-04-18fix for BMBVH_USE_CAGE option,Campbell Barton
knife tool with modifier was broken when modifier cage was used.
2013-04-17add function BKE_bmbvh_find_face_segment()Campbell Barton
given a segment, finds finds an intersecting faces from the first point to the second, needed for checking self intersections (not used yet).
2013-04-17code cleanup: bmesh bvhCampbell Barton
- remove unused members from BMBVHTree - move per-raycast vars from BMBVHTree into per-callback structs (weren't threadsafe). - simplify BKE_bmbvh_find_vert_closest().
2013-04-17add interp_v3_v3v3v3_uv() to use for use with uv value from ↵Campbell Barton
isect_ray_tri_v3(), rename tree -> bmtree for BMBVHTree.
2013-04-16fix for BKE_bmbvh_ray_cast() returning one of the vertices normals rather ↵Campbell Barton
then the face normal. also remove redundant NULL checks.
2013-04-16add distance arg to BKE_bmbvh_ray_cast(). currently unused.Campbell Barton
2013-04-16bmesh speedup for bvh building, replace SmallHash with BLI_bitmap, using a ↵Campbell Barton
hash doesn't make much sense since in most cases all vertices are accessed and the hash isn't guaranteed to be small. gives ~9x speedup to filling 'cagecos' in my own tests on a high poly mesh.
2013-04-16skip calling BKE_editmesh_tessface_calc() from BKE_bmbvh_new(), also quiet ↵Campbell Barton
float/double warnings.
2013-04-16Fixed compilation error with gcc 4.4 and 4.5Sergey Sharybin
Was giving structure re-declaration error, made it one typedef and struct declaration only.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-16move editmesh functions out editderivedmesh.c into editmesh.cCampbell Barton
2013-04-16move editmesh_bvh.c into blenkernel.Campbell Barton