Blender Git Loki
Git Commits -> Revision 134935a
Revision 134935a by Brecht Van Lommel (master) November 25, 2009, 13:40 (GMT) |
Sculpt: Grid based PBVH * PBVH can now be created contain both from face grids or standard meshes. The former is much quicker to build for high res meshes. * Moved some drawing code into pbvh (mostly for the frustum test). * Moved ray intersection code into pbvh. * GPU buffers also can be built from either mesh or grids now. * Updated sculpt code to work with this. The ugly part is that there is now a macro for iterating over vertices, to handle both cases, and some duplicated code for e.g. undo. * Smooth brush does not work yet with grids. |
Commit Details:
Full Hash: 134935a8db7fe6137bb8a508771757beeb68b2b3
SVN Revision: 24885
Parent Commit: a1bf207
Lines Changed: +969, -501
7 Modified Paths:
/source/blender/blenkernel/intern/cdderivedmesh.c (+2, -71) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+6, -7) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+102, -8) (Diff)
/source/blender/blenlib/intern/pbvh.c (+406, -81) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+326, -317) (Diff)
/source/blender/gpu/GPU_buffers.h (+7, -3) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+120, -14) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+6, -7) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+102, -8) (Diff)
/source/blender/blenlib/intern/pbvh.c (+406, -81) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+326, -317) (Diff)
/source/blender/gpu/GPU_buffers.h (+7, -3) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+120, -14) (Diff)