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.
DirectX APIs
\nThe components comprising DirectX are :
History
\nOriginally developed for the game development industry, DirectX is becoming more widely used among other software production industries. Most notably, Direct3D is becoming more popular among the engineering sector because of its ability to quickly render high-quality 3D graphics using the latest 3D graphics hardware.
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.
External links
\n* Microsoft's DirectX site\n* Microsoft's MSDN documentation & resource center for DirectX (for programmers)\n* GameDev's FAQ on DirectX
Programmer resources
\n* Gamedev.net's DirectX Articles section\n* NeXe - NeXe's tutorials (hosted by Gamedev.net)\n* Direct3D.net - Wolfgang Engel's Direct3D site\n* Drunken Hyena - tutorials, code, utilities, and games\n* Andy Pike's DirectX8 Tutorials - covering 2D, 3D, sound, music, and input\n* CodeSampler - collection of code samples\n* Managed Direct3D - Craig Andera's C# Direct3D Tutorial
\n\n\n