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
- Canada Prime Minister Mark Carney announces questionable national AI strategy
- Kevin O’Leary agrees to downsize massive Utah data center
- This HP Omen 16 deal with RTX 5050 graphics is a steal for video editing — and I can’t find it cheaper anywhere else
- Amazon’s new plan for games: James Bond and AI Snoop Dogg
- How to watch France vs Ivory Coast: FREE streams, TV channels for World Cup 2026 warm-up
Archives
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- 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