It turns out that ray tracing on a 42-year-old computer is actually possible, if you’re willing to wait 17 hours for each frame to load


We hear the term ‘ray tracing’ thrown around more and more these days, being one of the features almost synonymous with modern, best-in-class visuals. It’s a rendering method that allows shadows and light to be portrayed in a more realistic, lifelike way, and is included as a graphics option in many current-generation games. Needless to say, it’s probably not the sort of technology that you’d imagine a 42-year-old computer could even dream of running.
However, it turns out that the trusty ZX Spectrum, released by Sinclair Research back in 1982, was capable all along, at least with the brains of Google Zürich senior software engineer Gabriel Gambetta behind it. As spotted by Hackaday (via PC Gamer), Gambetta has shared how he managed to use the Spectrum’s in-built programming language, Sinclair BASIC, to get the computer to produce a shiny, ray-traced frame.
Before we get into it, it’s important to note that the ZX Spectrum has its limitations. As Gambetta notes, its processor is roughly 1,000 times slower than a modern-day computer, it has a whopping total of 48 KB of RAM, can display only 15 colors, and boasts a 256×176 resolution. Needless to say, if you’re expecting to see a beautiful, realistic screenshot from Cyberpunk 2077 come from it, that’s not going to happen, but what you can get is a still image of three colorful 3D objects with surprisingly detailed shadows.
Gambetta went through the entire process in a detailed post on his website. But in short, after porting over a ray-tracing code into Sinclair BASIC, and a lot of testing at higher resolutions and optimizations, his final test was able to produce an image that had him staring “in disbelief for a good minute.”
This final result still suffers slightly from attribute clash – you can clearly see that some of the red in the image bleeds over into the yellow (the blue and green do too, but less so). On top of that, it took around 17 hours to render, which amounts to, erm, about 0.000016 frames per second. Not the speediest output, then. Regardless though, given the computer’s limitations, this is certainly impressive, and a truly fascinating experiment – I’d encourage anyone interested to take a look at the whole thing on Gambetta’s website.
On the lookout for some new games to dive into? Be sure to check out our recommendations for the best PC games, as well as the best multiplayer PC games for some options to play with friends.
We hear the term ‘ray tracing’ thrown around more and more these days, being one of the features almost synonymous with modern, best-in-class visuals. It’s a rendering method that allows shadows and light to be portrayed in a more realistic, lifelike way, and is included as a graphics option in…
Recent Posts
- Adidas Promo Codes & Deals: 30% Off
- Volvo’s ES90 sedan will be built with a Nvidia supercomputer
- With the Humane AI Pin now dead, what does the Rabbit R1 need to do to survive?
- One of the best AI video generators is now on the iPhone – here’s what you need to know about Pika’s new app
- Apple’s C1 chip could be a big deal for iPhones – here’s why
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010