Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-19 | Cleanup: `make format` after SortedIncludes change | Dalai Felinto | |
2019-08-25 | Cleanup: rename mesh looptri/tessface functions | Campbell Barton | |
Use consistent terminology. | |||
2019-04-22 | Cleanup: style, use braces for blenkernel | Campbell Barton | |
2019-04-17 | ClangFormat: apply to source, most of intern | Campbell Barton | |
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat | |||
2019-02-18 | doxygen: add newline after \file | Campbell Barton | |
While \file doesn't need an argument, it can't have another doxy command after it. | |||
2019-02-06 | Cleanup: remove redundant doxygen \file argument | Campbell Barton | |
Move \ingroup onto same line to be more compact and make it clear the file is in the group. | |||
2019-02-01 | Cleanup: remove redundant, invalid info from headers | Campbell Barton | |
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits. | |||
2018-06-17 | Cleanup: trailing space for blenkernel | Campbell Barton | |
2016-05-05 | Cleanup: rename getepsilon -> get_epsilon | Campbell Barton | |
2015-12-13 | BMesh: add BKE_bmbvh_find_face_closest | Campbell Barton | |
2015-08-21 | BVH-raycast: Use watertight intersections | Campbell Barton | |
By default watertight intersections are used, For callbacks where its not needed, BLI_bvhtree_ray_cast_ex can be called without the BVH_RAYCAST_WATERTIGHT flag. Fixes T45286 | |||
2015-08-20 | Resolve MSVC/OpenMP compat issue | Campbell Barton | |
2015-08-20 | Use BVH-overlap for mesh self-intersection display | Campbell Barton | |
Add BKE_bmbvh_overlap, remove BKE_bmbvh_find_face_segment | |||
2015-01-13 | BMesh: option to filter out faces during raycast | Campbell Barton | |
This allows us to more easily cast from the surface of a mesh without normal offsets (Which can give precision issues). | |||
2014-07-30 | BMesh: callback for bmbvh so caller can choose faces | Campbell Barton | |
2014-04-30 | Code cleanup: remove unused includes | Campbell Barton | |
Opted to keep includes if they are used indirectly (even if removing is possible). | |||
2014-03-12 | Code cleanup: redundant normalize in bmbvh ray cast | Campbell Barton | |
2014-02-02 | Code cleanup: suffix vars to make obvious they are squared | Campbell Barton | |
2013-11-18 | BMesh 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-10 | remove redundant indirection in asserts | Campbell Barton | |
2013-09-04 | style cleanup | Campbell Barton | |
2013-08-30 | Some 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-20 | BKE_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-20 | correct editmesh BKE_bmbvh_find_vert_closest(), distances are expected to be ↵ | Campbell Barton | |
squared. | |||
2013-04-18 | code cleanup: removed unneeded null check in object drawing, some warnings, ↵ | Campbell Barton | |
style. | |||
2013-04-18 | add mesh distort display mode (highlights distorted faces) | Campbell Barton | |
2013-04-18 | make bmbvh call BM_mesh_elem_index_ensure(), further calls to utility ↵ | Campbell Barton | |
functions assert if the index values becomes dirty. | |||
2013-04-18 | use 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-18 | bmbvh was allocating an array for vert coords but not using it, removed. | Campbell Barton | |
also use generic name for callback data. | |||
2013-04-18 | fix for BMBVH_USE_CAGE option, | Campbell Barton | |
knife tool with modifier was broken when modifier cage was used. | |||
2013-04-17 | add 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-17 | code cleanup: bmesh bvh | Campbell 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-17 | add 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-16 | fix 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-16 | add distance arg to BKE_bmbvh_ray_cast(). currently unused. | Campbell Barton | |
2013-04-16 | bmesh 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-16 | skip calling BKE_editmesh_tessface_calc() from BKE_bmbvh_new(), also quiet ↵ | Campbell Barton | |
float/double warnings. | |||
2013-04-16 | Fixed compilation error with gcc 4.4 and 4.5 | Sergey Sharybin | |
Was giving structure re-declaration error, made it one typedef and struct declaration only. | |||
2013-04-16 | code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵ | Campbell Barton | |
BKE_editmesh_bvh.h | |||
2013-04-16 | move editmesh functions out editderivedmesh.c into editmesh.c | Campbell Barton | |
2013-04-16 | move editmesh_bvh.c into blenkernel. | Campbell Barton | |