Slope brush, an easy-to-use terrain editing Method

Source: Internet
Author: User

I downloaded a terrain editor from a foreigner and found that its rampbrush is very useful, so I also implemented it in my own editor. When using rampbrush, use the mouse to pick up two points on the terrain as the two ends of the brush, and set the width and intensity of the brush. The length of the brush is determined by the two points picked up. In the area covered by the brush, the desired height (a slope defined by the brush) is obtained by the difference between the two ends of the brush along the length of the brush ), then a mixture ratio is calculated based on the intensity and Gaussian distribution of the brush. The difference between the ground height and the expected height is calculated based on the mixture ratio, in this way, the height of the area covered by the brush approaches the slope direction defined by the brush.

The following are some of the effects that can be achieved by this tool. These effects are hard to be achieved using a general circular brush, and the workload is relatively large. Of course, to achieve good results, you must use other editing methods to deal with the details after using the slope brush.


Brush shape


Trenching


Bridging


Open


Qianshan

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.