DirectX10: The Next Generation in Gaming

Backup a second ... So what is DirectX?

Wikipedia says DirectX is a collection of APIs for easily handling tasks related to game programming on the Microsoft Windows operating system. It is most widely used in the development of computer games for Microsoft Windows. The DirectX SDK is available free from Microsoft. The DirectX runtime was originally redistributed by computer game developers along with their games, but later it was included in Windows. Game developers still often include an updated version of DirectX that prompts installation automatically after the game installation to ensure proper program functionality.

Not just another version

DirectX’s popularity over the years has been steadily increasing. Classic games like Thief: The Dark Project, Max Payne, Grand Theft Auto III have used various versions of DirectX to support their graphics. In more recent times, we see top class games like Half-Life 2, Battlefield 2, World of Warcraft and Oblivion: The Elder Scrolls IV making use of DirectX 9.0b/c.

Suffice to say that the latest games use the newest available version of DirectX.

But hey, DirectX10 is not just another version of DirectX. This version has been re-built from the ground up to change the way applications think about material management and load balancing between the CPU and GPU. D3D10, as also DirectX10 is called, takes advantage of the improved communication between the CPU and GPU and efficiently manages the data transfer between them.

As a result of your graphics card becoming more powerful, not only do you get more pixels, but you get more materials and objects. The complexity of scenes and environments can increase exponentially without ever increasing CPU overhead. This means that the CPU handles all film-like (advanced) graphics effects, material management and so frees up CPU cycles to concentrate on AI and Physics.

 

Exclusivity to Windows Vista

DirectX10 is exclusive to Windows Vista and is not slated to be supported by any other platform. This will ensure that the next-gen games will be available on Windows Vista before any other platform.

The new display driver or graphics model in Windows Vista, WDDM (Windows Display Driver Model), is the main reason for DirectX10’s exclusivity to the operating system. It may come as a surprise to know that the graphics driver model hasn’t changed much since Windows NT4 – WDDM is the first major revamp of the system and is designed for scaling high-capability graphics.

DirectX10 depends on these improvements in the graphics model and so, it leverages the virtualization and architectural improvements of WDDM, in both the APIs as well as the underlying infrastructure.

 

Gamer Benefits

DirectX10 offers a wide variety of benefits to gamers. Let’s dive into the details now:

 

  • Greater detail, realistic shadows

Picture 1: DirectX9 (Halo: Combat Evolved)

 

Picture 2: DirectX10 (Crysis)

You can see the difference for yourself when we compare Picture 1, a screenshot taken from ‘Halo: Combat evolved’, a PC game which was among the best of its class at release to Picture 2, an image from ‘Crysis’, a PC game which is slated to release soon. Halo uses DirectX9.0b to support its graphics while Crysis makes use of DirectX10.

DX10 adds a new level of realism to games by making characters more life-like. You can see the incredible detail in the screenshot above. The facial expressions, pockmarks on the face, the handle-bar moustache and the glazed looking eyes all add to the realism.

In DirectX10, the next generation in graphics has arrived.

 

  • Greater detail, realistic shadows

 

Picture 3: DirectX9                                              Picture 4: DirectX10

DirectX9 ‘simulates’ detail with techniques like normal mapping while DirectX10 actually increases the amount of detail in game characters and materials. Shown above are two fish, the first, in Picture 3, is rendered using DirectX9 while the second, super-cool looking fella in Picture 4 is rendered in DirectX10. Observe the spikes with respect to the white background (on the silhouette edges), you see that the bumps on the DX10 fish are a lot more pronounced than the ones on the DX9 fish.

DirectX10 also offers more realistic looking shadows. Showcased below, in Picture 5 is a character with its shadow’s volume accentuated. The green light shows just how the shadow is created (depending on the light source) and how the shadow is featured on the ground. On DirectX9, the shadow volume is generated on the CPU, reducing performance for every new shadowed character on-screen whereas in DirectX10, the shadow volume can be generated and rendered entirely on the more-capable GPU.

 

 

Picture 5: Shadow Volume (Realistic Shadows)

 

  • Richer scenes and complex environments 

Here are 2 images from FSX-SP2 that show DX9 and DX10 side by side with Bloom and Water 2.x both enabled and show an ~20% FPS gain under load for the DX10 code path. This shot does not show the virtual cockpit shadow feature nor the fact that water shows whitecaps proportional to the wind velocity set in the custom weather UI dialog.

EDIT: the old concept images were removed and replaced with these in-game shots.

DX9 ( 24.1 FPS, 30 set as goal )

DX10 (30 FPS, 30 set as goal )

 

  • Dynamic in-game scenarios

Picture 8                                              Picture 9

Picture 10                                            Picture 11

Pictures 8 through 11 show a vines growing on and around a crypt as time passes while in a game. DirectX10 facilitates the game engine to dynamically change the appearance of the crypt with passing time. This enables the in-game levels/scenarios to evolve with time passed inside the game, thus replacing the static environment with a unique one by simulating natural growth.

DirectX9 is not capable of creating new geometry on the GPU. It is also not capable of storing intermediate geometric results, i.e. scenarios between Picture 8 and Picture 11 could not have been GPU-generated using DirectX9.

 

  • Motion blurring

