Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-05 | rename overlap to holes for isect_point_poly_v2 | Campbell Barton | |
2013-10-04 | code cleanup: warnings and minor edits. | Campbell Barton | |
2013-10-04 | fix for lasso failing/glitches on overlapping lines, replace scanfill with ↵ | Campbell Barton | |
2d pixel filling for drawing and selection. | |||
2013-10-04 | fix for lasso selection (in non-zbuf mode) when the line intersected its self. | Campbell Barton | |
isect_point_poly_v2() - add argument to check overlapping areas. | |||
2013-09-25 | fix error where BKE_mesh_cd_validate layer renaming would use invalid index ↵ | Campbell Barton | |
values. from r60260 also correct some comments. | |||
2013-09-14 | minor changes needed for building standalone mathutils. | Campbell Barton | |
2013-09-07 | missing NULL check in recent commit, also skip some calculations in ↵ | Campbell Barton | |
mean_value_half_tan functions for degenerate cases. | |||
2013-09-06 | fix for barycentric_weights_v2_quad() divide by zero when the location we're ↵ | Campbell Barton | |
checking the weight of touches one of the weighting coords exactly. | |||
2013-08-31 | Simplify line/plane intersection, add line_plane_factor_v3(). | Campbell Barton | |
Remove no_flip option for isect_line_plane_v3(), its quite specific and only used for ED_view3d_win_to_3d(). | |||
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-08-23 | simplify dist_to_plane_v3 and add dist_squared_to_plane_v3 | Campbell Barton | |
2013-08-23 | math api edits - replace point-normal form for a plane with dist_to_plane_v3() | Campbell Barton | |
also correct python mathutils api, was missing vector checks. | |||
2013-08-23 | modify closest_to_plane_v3 not to use point-normal form. | Campbell Barton | |
2013-08-22 | add utility functions for dealing with planes | Campbell Barton | |
- plane_point_side_v3(), a bit like line_point_side_v2() - isect_point_planes_v3(), moved from paint_hide.c functions to convert between point/normal pairs. - plane_from_point_normal_v3() - plane_to_point_normal_v3() | |||
2013-08-22 | minor internal change: isect_point_poly_v2 was assigning a value past the ↵ | Campbell Barton | |
array bounds, not that bad since it wasn't read but this isnt good practice and its simple to avoid. | |||
2013-08-01 | code cleanup: remove unused functions | Campbell Barton | |
- IsectLLPt2Df - isect_point_quad_uv_v2 - isect_point_face_uv_v2 These are obsoleted by resolve_tri_uv, resolve_quad_uv also add attributes for unused function results for some math functions. | |||
2013-07-19 | code cleanup: avoid sqrt in isect_seg_seg_v2_point | Campbell Barton | |
2013-07-12 | optimize interp_weights_poly_v2(), well tested, was calculating the area ↵ | Campbell Barton | |
twice as much as was needed. | |||
2013-07-11 | fix [#36105] Bevel UV Flicker | Campbell Barton | |
interp_weights_poly_v2/3 functions used much too small an epsilon value, caused flickering. | |||
2013-07-05 | fix [#35987] bevel gives nan vertices | Campbell Barton | |
The line intersection function bevel uses could give nan intersections. | |||
2013-06-26 | correct typos in comments. | Campbell Barton | |
2013-06-21 | Code cleanup: fix some vs2012 compiler warnings | Brecht Van Lommel | |
2013-06-10 | code cleanup: use boolean for intersection functions. | Campbell Barton | |
2013-05-10 | Optimize BKE_mesh_calc_normals(), gives approx 25% speedup. | Campbell Barton | |
- no need to allocate polygon normal array. - no need to use BLI_array_ functions (realloc's). - reduce some of the looping. | |||
2013-05-03 | knife sort_by_frac_along was re-calculating the reference factor for every ↵ | Campbell Barton | |
test, change to only calculate once and use line_point_factor_v3(). also add zero division check for line_point_factor_v3() since the 2d version already checked for this. | |||
2013-04-22 | add clip_segment_v3_plane_n() to clip a line segment to planes (as used for ↵ | Campbell Barton | |
view clipping). use in ED_view3d_win_to_segment_clip() and fix error, was clipping by only 4 planes rather then 6. | |||
2013-04-22 | code cleanup: remove duplicate function _det_m3(), clip_line_plane was ↵ | Campbell Barton | |
copying a vector for no reason. | |||
2013-04-21 | utility function volume_tetrahedron(), for mathutils and BLI math. | Campbell Barton | |
2013-03-21 | code cleanup: use bool where values are true/false, for view3d and related ↵ | Campbell Barton | |
functions. | |||
2013-03-15 | move polygon intersection out of BLI_lasso into BLI_math_geom since its a ↵ | Campbell Barton | |
generally useful function. adds: - isect_point_poly_v2() - isect_point_poly_v2_int() | |||
2013-03-14 | tweaks to clang so blender can build with -Werror | Campbell Barton | |
2013-03-09 | code cleanup: favor braces when blocks have mixed brace use. | Campbell Barton | |
2013-03-07 | math: Use len_v3() instead of normalize_v3() for area calculation | Sergej Reich | |
We only need the length, avoids unnecessary calculations. | |||
2013-03-03 | code cleanup: ~400 duplicate lines for AO form factor math. | Campbell Barton | |
2013-02-19 | make asserts that check for unit length vectors into a macro. | Campbell Barton | |
this was really not nice logic to try to fit into an assert. | |||
2013-02-14 | Fix "Origin to Center of Mass" not working well with ngons | Sergej Reich | |
Now we do simple triangulation and calculate signed area of triangles to account for concave polygons. This only works correct for planar polygons but gives better results overall. | |||
2013-02-14 | Divide by 3 instead of multiplying by variations of 0.333 | Sergej Reich | |
Fixes small precision problems. | |||
2013-02-14 | modify own changes to is_quad_convex_v3() to allow quads with a co-linear ↵ | Campbell Barton | |
side to be considered convex (as it did in last release). this is needed so zero area faces be dealt with by beauty fill. | |||
2013-02-13 | make is_quad_convex_v3() more strict, check if normal is OK before using as ↵ | Campbell Barton | |
a rotation axis. make is_quad_convex_v2,3() check for ISECT_LINE_LINE_CROSS intersection (that the lines actually cross each other). | |||
2013-02-09 | fix for is_quad_convex_v3(), getting the dominant axis wasn't accurate ↵ | Campbell Barton | |
enough in some cases and would make beauty fill fail. now rotate the coords before calculation. | |||
2013-02-03 | add dist_to_line_v3() for completeness, (had dist_to_line_v2 already) | Campbell Barton | |
2013-02-02 | style cleanup | Campbell Barton | |
2013-01-10 | bmesh todo: uv stretch area draw mode wasn't calculating ngon area - added ↵ | Campbell Barton | |
area_poly_v2(). | |||
2013-01-08 | style cleanup | Campbell Barton | |
2013-01-08 | style cleanup | Campbell Barton | |
2013-01-08 | comment fix. | Antony Riakiotakis | |
Looks like no scaling is done elsewhere on blender for this code. I hope this bug is squashed for good. | |||
2013-01-08 | * Fix for #31581. The issue was that we scaled the face prior to | Antony Riakiotakis | |
projecting it. The original paper suggests to simply interpolate between the two points of an edge if the distance of the point to that edge is smaller than a threshold. * Fixed both 3D and 2D code to utilize this. Possibly other places in blender where this scaling is done will have to be adjusted. * Changed vertex interpolation to use 2D interpolation, since it already did projection on plane and 2d calculations are faster. * Also added notifier on hard recalc when uvcalc_transfor_correction is used. Results in instant feedback on UV editor when edge sliding. | |||
2013-01-07 | add area_poly_v3_max() for use with area_poly_v3 | Campbell Barton | |
2013-01-07 | style cleanup | Campbell Barton | |
2013-01-02 | style cleanup | Campbell Barton | |