Skip to content

Karios

Tech news

Support me 1

Gaming History Podcast (GR)

  • Gaming History – Επεισόδιο 26 – Psygnosis
  • Gaming History – Επεισόδιο 25 – Doom
Primary Menu
  • Home
  • Books
  • Shop
    • Browse Shop
    • Cart
    • Checkout
    • Orders
    • Account details
    • Lost password
  • Articles
    • All Articles
    • Games
    • DIY
    • Retro
  • Gaming History Podcast (GR)
  • Contact me
  • News

Someone got Doom in an SQL database

admin Posted on 17 hours ago 1 minute read
Someone got Doom in an SQL database

​1,300 lines of SQL querying renders accurate bitmapped views of Hell at 35 fps. 

“Rendering Doom in a database is obviously a bad idea,” Lukas Vogel writes in a lengthy blog post explaining how exactly he managed to render Doom using an SQL database.

OK, that’s not entirely accurate. The SQLDoom project uses a small Python client to handle input and output, drive the game’s timing, and display each frame to the screen. Behind that, a series of CedarDB tables tracks the game geometry and state, while about 1,300 lines of SQL queries spread across 89 common table expressions implement the game logic and generate 35 bitmap framebuffers per second.

In this, SQLDoom is a major improvement over Vogel’s previous DoomQL project, which last year set out to build “a multiplayer Doom-like shooter entirely in SQL.” Unfortunately, that effort ended up with raycasting-based, grayscale ASCII graphics that were more akin to the simplistic 90-degree-angled maps of Wolfenstein 3D. The newer SQLDoom, on the other hand, generates full-color 640×480 frames that look like they could have come from the original Doom executable.

Read full article

Comments

 Ars Technica – All content Read More

About The Author

admin

See author's posts

Post navigation

Previous: Amazon’s $1B plan to combat data center backlash draws more backlash
Next: Apple changes full-disk access permissions to curb abuse from AI agents

Related

The dawn of the age of the exoskeleton
  • News

The dawn of the age of the exoskeleton

admin Posted on 3 hours ago
Apple changes full-disk access permissions to curb abuse from AI agents
  • News

Apple changes full-disk access permissions to curb abuse from AI agents

admin Posted on 15 hours ago
Amazon’s $1B plan to combat data center backlash draws more backlash
  • News

Amazon’s $1B plan to combat data center backlash draws more backlash

admin Posted on 18 hours ago

Listen on Apple Music

You may have missed

The dawn of the age of the exoskeleton
  • News

The dawn of the age of the exoskeleton

admin Posted on 3 hours ago
Apple changes full-disk access permissions to curb abuse from AI agents
  • News

Apple changes full-disk access permissions to curb abuse from AI agents

admin Posted on 15 hours ago
Someone got Doom in an SQL database
  • News

Someone got Doom in an SQL database

admin Posted on 17 hours ago
Amazon’s $1B plan to combat data center backlash draws more backlash
  • News

Amazon’s $1B plan to combat data center backlash draws more backlash

admin Posted on 18 hours ago

If you are located in Europe, you can buy my new sci-fi fantasy book “Ground Zero” directly from me for a better price than Amazon.