Picture 12                                           Picture 13

Seen above in Pictures 12 and 13 are examples of realistic motion blurring, which is made possible by DirectX10. In earlier versions of DirectX, game developers were required to smudge the final image to achieve motion blur. In DirectX10 however, motion blur can be performed in object-space, simulating a camera exposure of an object across multiple sub-frames.

 

For technical details on the above benefits, please visit: http://msdn.microsoft.com/directx/

 

Summary

In summary, DirectX10 provides the following benefits to gamers:

  • More life-like materials and characters with:
  • Animated fur & vegetation
  • Softer/sharper shadows
  • Richer scenes; complex environments
  • Thicker forests, larger armies!
  • Dynamic and ever-changing in-game scenarios
  • Realistic motion blurring
  • Volumetric effects
  • Thicker, more realistic smoke/clouds
  • Other
  • Realistic reflections/refractions on water/cars/glass
  • Reduced load on CPU
  • Re-routes bulk of graphics processing to GPU
  • Avoids glitching & system hangs during game play

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

For technical details on the above benefits, please visit:

http://msdn.microsoft.com/directx/

 

Written and Compiled by:

Nishanth Lingamneni, Associate Product Manager Intern, Windows PMG Client Marketing

 

For questions and feedback, please contact:

Arvind Mishra, Senior Product Manager, Windows PMG Client

Matt Ployhar, Technical Evangelist, DirectX

Kevin Unangst, Director – Games for Windows, X-Box

Sam Glassenberg, Program Manager, DirectX


Comments

  1. someone
    Posted on: August 16, 2006 at 11:51PM  
    Me want that D3D10 Vista wallpaper. And me also want something new with DirectSound, DS3D and DirectMusic in DXv11.
  2. Posted on: August 17, 2006 at 3:25AM  
    Posted on vistazone :-)
  3. dirtchamber
    Posted on: August 17, 2006 at 8:30AM  
  4. Guruparan
    Posted on: August 20, 2006 at 4:40PM  
    PLEASE CHANGE the DXDIAG.....Please change the Dxdiag...include more robustic userinterface...why you guys use the same old dx7 dialog?...

    And please please change the square & a old cube rotating tests for checking the directdraw & direct3d acclerations.....

    Please email me at guruparanAThotmailDOTcom
  5. Posted on: January 16, 2007 at 4:28AM  

    http://www.dxten.com is a directx 10 wiki with lots of information on direct3d and directx 10

  6. Posted on: March 09, 2007 at 1:19AM  

    Thanks, Nick, for a great explanation. I work in Architectural visualization and I am really looking forward for DirectX 10 materials (and lights, etc) to become fully integrated in 3ds MAX so I can present my clients a video game like experience instead of the classic (and boring) pre-rendered, predefined, unflexible, video walk-through.

    VRML (relying on good ol' Open GL) has been available for a while but never really provided a solution for this.

    I really think it's about time for a new, really universal format for interactive 3D on the web, and Microsoft is in the position of doing just so, right now. Vista's requirement of a powerful graphics card will finally put these things on everyone's PC, and perhaps make my dream (of finally dumping Quicktime's fake VR in favor of true VR) come true.

    I wish you all success.

  7. Posted on: August 16, 2007 at 12:06AM  

    I am hopeing someone will find a way to upgrade the WDDM from XP64 so that it may also have DX10 capibility. It is always good to have a less expensive OS as backup for those like me who are not making $30/hour. Kinda like how you had Windows 2000 and XP before Vista came out. I know this may seem like more trouble than it is worth for what you may see as an outdates OS but there are many who are waiting a few years to make sure Vista is safe. I am not one of those, I am one of the Low Wage customers who hope that there will be an affordible OS for us to use on our older single core systems.

  8. Posted on: October 22, 2007 at 10:48AM  

    That's a good comparison! A face from a 2001 game and one from a 2007, nearly 2008 game. It's incredible, the Direct X 10 face looks so much better! Who'd have thought it, I'm going to upgrade straight away!!!!!

Trackbacks

  1. Posted by: Windows Vista Team Blog on August 16, 2006 at 3:59PM
    I've just reproduced an MSDN white paper entitled "DirectX10: The Next Generation in Gaming" as a blog...
  2. Posted by: www.enchilame.com on August 17, 2006 at 5:52PM
    Las imágenes de DirectX 10 publicadas en este blog de Microsoft hacen ver a DirectX 9 como algo casi de juguete. Ver para creer. Por otro lado solamente estará disponible para Windows Vista. Un pelo en la sopa, pero que esperamos, es Microsoft...
  3. Posted by: En pocas l??neas 22 at nacho.com.ar on August 21, 2006 at 4:29PM
  4. Posted by: .so .life » DirectX10 - die neue digitale Realiet??t on August 23, 2006 at 3:22PM
  5. Posted by: Ido Samuelson's blog on August 27, 2006 at 5:40AM
    Hover over the image to load hover image. Please wait patiently.From the DirectX 10 Whitepaper on the...