2022 - Non-Euclidean Doom: what happens to a game when pi is not 3.14159…

WHY2025 July 24, 2022
Video Thumbnail

About

No channel description available.

Latest Posts

No results found. Try different keywords.

Video Description

Since this is a very popular video; did you know the follow up Dutch Camp where we have talks like this is coming August this year?! August 8-12 2025, 42 KM above Amsterdam. Please visit www.why2025.org to find out more and get your tickets! https://media.ccc.de/v/mch2022-236-non-euclidean-doom-what-happens-to-a-game-when-pi-is-not-3-14159- 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. Luke Gotszling https://program.mch2022.org/mch2022/talk/ZM99EG/ #mch2022 #MCH2022Curatedcontent

You May Also Like

Essential Game Dev Tools

AI-recommended products based on this video

Loading...
NOCO Boost GB40: 1000A UltraSafe Jump Starter – 12V Lithium Battery Booster Pack, Portable Jump Box, Power Bank & Jumper Cables - for 6.0L Gas and 3.0L Diesel Engines
Best Seller

NOCO Boost GB40: 1000A UltraSafe Jump Starter – 12V Lithium Battery Booster Pack, Portable Jump Box, Power Bank & Jumper Cables - for 6.0L Gas and 3.0L Diesel Engines

(117,789)
$99.95$75.43
FREE delivery Sun, Sep 21
30K+ bought in past month
Loading...
NPOOYI Carrying Case Compatible with Nintendo Switch OLED 2021/2017, Hard Shell Protective Switch Travel Case with Pockets and Game Holder for Console Joy-Con & Accessories, Wild Flower

NPOOYI Carrying Case Compatible with Nintendo Switch OLED 2021/2017, Hard Shell Protective Switch Travel Case with Pockets and Game Holder for Console Joy-Con & Accessories, Wild Flower

(146)
$13.29
FREE delivery Mon, Jun 16 on $35 of items shipped by Amazon
50+ bought in past month
Loading...
COOWPS Switch Case for Nintendo Switch and Switch OLED Model, Portable Full Protection Carrying Travel Bag with 18 Game Cards Storage for Switch Console Pro Controller Accessories Black

COOWPS Switch Case for Nintendo Switch and Switch OLED Model, Portable Full Protection Carrying Travel Bag with 18 Game Cards Storage for Switch Console Pro Controller Accessories Black

(2,497)
$24.99$22.99
FREE delivery Mon, Jun 16 on $35 of items shipped by Amazon
800+ bought in past month
Loading...
Game Traveler RDS – Officially Licensed Nintendo Switch Deluxe OLED, Nintendo Switch, & Switch Lite Case - Purple Ballistic Nylon, Viewing Stand, & Bonus Game Cases, #1 Selling Case in USA

Game Traveler RDS – Officially Licensed Nintendo Switch Deluxe OLED, Nintendo Switch, & Switch Lite Case - Purple Ballistic Nylon, Viewing Stand, & Bonus Game Cases, #1 Selling Case in USA

(19,067)
$14.99$13.57
FREE delivery Mon, Jun 16 on $35 of items shipped by Amazon
3K+ bought in past month
Loading...
TZGZT [Longest Durable] Travel Carrying Case for Nintendo Switch 2 2025, Large Volume Accessories Bundle Holder, 2 Screen Protector, Hard Protective Cover Estuche Funda with 12 Game Cards, Black

TZGZT [Longest Durable] Travel Carrying Case for Nintendo Switch 2 2025, Large Volume Accessories Bundle Holder, 2 Screen Protector, Hard Protective Cover Estuche Funda with 12 Game Cards, Black

(488)
$16.84
FREE delivery Wed, Jul 2 on $35 of items shipped by Amazon
9K+ bought in past month