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