APC

THE GRAPHICAL UNION ADDRESS: NOW WITH MORE RAY TRACING

Over two years ago, Nvidia surprised nearly everyone by announcing that its next-gen Turing architecture would feature the holy grail of computer graphics: Ray tracing (RT). It’s a technique that’s been around for decades, and the movie industry makes extensive use of it these days – or at least it did, back when movies were still being made, and we could go out to watch them. The thought of getting hyper-realistic visuals in games that could rival the latest blockbusters sounded too good to be true, and it was. Today, we have Nvidia’s second generation of RT hardware in the Ampere architecture, and AMD has joined the fray with its RDNA2 GPUs. It’s time for a State of the Union address on the subject of ray tracing in games...

A brief overview of RT Effects

We’re not going to dig deep into the details of how RT works – that’s familiar territory by now. The short summary is that it involves calculating the projection of lines (rays) into the geometry of a scene to figure out what polygon the ray intersects, and then depending on the material properties of that polygon, additional rays can be cast. Ultimately, the results of all those individual rays are then combined to determine the final colour value for a pixel.

While it might seem like a single ray per pixel would suffice, it doesn’t really get the job done. Each bounce counts as a new ray, and there are different types of material and ray calculations that need to be done. The main takeaway is that fully ray-traced scenes in movies can use hundreds or even thousands of rays per pixel, and take hours of rendering time per frame. That’s many orders of magnitude slower than what we want from PC games. Even a relatively “fast” rendering time of 10 minutes per frame in a movie is still about two million times slower than a PC game running at 60 frames per second.

The trick for real-time ray tracing is to find a compromise between quality and performance. GPUs containing RT hardware

You’re reading a preview, subscribe to read more.

More from APC

APC3 min read
MSI Modern 14 H
PRICE $1,599 WEB au.msi.com The MSI Modern 14 H is a low cost, business focused laptop that aims for bang for buck over packing in every last feature. The laptop has a 14” frame, 31.4 x 23.6 x 1.9cm dimensions and weighs 1.6kg, so is quite portable
APC3 min readSecurity
Bitdefender Total Security
Direct price: 5 devices, $99.99 | bitdefender.com.au Bitdefender makes reliable, easy-to-use antivirus software that doesn’t hog your system resources and doesn’t bother you. This applies to all versions, from its free antivirus to the parental-cont
APC3 min read
Make Windows better
Apple has been phasing out iTunes since 2019, and has now officially launched Windows apps on the Microsoft Store that replace the service – having initially made them available in beta in early 2023. In Apple Music (pictured above) you can access so

Related Books & Audiobooks