DirectX



         


DirectX is a collection of APIs for easily handling tasks related to game programming on Microsoft Windows. It is most widely used in the development of video and computer games for Windows. The DirectX SDK is available for free from Microsoft. The DirectX runtime was originally redistributed by game developers along with their games, but later it was included in Windows. DirectX 9.0 is the latest version of DirectX. The latest versions of DirectX are still usually included with PC games, since the API is updated so often.

[Top]

DirectX APIs

The components comprising DirectX are :

DirectX was developed internally at Microsoft from late 1994 until the September of 1995, when the first release version was shipped. It was the Win32 replacement for poorly designed, ill-conceived APIs for the Win16 operating system (DCI and WinG). DirectX was primarily created by the team of Craig Eisler, Alex St. John, and Eric Engstrom. Simply put, it allowed all versions of Microsoft Windows, starting with Windows 95, to incorporate quality multimedia and computer gaming into the Windows experience.

When DirectX was first being created in the 1990s, Microsoft had already started including OpenGL on their Windows NT platform. At the time, OpenGL required "high-end" hardware and was limited to engineering and CAD uses. Direct3D was intended to be a lightweight partner to OpenGL for game use. As the power of graphics cards and the computers running them grew, OpenGL became a mainstream product. At that point a "battle" began between supporters of the cross-platform OpenGL and the Windows-only D3D, which many argued was another example of Microsoft's embrace, extend and extinguish business tactic (see Fahrenheit or Direct3D vs. OpenGL). Nevertheless, the other APIs of DirectX are often combined with OpenGL in many computer games because OpenGL does not in itself include all of DX's functionality (such as sound or joystick support). Several attempts to address this have generally failed.

DirectX was used as a basis for Microsoft's Xbox console API. The API was developed jointly between Microsoft and NVIDIA, who developed the custom graphics hardware used by the console. The Xbox API is similar to DirectX version 8.1, but is non-updateable like other console technologies.

[Top]




  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License