Monday, 11 February 2013

DirectX Randomized Terrain Generation


Started implementing procedurally generated terrain when the space bar is pressed for my directX module. I wrongly assumed that the code to procedurally generating stuff would be long and complicated. But you can produce basic mountains with only 2 functions. Randomly generating the terrain was literally as obvious as using a random number generator on the y axis.  Mine are really spikey/ridged mountains so I want to add some smoothing to make them look more realistic.

No comments:

Post a Comment