Story Tools: PRINT | Text Size: S M L XL | REPORT TYPO | SEND YOUR FEEDBACK

In Depth

Video Games

DirectX 10

The inevitable future of PC gaming?

Last Updated April 7, 2008

If you play PC games, you've probably heard about something called DirectX — it's hard to miss, because when you install a new game on a PC a dialogue box usually pops up that asks whether you'd like to upgrade to the latest version.

But most people know little about DirectX, or the fact that it promises to play a key role in pushing avid video game fans to upgrade to Windows Vista.

While the dialogue box is a common sight for gamers, what it doesn't tell you is what DirectX is, why you need the software upgrade, and what perks (if any) the latest version might offer.

So what is this mysterious-sounding DirectX, exactly?

In simple terms, DirectX is the means by which many multimedia applications (including video games) interact with Microsoft Windows operating systems. It basically tells a game how to get the most out of things like the video card and sound card installed in your computer.

In more technical terms, DirectX is a set of what programmers refer to as "low-level application programming interfaces" — commonly called APIs — comprised of software tools that help standardize the way Windows operating systems receive and process multimedia information. Think of it as a bridge between game software, the operating system, and graphics crunching hardware.

The best-known of DirectX's APIs is Direct3D, which undertakes the formidable challenge of generating the complex three-dimensional graphics found in modern games.

According to Microsoft's Phil Taylor, program manager for Microsoft’s in-house Aces game development studio, prior to DirectX developers "wrote directly to the metal."

That's tech jargon that means developing versions of software for specific pieces of hardware. In other words, programmers had to tweak their video games in different ways to work properly with the different video accelerators, sound cards and other bits of computer hardware that players might be using — a very labour-intensive way to write a program, given the huge variety of potential hardware combinations out there.

"DirectX represented a major improvement because it presented a standardized interface for programmers," he said.

It also meant that gamers would be able to install new components — such as video cards and sound cards — on their Windows computers secure in the knowledge that their games would still work under the new hardware configuration when they rebooted and wanted to play.

Industry standard

DirectX has become one of the major hubs around which the game industry revolves. Updates to DirectX help shape how new games will be developed, and what new multimedia features they'll be able to wow players with.

Ken Brown, public relations manager for video card maker NVIDIA, calls each major DirectX release a milestone for the industry.

"It dictates what features will need to be supported in the graphics hardware, so that game developers can be assured that their newest features will be supported in the hardware," he explained. "The vast majority of games are built using DirectX and every graphics processing unit [video card] has to support it."

DirectX is not the only player when it comes to multimedia APIs, but it's by far the dominant one. OpenGL, an API created by Silicon Graphics in 1992, was available four years before the first version of DirectX. OpenGL's newest iterations still work on Windows PCs, but its popularity on Microsoft platforms has withered over time.

A screenshot from the game Crysis, running on DirectX 9.
A screenshot from the game Crysis, running on DirectX 10.
A screenshot from Microsoft’s Flight Simulator X, running on DirectX 9.
A screenshot from Microsoft’s Flight Simulator X, running on DirectX 10.
A screenshot from the game Age of Conan: Hyborean Adventures, set for May release, running on DirectX 9.
A screenshot from the game Age of Conan: Hyborean Adventures, set for May release, running on DirectX 10.

The most talked about DirectX 10-compatible game yet released is Crysis, a violent and lifelike shooter developed by the German studio Crytek. It employs a new game engine designed specifically for DirectX 10.

Set on a jungle island, Crysis is an indisputable marvel of graphical innovation when it's running at maximum visual fidelity on a DirectX 10-equipped machine. Crysis provides the closest thing to real-world imagery that the video game industry has yet produced, with gorgeous effects such as sunlight that filters through water in dynamic beams, and objects that are rendered in mind-boggling detail, including plants and trees with bark and leaves that almost look like photographs of the real thing.

A free update recently released for Microsoft’s own Flight Simulator X adds plenty of DirectX 10 eye candy, including beautiful light-blooming effects (imagine the sun cresting an object, its light overpowering and obscuring the edge of that object), and realistic, dynamic shadows inside aircraft cockpits, as seen here.

Age of Conan: Hyborean Adventures, set for May release, is one of the most anticipated DirectX 10 games of 2008. The new API has allowed Funcom, the Norwegian studio behind this online role-playing game, to fill the game’s massive virtual world with a wide variety of highly realistic details, including greatly enhanced shadows, innumerable bumps and depressions in the terrain, and advanced lighting effects, such as the sunbeams seen here penetrating a forest canopy.

It's found a more receptive home on Macintosh computers and in the PlayStation 3, leaving DirectX as the effective standard for the Windows PC gaming industry.

Special effects: No limits?

DirectX was originally developed for Windows 95. The release of the software giant's most recent operating system, Windows Vista, brought with it the tenth major update to DirectX, appropriately (if somewhat unimaginatively) dubbed DirectX 10.

With each new version of DirectX, programmers have been given more options and resources with which to create ever more visually impressive games. DirectX 10 has been hailed as the most notable leap forward yet in terms of the programming freedom offered to developers who use DirectX APIs.

