I had a bit of a brainstorm today: it involved using this blendmap to create overlays to add terrain features. However, I ended up crashing L3DT, so I will go through the process I went through.
I had initially thought I could use overlays, as per
this tutorial, but I soon realized that this can only be done with the Design Map (DM), and since I wanted to use this on real-world terrain, it wasn't doable (or am I wrong??).
Anyway, I created an oval shape in GlobalMapper (GM) to simulate a hill (one could use contours in GM, but I decided to keep it somewhat simple at first). I exported a frame for my whole area (black, to be set to 0m elevation in L3DT) and then exported my oval shape as a white feature. I then combined both, exported as a PNG, brought this into L3DT as a heighfield and set the horiz resolution to match my real-world heightfield (4096x4096) and set the maximum height to be 10m. My reasoning for this: due to the crappy terrain data that I used (basically SRTM), my terrain is quite smooth (even though it is in a mountainous area), but I don't want to add unrealistic terrain features, so I determined that 10m maximum would keep things realistic.
I modified the BlendHeightfield graph script to have all of the different possibilities (add, substract, max, min, multiply), and saved each with its own name. I am taking a guess here, and I may be completely wrong, but it is this: if I use BlendHeightfield map (with the add modifier), in conjunction with my original terrain, use the HF that I created from my GM export, and then either used a completely white mask (i.e allow the whole terrain to be modified, albeit 99% will have an "add 0m" to it, with my oval shape (max height 10m) being added to only that one area) or the very same mask that I used to create the heightfield (black, with a white oval (which would allow the exact same sized area to be modified). In theory, this all sounds great. In execution, however, I end up crashing L3DT. It goes through all the processes correctly, and then it ends up crashing ( I believe it is at the point that it would be refreshing the HF (i.e the last part of the graph: "6: SetprojectMap; Redraw view)). It is the first time I can recall L3DT crashing, BTW.
I tried changing the graph to not re-draw the view (in the graph editor, changing the boolean value to false). I am not much of a scripter/coder/whatnot, but I was able to figure out how to at least modify these values, so hopefully I didn't botch things. I still end up with L3DT crashing, so perhaps it is not getting to that point (refreshing HM). I will send you the log.txt in an email so you can see where things are going wrong.
Allan