In this chapter, we’ll explore terrain generation methods by building a generator in Blender python with the help of numpy. In the first part of the chapter, we’ll go over noise-based methods including value noise with uniform sampling, value noise with noise basis functions, fBm, and the diamond-square algorithm. In the second part of the chapter, we’ll discuss fractal-based methods, such as hybrid multi fractal, multi fractal, and hetero terrain functions. Whether noise or fractal-based, all the generation methods output a grid of elevation values called a height map; therefore, we’ll design the generator so that functionalities common between algorithms, such as interpolation, creating mesh data, and adding modifiers, etc., are implemented once and shared among them.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Fractal Terrain Generation

  • Isabel Lupiani

摘要

In this chapter, we’ll explore terrain generation methods by building a generator in Blender python with the help of numpy. In the first part of the chapter, we’ll go over noise-based methods including value noise with uniform sampling, value noise with noise basis functions, fBm, and the diamond-square algorithm. In the second part of the chapter, we’ll discuss fractal-based methods, such as hybrid multi fractal, multi fractal, and hetero terrain functions. Whether noise or fractal-based, all the generation methods output a grid of elevation values called a height map; therefore, we’ll design the generator so that functionalities common between algorithms, such as interpolation, creating mesh data, and adding modifiers, etc., are implemented once and shared among them.