@MK830- thanks a lot.
This morning carrying on with the implementation of the map splitter and various values to get the map to split into sections. At the moment just working on test code to get the map to split vertically to the left and right using lowest and highest values. Had to add the water level value to get the highest level to display correctly in GameGuru. The HM2GG preview terrain not quite right yet to mirror GG terrain, but probably just needs a minor tweak. I was thinking of adding a "gap" size between maps so the user can actually see a split between each horizontal/vertical split. So, for example if you load in an image and want to split it 4 ways both horizontally and vertically you will be able to see each map as individual terrain without any low/high joins. If that makes sense.
Here's a small pic to show example so far of the vertical split but joined by the highest peak value (with water level value added). more pics to come. lots of experimenting going on to get this right and to interact with the GUI correctly.
Also thought about maybe just adding lines (with chosen gap width) to the actual input image...hmmmm....
Any thoughts/ideas welcome.
[update1: added 2nd pic which is a result of subtracting the water level value in the program, result is the right side of the terrain is submerged in water while the left side (at the moment) adds the water level value to the terrain. so some interesting results using negation will add some more flexibility to our GG terrains based on a single heightmap image. So will add more to the GUI to give the user more control on the result of the terrain based in simple selection of splitter options].
[update2: now added a little test code to insert a "gap" width or divider between the 2 split terrains vertically, see 3rd pic]
At the moment, this is all experimental as I want to see how flexible / customised we can get our terrains to look with the split options in place. I'm sure there's tons of things I can do with this. I would love to be able to get some sort of CSG cutting functionality going, will see how it all goes with the splitting first and get the app to work flawlessly (as possible).
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.