Ok, just to make it available here as well, here was my suggestion… It’s most a repetition of what Stephen said, but this one has more details in case anyone doesn’t get it right at first… I also metion a caveat for it…
So to answer your second question, do the following in Worldmachine:
- create a “Displacement” filter device and a “Constant” generator device.
- set the constant device’s parameter (height) to 1 (double-click the device to do that)
- connect your terrain (for instance a File Input that reads your .r32 file) to the first port (primary input) of the displacement device, and connect the constant generator to the second port of the displacement.
- Check the preview display to see if that is what you want and how you want it: Double-click the displacement device to specify a different direction or any other parameter… Oh, and don’t forget to set the strength parameter to 1, otherwise it won’t do anything.
By now you should have the right half on the left side the only thing left to do is to eliminate the repeeated heights where you what to make it flat. To do that, the simplest way (*) is to get a gradient and use a height-selector to select the right half to be “painted” flat, and then use a chooser to choose between the terrain and the “flat stuff”. Ok do it like this:
- Get a gradient: set it’s direction so that the up-slope points to the direction of the half you whant to make flat (this probably corresponds to Direction=0)
- Get a height selector, that selects from .5 to 1 with no fuzziness (double click the selector, and move the right slider all the way up, then move the fuzziness slider all the way left and click OK.
- voila, you should see a chcolate-and-cream vertical bars on your preview, yammy
Ok, so where are we? we have a terrain with one half to be flatted, and we have something that can be used to choose what gets flatted and wht doesn’t. Now we need to combine these things using: a chooser!
Right, create a choose device, and another constant generator. Set the constant’s parameters so you get the desired height for your “flatness”. Connect your terrain (the half-one) to the first port of the chooser. connect the constant device that will be the “flat stuff” to the second port of the chooser. Finally conect the selector device to the chooser’s third port…
Bingo! This should be it! use a file output device to save your result, and the half-flat half-ok terrain recepy should be finished!
(*) the caveat of this approach is that it assumes it is HALF a terrain you what to make flat… If you decide in the future to make it only 1/3 of the terrain, you have to change this tmd, in two places: the displacement and the selector… (to avoid this, one could displace the result of the seletion of the gradient in a simmillar manner as to the original terrain)
Any problems or any questions post again