Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-11Added a polygon reduction function that can poly reduce any mesh and ↵Campbell Barton
supports UV's as well as bone weights (Thanks to briggs). Isnt intended to be ultra high quality, more for automatic realtime "Level of Detail" model generation. BPyMesh.redux(ob, 0.5) # To reduce to about half the polys
2006-05-11Added some shortcuts to MeshCampbell Barton
MFace.area MFace.cent MEdge.length Updated some scripts that used these.
2006-05-10Modified mesh to allow writing to normals.Campbell Barton
renamed meshPrettyNormals to meshCalcNormals, and it now writes to normals rather then returning a list of vecs. updated vertexpaint_selfshadow_ao to be a bit more efficient and make use of the above changes.
2006-05-10made mesh's getFromObject pick the materials from object or obdata as set by ↵Campbell Barton
the objects colbits. its crufty that None of the exports currently export materials correctly, hopefully this will help.
2006-05-07Added a self shadowing script accessed from the vertex paint menu, it does a ↵Campbell Barton
fake ao thats more pradictable then radio baking and fairly fast. Also assed a function to calculate high quality normals (normals are the same even for different topologys).
2006-04-24fix removal of groups for non selected verts.Campbell Barton
removed debug prints
2006-04-24Added utility functions to BPyMesh.pyCampbell Barton
- dictWeightFlipGroups, return a vert weight with flipped group names. - dictWeightMerge, takes a list of dictWeights and merges them mesh_mirror_tool.py Added vertex weight support for the mirror tool, its able to mirror arbitary meshes weights with optional name flipping and creation of name flipped groups. This also uses the mode for l<>r, l>r, r>l so you can copy from left to right only for eg.
2006-04-11Moved ngon creating function from obj_import into BPyMesh so other importers ↵Campbell Barton
can use it. Exporter free's mesh vertex data each run (was causing memory errors when exporting fluidsim meshes... poke ken for Mesh.Unlink() since many meshes are still created) Exporter had an indentation error also. Added an NMesh wrapper around Mesh for importers to use, so as to work around slow 1 by 1 adding of data. used in upcoming flt_importer update. Mesh cleanup now has the dangerous option to perform a cleanup on ALL mesh data. (needed it for a project)
2006-04-07Did some changes to the getMeshFromObject wrapper.Campbell Barton
Made obj_export use getMeshFromObject obj_export now copies images from mtex as well as texface when copy images enabled. obj_export tested to work with exporting fluidsim animations (somebody reported it was broken, must have been fixed at some point?)
2006-04-05Added BPyMesh for mesh python mesh functions.Campbell Barton
at the moment it only has meshWeight2Dict and dict2MeshWeight These allow you to deal with vertex weights as a list of dicts which makes scrips short and easy to understand. (kh_python, perhaps dict access to the python verts could replace this ) Used the above util functions to update mesh_cleanup. Copied from the source 'Material Clean', 'Remove unused materials.' 'VGroups' 'Group Clean', 'Remove vertex groups that have no verts using them.' 'Weight Clean', 'Remove zero weighted verts from groups (limit is zero threshold).' 'Weight Normalize', 'Make the sum total of vertex weights accross vgroups 1.0 for each vertex.' Normalizing lets you see how much % of the vertex a bone owns just by looking at 1 of the bone weights. Would be nice to have this functionality in Blender but theres not much room for new buttons in teh vgroup and material area :/