Try searching for information about Constructive Solid Geometry. That lets you do boolean operations of shapes, so you could setup a ground mesh then subtract the spheres from it. You could also look into voxels, setup a big array of voxels for the terrain, then just start removing the voxels as the user digs. With voxels, you'd still need to look into some way of calculating the mesh from the voxels though, but there should be a lot of information about that online as well.
xycsoscyxMember Since 15 Aug 2005
Offline Last Active Today, 11:08 AM