Blender Git Loki
Git Commits -> Revision 7804860
Revision 7804860 by Daniel Dunbar (master) August 21, 2005, 07:19 (GMT) |
- added mesh_strip_loose_faces, works in conjunction with make_edges to get rid of faces with MFace.v3==0 - change all Mesh's to have ->medge now. This is forced by make_edges on readfile, and in the various exotic important routines, and on conversion back in python. - make python NMesh structure always have medges now (needs testing) - with above two changes it is guarenteed that mf->v3 is never ==0 in main blender code (i.e., all MFace's are actually triangles or quads) and so I went through and removed all the historic tests to deal with MFace.v3==0. Equals lots of deleting, I am in heaven! - removed MEdge edcode flag, no longer needed - added experimental replacement for edge flag system Still are some inconsistencies in FACESELECT mode edge drawing to be ironed out. NOTE: This commit adds an experimental edge flag calc system, based on 10-seconds-of-thought algorithm by yours truly. Would appreciate feedback on how this system works, esp compared to old one and esp on complex or interesting models. To Use: New system is enabled by setting G.rt to a value between 1 and 1000 (Value of 0 uses old system). Value 1000 is reserved for "auto" edge, which is more or less identical to old system but also makes sure that at least 10% of edges are drawn (solves errors for super subdivided meshes). Values between 1 and 999 act as percent (out of 1000) of edges that should be drawn, starting with "most interesting" edges first. Please try it and comment! |
Commit Details:
Full Hash: 7804860cf61b8fc522405740180d10181d174187
SVN Revision: 5159
Parent Commit: d29f7c2
Lines Changed: +825, -1530
35 Modified Paths:
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+143, -377) (Diff)
/source/blender/blenkernel/intern/displist.c (+44, -47) (Diff)
/source/blender/blenkernel/intern/effect.c (+3, -11) (Diff)
/source/blender/blenkernel/intern/exotic.c (+91, -171) (Diff)
/source/blender/blenkernel/intern/mesh.c (+42, -73) (Diff)
/source/blender/blenkernel/intern/modifier.c (+26, -39) (Diff)
/source/blender/blenkernel/intern/softbody.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+21, -52) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -20) (Diff)
/source/blender/include/butspace.h (+0, -2) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+1, -1) (Diff)
/source/blender/python/api2_2x/NMesh.c (+57, -144) (Diff)
/source/blender/python/api2_2x/Object.c (+0, -5) (Diff)
/source/blender/radiosity/intern/source/radpostprocess.c (+0, -2) (Diff)
/source/blender/radiosity/intern/source/radpreprocess.c (+94, -96) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+58, -79) (Diff)
/source/blender/src/booleanops.c (+11, -33) (Diff)
/source/blender/src/buttons_editing.c (+1, -47) (Diff)
/source/blender/src/buttons_object.c (+0, -9) (Diff)
/source/blender/src/drawimage.c (+8, -9) (Diff)
/source/blender/src/drawmesh.c (+1, -1) (Diff)
/source/blender/src/drawobject.c (+2, -3) (Diff)
/source/blender/src/drawview.c (+6, -8) (Diff)
/source/blender/src/editface.c (+9, -102) (Diff)
/source/blender/src/editmesh.c (+127, -82) (Diff)
/source/blender/src/editmesh_add.c (+0, -3) (Diff)
/source/blender/src/editmesh_lib.c (+9, -17) (Diff)
/source/blender/src/editmesh_mods.c (+3, -9) (Diff)
/source/blender/src/editmesh_tools.c (+1, -1) (Diff)
/source/blender/src/editsima.c (+20, -20) (Diff)
/source/blender/src/meshtools.c (+11, -18) (Diff)
/source/blender/src/transform_conversions.c (+0, -8) (Diff)
/source/blender/src/unwrapper.c (+5, -9) (Diff)
/source/blender/src/vpaint.c (+20, -29) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+143, -377) (Diff)
/source/blender/blenkernel/intern/displist.c (+44, -47) (Diff)
/source/blender/blenkernel/intern/effect.c (+3, -11) (Diff)
/source/blender/blenkernel/intern/exotic.c (+91, -171) (Diff)
/source/blender/blenkernel/intern/mesh.c (+42, -73) (Diff)
/source/blender/blenkernel/intern/modifier.c (+26, -39) (Diff)
/source/blender/blenkernel/intern/softbody.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+21, -52) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -20) (Diff)
/source/blender/include/butspace.h (+0, -2) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+1, -1) (Diff)
/source/blender/python/api2_2x/NMesh.c (+57, -144) (Diff)
/source/blender/python/api2_2x/Object.c (+0, -5) (Diff)
/source/blender/radiosity/intern/source/radpostprocess.c (+0, -2) (Diff)
/source/blender/radiosity/intern/source/radpreprocess.c (+94, -96) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+58, -79) (Diff)
/source/blender/src/booleanops.c (+11, -33) (Diff)
/source/blender/src/buttons_editing.c (+1, -47) (Diff)
/source/blender/src/buttons_object.c (+0, -9) (Diff)
/source/blender/src/drawimage.c (+8, -9) (Diff)
/source/blender/src/drawmesh.c (+1, -1) (Diff)
/source/blender/src/drawobject.c (+2, -3) (Diff)
/source/blender/src/drawview.c (+6, -8) (Diff)
/source/blender/src/editface.c (+9, -102) (Diff)
/source/blender/src/editmesh.c (+127, -82) (Diff)
/source/blender/src/editmesh_add.c (+0, -3) (Diff)
/source/blender/src/editmesh_lib.c (+9, -17) (Diff)
/source/blender/src/editmesh_mods.c (+3, -9) (Diff)
/source/blender/src/editmesh_tools.c (+1, -1) (Diff)
/source/blender/src/editsima.c (+20, -20) (Diff)
/source/blender/src/meshtools.c (+11, -18) (Diff)
/source/blender/src/transform_conversions.c (+0, -8) (Diff)
/source/blender/src/unwrapper.c (+5, -9) (Diff)
/source/blender/src/vpaint.c (+20, -29) (Diff)