- Home /
How would I procedarally generate a terrain?
I don't even know where to start looking. I heard something about using Perlin noise, but how?
Answer by Bravini · Nov 22, 2010 at 08:36 PM
Perlin Noise is http://www.unifycommunity.com/wiki/index.php?title=Perlin_Noise
Although you can find road and terrain generators for unity, I couldn't find a free one yet. Except for http://www.unifycommunity.com/wiki/index.php?title=MazeGenerator that is not fully finished yet.
Ah, thanks for the Perlin noise link. But how exactly would I implement a random terrain generation feature using it?
there are a few paid scripts that use it to generate a random position for object prefabs, but it's a complex script, so you might consider buying if you depend on it for your application.
You don't need to buy packages to make a simple implementation of Perlin noise. Take a look at my question here: http://answers.unity3d.com/questions/298703/perlin-noise-continuous-through-different-objects.html. I've made a simple use of the Perlin function from the Unity Procedural Examples. I think it is a good starting point.
Answer by fireDude67 · Nov 22, 2010 at 08:50 PM
I would try using TerrainToolkit, available from the Resource -> Extensions part of the main unity site. Then you could use the API to create the terrain at runtime.
Your answer

Follow this Question
Related Questions
2D Procedural Terrain with SpriteManager 0 Answers
How can I get a Low Poly terrain to work in Unity? 2 Answers
3d Perlin Noise? 3 Answers
Procedural terrain generation ? 0 Answers