Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-22 | style cleanup | Campbell Barton | |
2013-10-17 | Fix #37109: missing cycles texture display in edit mode. | Brecht Van Lommel | |
My previous fix for uninitialized texture coordinates was not working well, and in fact there was a bigger issue with GLSL drawing and missing attributes with immediate draw mode. Now it will explicitly pass zero rather than having it use whatever value was set last. | |||
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-07 | code cleanup: more confusion with 0/NULL/false | Campbell Barton | |
2013-07-26 | use math functions for copying matrix/vector types, also cast const pointers ↵ | Campbell Barton | |
for freeing (clang error's out otherwise) | |||
2013-07-23 | correct own error in recent edits to editderivedmesh | Campbell Barton | |
2013-07-23 | remove the pointer from BLI_bitmap's typedef, | Campbell Barton | |
hides that an arg passed is really an array which may be modified by other functions. | |||
2013-07-23 | optimization: only calculate the normals for passing into derivedMesh ↵ | Campbell Barton | |
foreachMappedVert/foreachMappedFaceCenter when needed, this means in editmode with wire draw, face and vertex normals don't have to be calculated at all. in most cases the normals are not used so add a flag that makes calculating them only for functions that need them. also fix face normal calculation for CDDM, was using quad calculation for ngons too. | |||
2013-07-22 | optimization: | Campbell Barton | |
- halve the number of allocs in layerInterp_mdeformvert list creation. - use direct loop access in emDM_copyLoopArray | |||
2013-07-22 | optimization: lazy initialize EditDerivedBMesh members vertexNos, polyNos. | Campbell Barton | |
also add polyCos array which cache's face centers, gives overall ~20% speedup to drawing on a high-poly mesh in face-editmode. | |||
2013-07-19 | code cleanup: use boolean for derived mesh face test function | Campbell Barton | |
2013-07-09 | fix [#36055] Edge/Face Info display on wrong position with key frames | Campbell Barton | |
display editmesh stats with deform modifiers. | |||
2013-07-01 | Fix incorrect GLSL bump mapping in editmode when the UV coordinates are | Brecht Van Lommel | |
flipped, was not passing sign on to GLSL shader. | |||
2013-05-30 | modifier stack: lazy initialize normals | Campbell Barton | |
many modifiers were calculating normals, when those normals were ignored by the next modifier. now flag normals as dirty and recalculate for modifiers that set use `dependsOnNormals()` callback. Quick test on mesh with 12 modifiers (mostly build type), calculated normals 6 times, now it only runs once - so this will give some speedup too. | |||
2013-05-27 | bmesh optimization: use offsets for deform-vert lookups to avoid customdata ↵ | Campbell Barton | |
layer lookups within loops. | |||
2013-05-10 | avoid customdata lookups for selection test/enable disable. | Campbell Barton | |
also add uvedit_face_select_set, uvedit_edge_select_set, uvedit_uv_select_set - since quite a few areas where setting based on a boolean. | |||
2013-05-08 | fix [#35259] Crash when enabling mesh analysis intersect. | Campbell Barton | |
2013-04-29 | tweak for epsilon of intersection check, was too small for some cases. | Campbell Barton | |
2013-04-20 | skip checks in statvis_calc_thickness(). also remove paranoid NULL checks in ↵ | Campbell Barton | |
smallhash.c | |||
2013-04-20 | fix [#35025] Mesh Debug samples strange behavior | Campbell Barton | |
2013-04-18 | fix for problem with too low epsilon when calculating thickness, also ↵ | Campbell Barton | |
increase limits. | |||
2013-04-18 | add display mode for sharp edges. | Campbell Barton | |
2013-04-18 | fix range for face distortion and display for concave ngons. | Campbell Barton | |
2013-04-18 | add mesh distort display mode (highlights distorted faces) | Campbell Barton | |
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 | Support object scale for mesh display options. (currently only uniform scale ↵ | Campbell Barton | |
for thickness test) | |||
2013-04-17 | display options to help with 3d printing. | Campbell Barton | |
editmesh debug info, - overhang (with axis angle options) - wall thickness (with min/max distance) - self-intersections. access below 'Mesh Display' panel. | |||
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-14 | code cleanup: edit-derived-mesh, define 'BMesh *bm' as local variable, avoid ↵ | Campbell Barton | |
'bmdm->em->bm' within functions. | |||
2013-04-14 | fix for error in editmesh derived callbacks, emDM_getVert(), emDM_getEdge(), ↵ | Campbell Barton | |
emDM_getTessFace(). Currently the functions aren't used since they would fail have failed immediately. | |||
2013-04-14 | code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵ | Campbell Barton | |
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere). | |||
2013-04-14 | Mesh Drawing: | Campbell Barton | |
Option to draw mesh vertex-weights in editmode, available from the 'Mesh Display' panel. TODO: get this to work when modifiers are applied in solid mode (texface-solidmode is working). | |||
2013-04-13 | code cleanup: more minor changes for editmesh face drawing. | Campbell Barton | |
2013-04-13 | code cleanup: editmesh draw functions, make face drawing more consistent. | Campbell Barton | |
2013-02-23 | fix [#34378] GLSL materials using multiple UV layers fail in editmode | Campbell Barton | |
regression since BMesh merge. | |||
2013-02-23 | code cleanup: make editmode PASSATTRIB into static functions. | Campbell Barton | |
2013-02-06 | style cleanup: some warnigs & spelling. | Campbell Barton | |
2013-01-21 | fix regression in own recent commit, vertex flags were left uninitialized. | Campbell Barton | |
2013-01-14 | use booleans for bmesh api. | Campbell Barton | |
2013-01-11 | remove CustomData_get_active_offset(), use CustomData_get_offset to return ↵ | Campbell Barton | |
the active layer, matching CustomData_get() | |||
2013-01-10 | editmesh texface drawing, reuse customdata offset rather then looking up ↵ | Campbell Barton | |
each UV and vertex color, gives overall ~9.5% drawing speedup in my tests. was also doing NULL checks on UV's which are never NULL in this case. | |||
2013-01-10 | don't store bevel weights or edge crease customdata layers in editmode ↵ | Campbell Barton | |
unless they are needed. configurable in 'Geometry Data' panel, will be added when running crease edges transform for example. | |||
2013-01-09 | speedup for editmesh getVert and getEdge, were doing 2x customdata layer ↵ | Campbell Barton | |
lookups for crease and bevel weight, also make use of the existing meshdata array for lookups. | |||
2012-12-27 | add option to BLI_scanfill_calc() - BLI_SCANFILL_CALC_HOLES, gives some ↵ | Campbell Barton | |
speedup for BMesh ngons which never have holes and ensures predictable triangle count (totvert - 2), which is needed for pre-calculating array size. | |||
2012-12-27 | remove realloc's during BMEdit_RecalcTessellation(), instead use ↵ | Campbell Barton | |
poly_to_tri_count() to calculate how many triangles are needed. | |||
2012-12-21 | speedup for face tessellation: | Campbell Barton | |
- quads, tris now use direct pointer access rather then iterators. - for ngons also avoid iterator, just loop over the loops. also minor change, use floorf rather then floor for ED_view3d_project_short_ex, ED_view3d_project_int_ex | |||
2012-12-15 | move pbvh into BKE, it used many BKE bad level includes. | Campbell Barton | |
now blenlib/BLI doesn't depend on any blenkern/BKE functions, there are still some bad level includes but these are only to access G.background and the blender version define. | |||
2012-12-12 | use htype flags as arguments to EDBM_index_arrays_init(), no functional changes. | Campbell Barton | |
2012-12-03 | revert part of r52720, Id rather leave these as-is, even if they give ↵ | Campbell Barton | |
warnings under some configurations. |