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

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.

主站蜘蛛池模板: 鹿邑县| 两当县| 阳曲县| 会同县| 翁源县| 确山县| 新源县| 红原县| 高平市| 疏附县| 大冶市| 竹北市| 亚东县| 通许县| 闵行区| 汕尾市| 枣庄市| 米林县| 澎湖县| 左云县| 盖州市| 师宗县| 巴林左旗| 潜江市| 元阳县| 临洮县| 库车县| 太谷县| 潜山县| 莱阳市| 年辖:市辖区| 黎川县| 湛江市| 泰兴市| 固镇县| 长宁区| 酉阳| 柯坪县| 资兴市| 洪湖市| 抚宁县|