非欧几里得末日:当 pi 不是 3.14159 (2022) 时游戏会发生什么[视频]
Non-Euclidean Doom: what happens to a game when pi is not 3.14159 (2022) [video]

原始链接: https://media.ccc.de/v/mch2022-236-non-euclidean-doom-what-happens-to-a-game-when-pi-is-not-3-14159-

标题:经典游戏《毁灭战士》中数学不准确的意外后果。 在这个有趣的演讲中,MCH2022 的 Luke Gotszling 讨论了当 pi 等常见数学常数被错误表示时,对流行的第一人称射击游戏《毁灭战士》的影响。 虽然 pi (3.14159...) 被广泛接受为固定常数,但它在 Doom 代码中的实现却显示出不一致。 此错误可能会导致游戏中出现意外行为。 Gotszling 探讨了在 pi 和其他三角函数中使用错误值时产生的连锁反应。 他深入研究了在此类场景中应用非欧几里得几何所产生的潜在游戏可能性。 此外,他还阐述了使旧硬件能够有效渲染游戏所采用的优化策略。 最后,其他相关游戏及其有缺陷的数学资源将被共享,允许观众尝试他们的修改版本。

本文讨论了《毁灭公爵 3D》的各个方面及其与几何和编程一致性的关系。 作者将毁灭公爵的行为与随机错误进行了比较,并指出杜克可能代表非欧几里得几何。 然而,他们将 Doom Pi(一个几何概念)与真正的几何学区分开来,将其标记为更多“垃圾进,垃圾出”的场景。 他们提到了现代源端口以及将非凸几何形状转换为 Doom 引擎的较小凸扇形的过程。 文本还涉及欧几里得几何、扇形的概念以及《末日》关卡中凸性的重要性。 此外,它还引用了《星际迷航》的历史及其政治色彩。 文本最后讨论了游戏中数学和几何的演变以及各种系统的接受度。 作者建议探索拓扑学和相关学科,以进一步理解他们的想法。 最后,他们分享了花费大量时间玩涉及分形和门户的复杂游戏的回忆。
相关文章

原文
Non-Euclidean Doom: what happens to a game when pi is not 3.14159… - media.ccc.de

Luke Gotszling

Playlists: 'MCH2022' videos starting here / audio

We all know that the value of pi is a constant with a particular immutable value. Anyone who has done any graphical programming also knows that visual rendering relies not just on pi but trigonometry more broadly as well as other mathematical techniques. If we look into the source code of the first person shooter Doom we find that the value of pi used in the game is wrong. In this talk I will explore what happens when we subtly and not so subtly break math in the source.

Doom is a well known classic first person shooter game with source code released under the GPL in 1999. In this talk I will begin by exploring what happens to the game when we make the value of pi even more wrong. What about when we change other trigonometric functions and constants to incorrect values? How will our familiar understanding and ability to traverse this virtual world change when we do this. Are there any interesting gaming possibilities with non-Euclidean geometries? A brief segway will cover some optimization tricks made to enable the game to run well on hardware available at the time. At the end I will provide a link to other games and public source code repositories that also use an incorrect value of pi. Pointers will also be provided to allow the audience to compile their own incorrect math version of the game.

Download

Tags

联系我们 contact @ memedata.com