For example, DirectX 10 features a tool called Pixel Shader 4.0, a program that modifies the individual pixels that make up the image on the computer's screen by applying effects such as shadows, textures, and lighting. Whereas previous versions of Pixel Shader restricted programmers to a set number of instructions to modify what people would see on the screen when playing a game, Pixel Shader 4.0 offers them the ability to code a virtually unlimited number of instructions.

The caveat is that programmers are still limited by the level of detail the average users' computer hardware is capable of generating, so game developers will have to wait for faster generations of computers and video cards to reach the market in order to really test the limits of DirectX 10.

Other new features in DirectX 10 include a geometry shader that works to create more realistic visual effects, such as motion blur. There's support for video cards with a unified graphics processor architecture, which let several types of shaders work together rather than separately, theoretically providing a noticeable boost in graphics performance.

The concepts at work become much more technical the deeper one digs into the technology. Suffice it to say that DirectX 10 can boost a computer's graphics performance and offers programmers new tools that will help make games look better.

Windows XP gamers shunned?

But while DirectX 10 is designed specifically to improve PC gaming, not all PC gamers are keen to adopt it.

The loudest complaint is that DirectX 10 is compatible only with Windows Vista, and won't work with XP or other older versions of Microsoft's operating systems. That forces PC game lovers to migrate to Microsoft's new Vista operating system if they want to play the latest games with the latest, most innovative graphics.

According to Microsoft, DirectX 10's dependency on Vista was unavoidable.

"DirectX 10 makes use of new features found only in Vista," explained Taylor, adding that it would have lost many of its new efficiencies and multimedia enhancements had it been designed to work on older operating systems. "Vista and DirectX 10 are effectively joined at the hip."

Of course, as many critics have noted, Microsoft has an obvious stake in getting people to move to its new operating system. However, DirectX 10's link to Vista cannot be credited to Microsoft alone.

According to NVIDIA's Brown, each new version of DirectX 10 is a collaborative effort between Microsoft and industry heavyweights such as the top graphics hardware companies and game makers.

"Microsoft leads a graphics advisory board that includes members of NVIDIA, other independent hardware vendors, game developers, artists, and programmers," Brown said. "The board meets at various intervals to discuss which new graphics features are important to include in upcoming iterations of the DirectX API. We come together and map out what we expect to be the key 3D advances for the next few years."

In other words, Microsoft designs its API to handle the existing and expected future technologies from its industry partners. That means the game industry at large has a say in each update of DirectX, including their thoughts on operating system compatibility. DirectX 10 isn't compatible with earlier Windows operating systems because the industry as a whole is moving toward graphics functionality that is supported by Windows Vista and not Windows XP.

Vista: The inevitable future for PC gamers

The inescapable reality is that PC gamers will, eventually, be forced to upgrade to Windows Vista and DirectX 10 if they want to keep playing new games. At the moment, every game on the market that supports DirectX 10 also supports DirectX 9, but that won't always be the case.

Microsoft’s Taylor projects that the first DirectX 10-only (and, hence, Windows Vista-only) games, "will be available either by the end of this year or sometime in 2009."

NVIDIA's Brown agrees that DirectX 10-compatible games are set to quickly multiply. He said more than 30 million DirectX 10-compatible graphics processing units (which includes both video cards and video processors that are built into motherboards) have already been sold, and that most new add-in cards on sale today are DirectX 10 compatible.

"By 2009, nearly all PC games will offer DirectX 10 features," Brown said. Still, he noted that many consumers are still running hardware that only supports DirectX 9, which gives developers and publishers incentive to continue supporting the older API at least for the near future if they want to reach the largest possible market.

The big question, of course, is whether gamers have reason to look forward to their move to Vista and DirectX 10. According to Rahul Sood, head of Hewlett-Packard's gaming division and a high-performance hardware guru, they do.

"It will take time for the mainstream to realize … that PC gaming is getting much better because Vista has enabled it," said Sood. "When Vista first came out the drivers weren't very good, there was no real benefit to DirectX 10, and some older games wouldn't work. But now there's better graphics and better sound effects, as well as other performance features [that enhance PC games]."

Go to the Top

Story Tools: PRINT | Text Size: S M L XL | REPORT TYPO | SEND YOUR FEEDBACK

World »

Syrian regime denies role in Houla massacre video
The UN Security Council condemned the Syrian regime at an emergency meeting Sunday, holding president Bashar al-Assad's military responsible for the massacre of more than 100 people, dozens of whom were children younger than 10 years old.
new Egypt presidential candidates allege vote fraud
Three top candidates in Egypt's presidential race have filed appeals to the election commission, alleging violations in the first round vote that they say could change the outcome.
Ryder Hesjedal wins prestigious Giro d'Italia video
Victoria native Ryder Hesjedal has become the first Canadian to win one of the cycling world's three Grand Tour events, wrapping up the 2012 Giro d'Italia with an excellent performance in the final stage in Milan.
more »

Canada »

