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

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.

主站蜘蛛池模板: 凤山市| 鄂伦春自治旗| 通化县| 陇西县| 文成县| 溆浦县| 广灵县| 晋宁县| 鲁甸县| 普兰县| 盈江县| 双辽市| 根河市| 卫辉市| 永泰县| 仙游县| 桓仁| 拉孜县| 汶川县| 陈巴尔虎旗| 开封市| 金塔县| 成武县| 奇台县| 凤城市| 伊宁县| 申扎县| 霍邱县| 玉田县| 阳春市| 临江市| 新余市| 平湖市| 麦盖提县| 翁源县| 木兰县| 大邑县| 馆陶县| 乌海市| 洛阳市| 新巴尔虎右旗|