Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-01 | Math Lib: avoid char > int conversion w/ line plot | Campbell Barton | |
2016-06-30 | Transform Snap: Optimize edge-snap using BVH tree | Germano Cavalcante | |
changes in BLI_kdopbvh: - `BLI_bvhtree_find_nearest_to_ray` now takes is_ray_normalized and scale argument. - `BLI_bvhtree_find_nearest_to_ray_angle` has been added (use for perspective view). changes in BLI_bvhutils: - `bvhtree_from_editmesh_edges_ex` was added. changes in math_geom: - `dist_squared_ray_to_seg_v3` was added. other changes: - `do_ray_start_correction` is no longer necessary to snap to verts. - the way in which the test of depth was done before is being simulated in callbacks. | |||
2016-06-27 | Bendy Bones Instability Fix - Second Attempt | Joshua Leung | |
So the error seems to be in cubic_tangent_factor_circle_v3(), which was introduced with D2001. I've tweaked the most obvious culprit here - the epsilon factor. It used to be 10^-7, but I've reduced it down to 10^-5 now, and it's looking a lot more stable now :) --------- BTW, about the derivation of the magic 0.390464 factor I briefly subbed back as a workaround for this bug, see: http://www.whizkidtech.redprince.net/bezier/circle/ | |||
2016-06-27 | Docs: arg names | Campbell Barton | |
2016-05-23 | BLI_math: Add function to calculate circular cubic curve tangents | Campbell Barton | |
2016-04-14 | Remove redundant abs ray/line point functions | Campbell Barton | |
2016-04-14 | Math Lib: ray_point_factor_v3 functions | Campbell Barton | |
Gives a bit better precision than creating a line in some cases, use for ED_view3d_win_to_3d. | |||
2016-04-10 | Docs: comment on line-sphere intersection | Campbell Barton | |
2016-03-11 | Minor improvement to last commit | Campbell Barton | |
Sign is known in this case, no need to check for either direction. | |||
2016-03-11 | Math Lib: less complex convex quad check | Campbell Barton | |
2016-03-05 | Cleanup: quiet -Wcomma, cast to void where needed | Campbell Barton | |
2016-02-11 | Cleanup: naming for NearestRayToAABB_Precalc | Germano Cavalcante | |
2016-01-26 | Correct commented printfs | Campbell Barton | |
2016-01-25 | Math Lib: Add dist_squared_ray_to_aabb_v3 utility | Germano Cavalcante | |
2016-01-23 | Math Lib: optimize segment-plane clipping | Campbell Barton | |
Calculate the clipped min/max factor along the segment, only applying to the coordinates at the end (will give better precision too). Also make split input/output args. | |||
2016-01-20 | error in last commit | Campbell Barton | |
2016-01-20 | Cleanup: naming convention | Campbell Barton | |
Follow isect_ray_tri_watertight_v3 naming. | |||
2016-01-08 | Math Lib: use x-span for fill_poly_v2i_n callback | Campbell Barton | |
Instead of running the callback per-pixel, pass the x-span to the callback. | |||
2015-12-23 | Math Lib: clamp closest_to_line_segment_v# when segment has no length | Campbell Barton | |
For a line this makes sense but segments should clamp, avoids assert in edge-rip. | |||
2015-12-15 | Cleanup: math lib naming | Campbell Barton | |
Distinguish between line / line_segment | |||
2015-12-15 | Cleanup: math lib naming | Campbell Barton | |
Rename not-very-descriptive (p1, d) -> (ray_origin, ray_direction) | |||
2015-12-15 | Cleanup: consistent naming for closest_to_line api | Campbell Barton | |
2015-12-11 | Math Lib: 2d ray-segment intersection function | Campbell Barton | |
2015-12-03 | Remove redundant zero area face check | Campbell Barton | |
2015-12-03 | Fix isect_point_tri_v3 w/ degenerate faces | Campbell Barton | |
Ensure point_in_slice returns false when zero area faces are passed. | |||
2015-11-12 | Cleanup: rename line to segments, avoids confusion | Campbell Barton | |
Differentiate between lines and segments. | |||
2015-10-22 | Fix T46521: Python: bvh.ray_cast doesn't find a plane facing in the other ↵ | Sergey Sharybin | |
direction under certain circumstances The issue was caused by wrong sign check. It originally came from more optimized Cycles code where because of other reasons it wasn't visible yet. But in fact it should be solved there as well. | |||
2015-10-15 | BLI_math: isect_ray_plane_v3 now takes 4d plane | Campbell Barton | |
Was taking a triangle and doing ray-tri intersect. | |||
2015-10-07 | Cleanup: spelling | Campbell Barton | |
2015-09-22 | Cleanup: indentation | Campbell Barton | |
2015-09-05 | Math Lib: isect_plane_*_v3 avoid negation | Campbell Barton | |
Unmeasurable speedup for plane intersection. | |||
2015-09-05 | Math Lib: simplify isect_plane_plane_v3 | Campbell Barton | |
Unlike the 3 plane method, the 2 planes squared cross-product _is_ the determinant. | |||
2015-09-04 | Fix for isect_tri_tri_epsilon_v3 w/ small faces | Campbell Barton | |
tris with ~1e-05 edge lengths would fail | |||
2015-09-04 | Math Lib: Use plane intersect from graphics-gems | Campbell Barton | |
2015-09-04 | Math Lib: avoid sqrt w/ triangle intersection | Campbell Barton | |
2015-09-04 | Correct own error in line_point_factor | Campbell Barton | |
Passing zero epsilon allowed divide by zero. | |||
2015-09-03 | Small tri intersect fails when not normalized | Campbell Barton | |
Logic was ok, but would run into precision issues. | |||
2015-08-31 | Revert fix for T45849 (part 2, tsk!) | Campbell Barton | |
2015-08-31 | error in comments | Campbell Barton | |
2015-08-31 | Alternate fix for T45849: tri-tri intersect error | Campbell Barton | |
Project both triangles onto the same plane to simplify calculations. | |||
2015-08-31 | Revert fix for T45849, alternate fix coming up | Campbell Barton | |
epsilon check here didn't account for scale, causing T45919 | |||
2015-08-31 | Math Lib: Add closest_to_plane helper functions | Campbell Barton | |
- closest_to_plane3 (for float3 planes) - closest_to_plane*_normalized_v3 (for unit length planes) Use when the plane is known to be unit length | |||
2015-08-25 | Fix T45853: Edge-slide UV-correct jitter | Campbell Barton | |
2015-08-23 | Math Lib: Use same logic for 2d/3d functions | Campbell Barton | |
dist_squared_to_line_v2, dist_to_line_v2 | |||
2015-08-23 | Math Lib: minor optimization interp_weights_poly | Campbell Barton | |
2015-08-22 | Cleanup: spelling | Campbell Barton | |
2015-08-22 | Use epsilon for line-intersect collinear test | Campbell Barton | |
Also remove 2x vector normalize since other parts of the code already check this. Fixes T45849 | |||
2015-08-21 | Math Lib: watertight intersection function | Campbell Barton | |
From Cycles with some very minor differences. | |||
2015-08-20 | Cleanup: comment out isect_ray_tri_threshold_v3 | Campbell Barton | |
Also define epsilon var for ray-cast functions. | |||
2015-08-19 | Fix T45706: Axis aligned tri-tri intersection | Campbell Barton | |