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

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.

主站蜘蛛池模板: 托克逊县| 无为县| 农安县| 修武县| 恭城| 齐齐哈尔市| 根河市| 东安县| 印江| 孙吴县| 英德市| 晋城| 南宁市| 榆林市| 涟水县| 镶黄旗| 都昌县| 菏泽市| 竹溪县| 浏阳市| 婺源县| 连州市| 荆州市| 闽侯县| 扬州市| 扎鲁特旗| 肥城市| 额尔古纳市| 黎川县| 磐石市| 庆元县| 莫力| 容城县| 江川县| 林州市| 保德县| 澄江县| 宁海县| 米林县| 明溪县| 贵德县|