|
Wolfenstein: Ray Traced is a research project from Intel Corporation that applied a ray tracing renderer to the game content of . The possibility of using ray tracing for this game in real-time has been demonstrated with a cloud-based rendering approach. After Quake 3: Ray Traced, Quake 4: Ray Traced and Quake Wars: Ray Traced this is the fourth large project that embeds this real-time ray tracing in a modern game to research alternative rendering algorithms. Since 3D graphics hardware accelerators have become popular in regular desktop computers, the rendering algorithm of commercial computer games has been limited to rasterisation technology, which has certain advantages, but also limitations. Another public ray traced game would not show up again until Battlefield V over eight years later in November 2018. Hardware setup The project has been demonstrated at the Fall Intel Developer Forum 2010 using a cloud-based gaming approach. A ray traced image is calculated on four machines, each containing a prototype of Intel's Knights Ferry card. That image is sent to a thin-client (small laptop) over Gigabit Ethernet. The client sends updates of the game states to the servers. Improvements through using ray tracing * Highly complex geometry: The original game content is enhanced by using more detailed geometry in some places. One example is the chandelier model, which consists of about one million triangles. That model alone has therefore three times the polygon count of the rest of the original game level. Because ray tracing uses spatial acceleration structures over the geometry, it is possible to efficiently render highly detailed, static models. * Glass: The added chandelier model uses a ray traced glass shader that accurately simulates reflections and refractions as they happen in nature. Rendering glass is usually considered an expensive effect because one ray hitting the glass surface spawns two more rays (reflection and refraction). * Surveillance station: In one room of the level, a surveillance station has been added that shows twelve different parts of the game level at the same time—all updated in real time. Through using ray tracing the performance impact is from the total size of the screens seen from the current position, not so much from what those screens display. That allows having a large number of different views at the same time, compared with traditional rasterized games that usually show only one or two of those at the same time. Such a surveillance station could enhance the gameplay by quickly providing the player with information about his enemies. * Reflecting scope: The lens of the game's sniper rifle has been changed to show physically correct reflections of the environment behind the player. To achieve this in a traditional rasterized renderer, another view would have been needed to be rendered, stored in a texture and projected back onto the lens. In a ray tracer this effect can be achieved efficiently because it requires only as many reflection rays as there are visible pixels on the scope. This could also be a gameplay-enhancing features because it provides the player with information about what is happening behind him, such as an approaching enemy. Challenges using ray tracing Performance There cannot be an apple-to-apple performance comparison between the original and the ray traced version due to the additional special effects, but in general the frame rates on the original, rasterized version are higher; usually over 100 frames per second on high-end graphics cards of 2010. The reported performance numbers in a resolution of 1280 x 720 of the ray traced version in the cloud-based setup are 40-80 frame/s (depending on the scene) for a small laptop that displayed the game in a public demonstration. Particles Many games are displaying effects like smoke and fire over particles. Those particles consist of a quad (two triangles) with a partially transparent texture. Usually those quads are aligned with the camera during rendering. By layering many of these quads, the illusion of a volumentric effect is achieved. Obtaining the same effect by ray tracing requires the ray to proceed from the first hit on the quad through several more layering quads. Therefore, such an effect can be very performance-intensive to calculate.
|
|
|