Destructable enviroments (Digging)

I’ve been faced with a challenge.

http://www.datarealms.com/games.php

Create that game, above, in a 3D environment.

Everything seems possible so far, except one massive problem, Digging.

I would like to create a destructible environment that players could shoot (digging guns) and find gold for buying game pieces. The users could create tunnels and bases on their own. Dig Dug 3D.

Any idea how one would go about this? I’ll continue my search.

When I read destructible environment, I must always think of Minecraft or Voxelterrain. This approach is most likely the easiest from all, because it’s all made of cubes. But there should be another solution too. I remember in “Red Faction” it was possible to shoot holes and tunnels. Guess it works like that:

  1. a bullet or rocket will simply delete all vertices (and thereby faces) of the terrain polygon where it hit (the bullet only a small radius, an explosive a larger radius)
  2. after destruction a sphere shape will be placed into the destroyed terrain which must aligns with the edges of the terrain hole at each place.
  3. build new terrain faces depending on the spherical helper and texture them. In Red Faction a hole always had the same brown/black textures

I don’t think this is an easy task to accomplish, because there are certainly situations which will cause a headache.

At least i have a mental image to start with. I’ll see what i can do with that. thanks for your help!