This has arisen from a question
Sethren asked a couple of days ago in another thread about Voronoi (Open Project: Voronoi):
http://forums.planetside.co.uk/index.php?topic=2616.15QuoteI wonder if you take Heightfield erode v3 to the "vori_test_4" you could have a type of Dome Dune/Network Dune.
My apologies to Sethren for being a little abrupt in my reply, it was the wee shall hours, I had work in the morning and I don't know anything about height fields I never use them.
I have started this a sa new topic because:
- The original thread has moved on a pace in the last 48 hours.
- I did a search and don't think using functions to generate heightfields has been discussed before.
- This is a general method.
As I said Heightfields are something I have not really looked at so I may be covering the obvious to those that use them regularly. Finding the way to connect the generator and operators was the trick.
First create the function network you want; for this example a simple sine function. Feed that function into a Displacement Shader then feed that into the Function input of your Heightfield Generate (Fig 1).
Generate the Heightfield and add operators as needed (Fig 2)
You can make the input function more complex to give a more natural result (Fig 3)
Finaly I used my own Voronoi clip and applied a default Heightfield Erode v3 (Fig 4)