Quebec students and province to resume talks video
Quebec's university student federation has confirmed negotiations between student leaders and the provincial government will resume Monday afternoon.
Canadian Pacific strikers face back-to-work legislation video
Labour Minister Lisa Raitt is prepared to end the Canadian Pacific Railway strike if necessary, after both CP and the union rejected a proposal for voluntary arbitration by the government-appointed negotiator on Sunday. Raitt says she is "extremely disappointed."
new Diamond Jubilee a chance for youth to honour Canada's Queen
In the Queen's Diamond Jubilee year, a group of young monarchists is out to prove that allegiance to the Crown isn't all "tea and corgis" but can stem from an interest in the value of constitutional monarchy and Canadian identity.
more »

Politics »

Canadian Pacific strikers face back-to-work legislation video
Labour Minister Lisa Raitt is prepared to end the Canadian Pacific Railway strike if necessary, after both CP and the union rejected a proposal for voluntary arbitration by the government-appointed negotiator on Sunday. Raitt says she is "extremely disappointed."
Western premiers to talk environment, energy and Tom Mulcair video
The environment, energy and federal NDP Leader Tom Mulcair are on the agenda Tuesday when leaders of the western provinces and territories get together.
N.L. premier 'at odds' with Peter MacKay audio
Kathy Dunderdale, the premier of Newfoundland and Labrador, tells CBC Radio's Evan Solomon she's growing increasingly 'at odds' with Conservative MP Peter MacKay.
more »

Health »

Chronic fatigue may be reversed with exercise
Taking it easy is not the best treatment for chronic fatigue syndrome, rather exercise and behaviour therapy are, a large study finds.
AT&T buys T-Mobile USA for $39B US
AT&T Inc. said Sunday it will buy T-Mobile USA from Deutsche Telekom AG in a cash-and-stock deal valued at $39 billion US, becoming the largest cellphone company in the U.S.
Milky Way home to 50 billion planets: NASA
Scientists have compiled the first cosmic census of planets in our galaxy: at least 50 billion planets are estimated to call the Milky Way home.
more »

Arts & Entertainment»

Love film a 2nd win for Cannes director
Michael Haneke won the Cannes Film Festival's top trophy for a second time with his film about love and death, Amour.
video Stratford prepares for new director as season opens video
As the Stratford Shakespeare Festival opens its 60th season, high profile artistic director Des McAnuff is preparing to hand to reins to his successor Antoni Cimolino. Deana Sumanac reports.
Quebec actress captures Cannes prize
Canadian Suzanne Clement has been awarded the Best Actress prize in the Cannes Film Festival's sidebar competition, Un Certain Regard.
more »

Technology & Science »

Astronauts enter world's 1st private supply ship video
Astronauts have entered the Dragon, the world's first commercial supply ship, which is docked at the International Space Station.
South Africa, Australia to share world's largest telescope
South Africa and Australia will jointly host the Square Kilometre Array, which promises to be the world's largest telescope, the international consortium in charge of the project said Friday.
Chemicals in tsunami debris could pose coastal threat video
The spill and spread of industrial chemicals across the coastline of British Columbia is a possibility as slower-moving tsunami debris from Japan approaches the west coast, according to experts observing its movements.
more »

Money »

analysis What a Greek euro exit could mean for Canada
A tumultuous Greek exit from the eurozone would have a harder impact on Canada's economy than the credit crisis recession of 2008 and 2009, a report from a major Canadian bank warns.
Bankia asks Spain for €19B video
The board of directors of Spain's troubled bank, Bankia, has asked the Spanish government for €19 billion ($24.5 billion Cdn) in financial support.
EI reforms aim to boost employment, Flaherty says
Finance Minister Jim Flaherty defended his government's proposals to change employment insurance, saying the aim is to remove "disincentives to employment."
more »

Consumer Life »

Honda recalls Fit subcompacts
Honda Canada says it will recall 14,640 of its 2009 and 2010 Fit subcompact cars to replace lost motion springs.
U.S. travel fee proposal criticized by Harper
Prime Minister Stephen Harper says he doesn't think much of a new border tax that's being proposed by the United States, calling it a cash grab designed to help a budget crisis.
Bell class action suit approved by Que. court
A Quebec Superior Court judge has authorized a class action lawsuit to go ahead against Bell Mobility.
more »

Sports »

Scores: NHL NBA

5 stories, including Ryder Hesjedal's historic ride video
Canadian cyclist Ryder Hesjedal captured the 95th Giro d'Italia, the hosts won the Memorial Cup and it was Canadian vs. Canadian at the French Open. All this, plus more, in your top five stories from Sunday.
Ryder Hesjedal wins prestigious Giro d'Italia video
Victoria native Ryder Hesjedal has become the first Canadian to win one of the cycling world's three Grand Tour events, wrapping up the 2012 Giro d'Italia with an excellent performance in the final stage in Milan.
Dario Franchitti wins 3rd Indy 500 in wild finish
Dario Franchitti has won the Indianapolis for the third time, taking advantage when Takuma Sato crashed on the final lap.
more »

Diversions »

[an error occurred while processing this directive]
more »