Holes In Heightmaps Possible?
Holes In Heightmaps Possible?
Is it possible to use image heightmaps to render terrain and turn around and map in some holes. Reason for doing this would be to make sewer systems, caves, and dungeons without a loadzone. I was trying earlier today with all different image formats to test this. GIF images for some reason won't load in irrlicht, and TGA would represent Transparencies as WHITE space. Is there a way to make Transparent spots in a heightmap to allow strategic hole placement in terrain. Or do I just have to model my entire terrain and load it as a .x, .obj, or .3ds model into the game?
Well yeah, there's a few ways to do it. The best would be a terrain algorithm which would support holes in terrain. Could make it so you could load an 8 bit "alpha map", and where the transparency is 0, you could make a hole or something. I've been thinking about things like that, but other things are taking precedence for me right now.