in

What Is Ray Tracing? Here’s Everything You Need to Know

[ad_1]

NVIDIA Unveils GeForce RTX, World’s First Real-Time Ray Tracing GPUs
Nvidia

Nvidia’s RTX 2000 graphics cards introduced ray tracing to the world of gaming in the latter half of 2019, but today there are a variety of RTX and GTX cards that support it. The fancy new lighting technique is a serious resource hog, meaning that the more expensive and modern cards handle it best, but most Nvidia graphics cards from the past few years can take a crack at its real-time reflections and shadow effects.

But what is ray tracing? And is it really worth upgrading for?

Virtual photons

Graphics technology is usually hard to explain, but ray tracing is rather simple. It attempts to emulate the way light works in the real world. Instead of creating pre-designed, or “baked-in” lighting for scenes in games, ray tracing traces the path of simulated light. Or, rather, millions of simulated lights, or photons. The light bounces off objects as it moves and interacts with their properties. If it bounces from a glossy green surface, for instance, its hue may change.

That’s essentially how light works in real life. A particle of light bursts forth from its point of origin and travels along until it interacts with an object, at which point its path is determined by that object’s properties. It might be absorbed by a dense, dark object, or almost entirely reflected by a mirror.

Ray tracing’s fundamental similarity to real life makes it an extremely realistic 3D rendering technique, even making blocky games like Minecraft look near photo-realistic in the right conditions. There’s just one problem: It’s hard to simulate. Recreating the way light actually works in the world is complicated and resource intensive, requiring masses of computing power. Even Nvidia’s ray tracing rendering isn’t true ray tracing, whereby every point of light is simulated. Instead, it uses a number of smart approximations to deliver something that’s close to the same visual effect, but without being quite as taxing on the hardware.

Most ray tracing games now use a combination of traditional lighting techniques, typically called rasterization, and ray tracing on specific surfaces such as reflective puddles and metalwork. Battlefield V is a great example of that. You see the reflection of troops in water, the reflection of terrain on airplanes, and the reflection of explosions across a car’s paint. It’s possible to show reflections in modern 3D engines, but not at the level of detail shown in games like Battlefield V when ray tracing is enabled.

Ray tracing can also be leveraged for shadows to make them more dynamic and realistic looking. You’ll see that used to great effect in Shadow of the Tomb Raider.

Ray-traced lighting can create much more realistic shadows in dark and bright scenes, with softer edges and greater definition. Achieving that look without ray tracing is extraordinarily hard. Developers can only “fake” it through careful, controlled use of preset light sources. That takes a lot of time and effort — and even then, the result isn’t quite right.

Some games go the whole hog and use ray tracing for global illumination, effectively ray tracing an entire scene. But that’s the most computationally expensive and needs the most powerful of modern graphics cards to run effectively. Metro Exodus uses it currently, but its implementation isn’t perfect.

Because of that, half-measures like only ray tracing shadows or reflective surfaces are popular. Others leverage Nvidia technologies like denoising and Deep Learning Super Sampling to improve performance and to cover up some of the visual hiccups that occur from rendering fewer rays than would be necessary to create a truly ray-traced scene. Those are still reserved for pre-rendered screenshots and movies where high-powered servers can spend days rendering single frames.

The hardware behind the rays

To handle even these relatively modest implementations of ray tracing, Nvidia’s RTX generation of graphics cards introduced hardware specifically built for ray tracing. The Turing architecture uses the company’s RT Cores to handle the technique in real time. They aren’t strictly necessary for ray tracing, as ray tracing effects can be run on GTX 10-series and 16-series graphics cards, though they are far less capable than top-tier RTX cards like the 2070, 2080, and 2080 Ti, all of which have RT cores.

Nvidia released a breakdown of generating a single frame of Metro Exodus in April, where it showed how the rendering pipeline is laid out and how it is affected by ray tracing. While an RTX 2080 and GTX 1080 Ti might be roughly comparable in performance for non-ray traced games, when ray tracing is applied to a scene, it can take much longer for the 1080 Ti, without the dedicated RT cores, to generate the same image.

That’s why even the most powerful of GTX graphics cards like the 1080 Ti really struggle with ray traced games at anything above 1080p. But RT cores aren’t a silver bullet. Even the 2080 Ti, the world’s most powerful consumer graphics card with the most RT cores, struggles to hit 60 fps or more in games like Battlefield V or Metro Exodus with ray tracing enabled at 1440p. This is a card that without ray tracing enabled is able to deliver high frame rates at 4K.

But it doesn’t have to be this way. Nvidia’s ray tracing method isn’t the only option out there. There are also Reshade “path tracing” post-processing effects that deliver comparable visuals without anything like the same performance hit.

You’ll still want a powerful graphics card for ray tracing no matter the implementation, but as the technique catches on with game developers, we may see a broader array of supporting hardware at much more affordable prices.

What about AMD?

As it stands, AMD graphics cards don’t offer any kind of ray tracing acceleration, but that doesn’t mean they can’t do it, and it won’t stay that way forever. Crytek released a demo called Neon Noir in 2019, which showed high-level ray tracing effects on a $300 AMD RX Vega 56, running at a smooth 30 FPS. That’s hardly stellar, but it shows it is possible.

The RX 5700 XT and Radeon VII are much faster than the Vega 56, and can deliver much better frame rates because of it. When AMD debuts its long-rumored “Big Navi” graphics card later in 2020, it will no doubt be that much better again. But it will also reportedly support hardware-accelerated ray tracing. It’s not clear whether it will work in the same way as Nvidia’s RT cores, or will be designed to offer ray tracing to a wider array of games, but the support will be there.

We also expect to see hardware-accelerated ray tracing in both next-generation consoles from Microsoft and Sony. Both of those systems will use AMD Navi graphics technology, so Big Navi may just be a hint of what will become mainstream ray-tracing GPUs in late 2020.

How can you see ray tracing at home?

The first port of call is getting an Nvidia graphics card, because at this time, publicly available ray-traced games require it. Any RTX or GTX card will do if you just want to see what a ray-traced scene looks like, but if you want to play at a resolution above 1080p and with frame rates approaching or exceeding 60 FPS, your best bet is with the most powerful — and therefore the most expensive — graphics card you can afford. A $1,000+ 2080 Ti isn’t necessary, but an RTX 2060 Super or 2070 is probably the baseline you want to aim for. That means spending between $350 and $550.

As for the games, the selection is still quite limited. The most fully featured implementations of ray tracing can still be found in the earliest of RTX demo games, like Battlefield V, Shadow of the Tomb Raider, and Metro Exodus, though newer games like Control, and MechWarrior 5: Mercenaries, are pretty great looking too. Stay in the Light is a new indie horror game built entirely around the use of ray-traced reflections and shadows, and you can play through a remastered Quake II with RTX ray tracing now too.

Other RTX ray-traced games planned for 2020 include Remedy Entertainment’s Control, as well as Mundfish’s Atomic Heart, among others.

You can test how ready tour PC is for ray tracing with UL Benchmark’s Port Royal ray tracing benchmark

Editors’ Recommendations






[ad_2]

Source link

Unexpected connection between gliomas, neurodegenerative diseases — ScienceDaily

Kajol Shares Pic Of The ‘Three Devis’ Of Her Life