Software:Quake Wars: Ray Traced
Original author(s) | Intel Corporation |
---|---|
Type | ray tracing rendering engine |
License | proprietary? |
Website | www |
Quake Wars: Ray Traced is a research project from Intel Corporation that applied a ray tracing renderer to the game content of Enemy Territory. The possibility of using ray tracing for this game in real-time has been demonstrated first on servers and after further progress later on workstations[1] and last on an early prototype of the Larrabee hardware.[2] After Quake 3: Ray Traced and Quake 4: Ray Traced this is the third large project that embeds this technique in a modern game for research purposes of alternative rendering algorithms. A successor of this project Ray Traced has been created in 2010.
Since 3D graphics hardware accelerators have become popular in regular desktop computers the rendering algorithm of commercial computer games has been limited to the rasterisation technology that has certain advantages, but also limitations.
Improvements through using ray tracing
- Shadows: Besides the usual hard shadows that are easily generated by using a ray tracer this project also highlighted the benefits of getting plausible shadows through partial transparent objects. This has first been shown on a force field shader that changes transparency and color over time. The intensity of the shadows changes accordingly.[3] Another example of this is a windmill model with blue sails that project colored shadows.[4] As of 2009 no commercially released game has shown different intensity colored shadows from partial transparent objects.
- Water: Accurate, per pixel exact reflections and refractions have been shown on a dynamic water surface with wave simulation surrounding an island. In a traditional rasterizer these effects are only possible in a less accurate manner through generating separate reflection textures and usually some distortion algorithm that simulates a refraction-like behavior.
- Under water: Through simulating correct reflections and refractions the player is able to see the total internal reflection effect if he is under the water surface and looks up to the sky. (As of 2009), no commercially released game has shown this special effect.File:QWRT underwater.pngTotal internal reflection seen under the water
- Gameplay enhancing: 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. Enabling this effect in the ray tracer had only a 1% performance impact on the frame rate.[5]File:QWRT lens.pngReflecting scope of sniper rifle
- Glass: To demonstrate the properties of a ray traced glass shader a dome has been shown consisting of a glass surface that correctly reflects the surrounding environment including all dynamic objects.File:QWRT glassdome.jpgDome made out of glass
- Collision detection: Besides handling the graphical tasks the ray tracer has also been used to calculate collision detection.[1]
- Portals: Multiple recursion of camera portals has been shown. This effect is already known from other games like Portal with a default recursion depth of 10. In comparison to that the ray traced implementation has been achieved through only one line of ray tracing shading language code and shows a recursion depth of up to 250.[5]File:QWRT portals.pngCamera portals in camera portals
- Massive dynamics: To prove that highly dynamic scenes can also be handled in a ray tracer, 500 player objects have been added to the scene and animated.[6][7]
Challenges using ray tracing
Performance
There cannot be an apple-to-apples 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 several factors higher and usually over 100 frames per second on high-end graphics cards of 2009.[8] The reported performance numbers in a resolution of 1280×720 of the ray traced version have been given for a variety of systems:[1]
- Caneland server system with four Tigerton quad-core CPUs, 2.93 GHz: 15–20 frame/s
- Caneland server system with four Dunnington hexa-core CPUs, 2.66 GHz: 20–35 frame/s
- Workstation system with two Nehalem quad-core CPUs, 3.2 GHz: 15–20 frame/s
- Graphics card Larrabee (early prototype): Exact numbers unknown.[9]
Transparencies
In the traditional rasterization approach transparent objects can be rendered comparably fast. In the implementation of Quake Wars: Ray Traced objects like trees, that are simulated through multiple partially transparent quad surfaces have been performance intensive to render.
Video
References
- ↑ 1.0 1.1 1.2 "Quake Wars: Ray Traced Webpage". http://www.idfun.de/qwrt/about.html.
- ↑ "News article about Quake Wars: Ray Traced on Larrabee at SemiAccurate.com". http://www.semiaccurate.com/2009/09/22/larrabee-breaks-cover-last/.
- ↑ "White paper: Quake Wars Gets Ray Traced". http://software.intel.com/en-us/articles/quake-wars-gets-ray-traced/.
- ↑ "PC Games Hardware: Picture of colored shadows of windmill model". http://www.pcgameshardware.de/aid,693125/Intel-Quake-Wars-Raytraced-mit-neuen-Effekten/Grafikkarte/News/bildergalerie/?iid=1178784.
- ↑ 5.0 5.1 "Siggraph 2009 Expo talk about Quake Wars: Ray Traced". https://www.youtube.com/watch?v=fmAUmEBHhlk.
- ↑ "PC Games Hardware article: Quake Wars: Ray Traced - new version with enhanced features". http://www.pcgameshardware.com/aid,687758/Quake-Wars-Ray-Traced-new-version-with-enhanced-features/News/.
- ↑ "Golem.de: Video of 500 dynamic players in Quake Wars: Ray Traced". https://www.youtube.com/watch?v=2PRVfblC6_k.
- ↑ "Benchmarks Enemy Territory: Quake Wars on modern graphics hardware". http://xtreview.com/review227.htm.
- ↑ "Video of Quake Wars: Ray Traced demo on Larrabee". https://www.youtube.com/watch?v=G-FKBMct21g.
External links
- News article with screenshots about the project
- Quake 4: Ray Traced
- Quake 4: Ray Traced (Video, April 13, 2007)
- Quake 3: Ray Traced