Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |