Unity Terrain Height Map Generation method

Source: Internet
Author: User

The terrain (terrain) Height map generation method in unity can be summarized in 3 categories: manual Drawing

Manually draw the terrain directly from the tools provided by Unity's terrain, so that it can be exported to a height map in raw format, this is nothing to say, no message ... PS and other tools generated

There are already ready-made tutorials that are not described in detail. The old rule portal is as follows:
PS Generation Height Map
Of course you can also use other build tools to generate the height of the raw format on the line. Adjust height map by noise

The noise fills the height map, can create the terrain by moving the graph, then attach the texture, can produce the more realistic terrain.

Here noise can be obtained through the Libnoise library, recommended to see the document (Libnoise)
. NET version connections (. NET libnoise)

General idea: Provide data through the noise source, then generate a height map, generate terrain in unity, let the post-assignment height map, the process is completely controlled by the code.
The entire detailed process can be see (libnoise generate height graph raw)

Currently summed up these three kinds, of course, there may be other, if you know welcome message exchange.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.