开发者_开发百科
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this questionSee title. Any help is appreciated!
Search for Perlin Noise and you should get some hints for Terrain Generation.
Libnoise has a very nice terrain example.
The book Texturing & Modeling: A Procedural Approach by Ebert, Musgrave, Peachey, Perlin, Worley has a couple of chapters about fractals and terrain creation. The book comes with sample code for fBm terrain creation written by Musgrave, using the Perlin noise function. I've used it for teaching as a reasonably simple program that's easy to play with.
Check Iñigo Quilez (expert in this specific field) tutorials here (terrain ray-marching) : http://www.iquilezles.org/www/index.htm http://www.iquilezles.org/www/articles/terrainmarching/terrainmarching.htm
He also has an awesome WebGL shader editor (shadertoy) and this specific example may also be of interest : https://www.shadertoy.com/view/XsX3RB
精彩评论