官术网_书友最值得收藏!

Procedural generation versus random generation

I'd like to make a distinction before we go any further. In this book, we're going to talk a lot about procedural generation and random generation. These terms are often used interchangeably, but they are not the same thing. Therefore, let's take a moment to define them.

Procedural generation

Procedural generation is the process of creating content using an algorithm. This in itself has no element of randomness. If the functions, expressions, algorithms, and inputs that are used to generate the content remain the same, then you'll always get the same results. This is due to the fact that computers are deterministic, which is something that we'll cover shortly. Procedural generation is not inherently random.

Random generation

Randomness is induced when we give these algorithms different inputs or alter their expressions. This variance is what creates the variety of the output. When someone says something was procedurally generated, they usually mean procedurally generated utilizing randomness.

主站蜘蛛池模板: 望城县| 额尔古纳市| 无锡市| 定南县| 秭归县| 建瓯市| 益阳市| 绍兴市| 肥乡县| 吐鲁番市| 盐源县| 霍州市| 宜州市| 仙居县| 松原市| 玉门市| 兴仁县| 甘德县| 曲阜市| 峨边| 沁源县| 石嘴山市| 尼勒克县| 抚宁县| 吴江市| 和龙市| 云南省| 建昌县| 绥芬河市| 外汇| 班玛县| 夏河县| 定安县| 锦屏县| 水富县| 湘潭县| 黄山市| 咸丰县| 长阳| 城固县| 青田县|