Path tracing has been the ‘gold standard’ for 3D graphics since the late 80s. Now NVIDIA’s doing it live.
The original concept of «ray-tracing» for 3D images actually dates all the way back to the 16th century, but the first description of the idea in computer graphics was created in 1969. That earliest algorithm was very basic and only an approximation. Ray-tracing went through various evolutions over the years until, in 1986, Jim Kajiya presented a paper called «The rendering equation and its use in computer graphics.» In just seven pages, Kajiya described a way to mathematically compute the physical properties of light, and it was this revelation that transformed 3D rendering. Kajiya described his method as «path tracing.» It can be considered an evolution of simple ray tracing. Getting good quality out of a path tracer requires casting billions of rays. Until relatively recently, it was considered to be a completely impractical approach for real-time rendering, but it has been used in films and other offline-rendered computer graphics for over 15 years. The advantage of path tracing is that it is a «unified» rendering algorithm. This means that you don’t have to compute separate lighting effects like ambient occlusion, reflections, soft shadows, and so on. All lighting is done through the path tracing algorithm. This has its disadvantages, too, particularly when trying to compute path tracing on modern GPUs that are largely optimized for traditional rasterization workloads, but it is overall a huge net gain for image quality and for artists. Well, NVIDIA wants full-quality cinematic path-tracing in real-time, and at GTC 2022, the company showed off something very close to that. By combining its RTXGI and RTXDI SDKs into a customized «research renderer», NVIDIA’s graphics scientists have been able to achieve results that can be fairly-well described as «incredible.» These are scenes with up to three billion triangles that are fully path-traced—no rasterization—being rendered at «interactive» frame rates despite the renderer using up to thirty bounces per ray. Some of example scenes have as many as five-hundred thousand «mesh lights,» essentially individual polygons that are light sources. While these scenes don’t necessarily look photographic, they’re an entire grade above anything that you’ll see in a video game in 2022. NVIDIA’s researchers are also quick to admit that there’s more to be done before this path-tracer can completely replace rasterized renderers. Because much of the optimization is based on discarding the most difficult work, very difficult scenes are still slow and ugly. Likewise, certain effects, like volumetrics, play hell with the algorithms. You can see in the image below how the fog looks stippled and noisy. You can also check this NVIDIA blog post to learn more about path tracing in general. You aren’t likely to see scenes of this complexity in games any time soon—most of these scenes are barely scraping 30 FPS on a GeForce RTX 3090 —but these rendering techniques are already available to developers with the full-source RTX Direct Illumination (RTXDI) and RTX Global Illumination (RTXGI) SDKs. Folks working in Unreal Engine can also grab binary plug-ins for that toolkit. If you have PowerPoint—and you’ll need the real thing, Google Docs barfs on the file—you can head to NVIDIA’s site and download the full 660 megabyte presentation to see the videos for yourself, but if you don’t, you can check out smaller, compressed versions on Green Team researcher Aaron Lefohn’s Twitter. You can also check this NVIDIA blog post to learn more about path tracing in general.
Домой
United States
dc3 United States IT in english pdf Forget Old School Ray Tracing, NVIDIA Demos Stunning Real-Time Path Tracing