Blender Git Loki
Git Commits -> Revision 2e69b0c
Revision 2e69b0c by Nicholas Bishop (master) December 30, 2012, 18:28 (GMT) |
Add dynamic topology support to the PBVH * Add BLI_pbvh_build_bmesh(), similar to the other PBVH builders but specialized for BMesh. Whereas the PBVH leaf nodes for mesh and grids only store a start-index and count into the primitive indices array, the BMesh version uses GHashes to store the full set of faces and vertices in leaf nodes * Update PBVH iterator to handle BMesh * Make some of the pbvh.c functions non-static so they can be used by the new pbvh_bmesh code * The BLI_pbvh_bmesh_update_topology() function is the main reason for adding BMesh support to the PBVH. This function is used during a sculpt stroke to dynamically collapse edges that are particular short and subdivide edges that are particularly long. |
Commit Details:
Full Hash: 2e69b0cd0b26fb1e641536de5a81a02f4478065c
SVN Revision: 53441
Parent Commit: 2c9d22f
Lines Changed: +1582, -22
1 Added Path:
/source/blender/blenkernel/intern/pbvh_bmesh.c (+1414, -0) (View)