Home >> Computers >> Programming >> Languages >> Delphi >> DirectX




}

DirectX occurs as collection of APIs for easily treating tasks related to game programming on Microsoft Windows. These are virtually all widely utilized in the development of computer games for Windows. A DirectX SDK is available free from either Microsoft. A DirectX runtime was originally redistributed by computer game developers along with their games, however around the future it was involved in Windows. DirectX 9.0c is the latest version of DirectX. A latest versions of DirectX come however commonly involved by using PC games, since the API is updated and then typically.

DirectX APIs
A various components of DirectX come in the form of COM-compliant objects.

A components comprising DirectX come :

DirectX Graphics, comprised of ii APIs (DirectX 8.Zero ahead): DirectDraw: for drawing raster graphics. Direct3D (D3D): for drawing 3D graphics primitives DirectInput: used to run information from either the keyboard, mouse, joystick, or more game controllers DirectPlay: for networked communication of games DirectSound: for the playback and recording of wave shape sound DirectMusic: for playback of soundtracks authored in DirectMusic Producer DirectSetup: for the installation of DirectX components DirectX Media Objects: support for video objects like encoders, decoder & effects

History
Originally targeted at a game development industry, DirectX has become supplementary widely utilized among more package production industries. Virtually all notably, Direct3D is becoming extra popular among a engineering sector because of its ability to quickly render high-quality 3D graphics using the latest 3D graphics hardware.

Inside 1994, Microsoft was just on the verge of releasing its next operating system, Windows 95. A independent factor that would determine a value consumers would place in their recently operating patterns a good deal rested in what software download would exist as suspire to rerun on that. 3 Microsoft employees—Craig Eisler, Alex St. John, and Eric Engstrom—were concerned, because programmers tended to see Microsoft's previous operating system, DOS, as a better platform for game programming, meaning few games would be developed for Windows 95 and the operating system would not be as much of a success.

DOS allowed straight access to cd cards, keyboards and mice, sound devices and all more area of the formulas, piece Windows 95, by owning its recently plug-and-play model, restricted access to all one, working in the lot other standardized model. Microsoft required how else that would let software engineer acquire what it wanted, & it required it quickly, a operating technique was simply months out of existence freed. Eisler, St. John, & Engstrom conspired together to fix this condition, using the guide that it in time known as DirectX.

A 1st release version of DirectX was shipped September of 1995 as the Windows Games SDK. It was a Win32 replacement for poorly intentional, ill-misguided APIs for the Win16 operating system (DCI and WinG). A development of DirectX was lead per team of Eisler (development lead), St. John (evangelist), & Engstrom (program manager). Only put, it allowed a lot versions of Microsoft Windows, starting sustaining Windows 95, to incorporate high-vet multimedia system.

Before DirectX's being, Microsoft experienced already involved OpenGL on their Windows NT platform. At a period, OpenGL compulsory "high-end" devices & was limited to engineering and CAD uses. Direct3D (introduced by Eisler, Engstrom, & St. John or else to SGI's OpenGL) was meant to become the lightweight partner to OpenGL for back utilise. When a power of graphics cards and the computers going the babies grew, OpenGL became the mainstream product. At that point the "battle" began between supporters of a cross-platform OpenGL & the Windows-just Direct3D, which numbers of argued was another example of Microsoft's embrace, extend and extinguish business tactic (view Fahrenheit or Direct3D vs. OpenGL). Yet, a more APIs of DirectX come typically combined by having OpenGL within several computer games because OpenGL does not inside itself include completely of DirectX's functionality (like healthy or even joystick trend lines). Many tries to location this develop usually failed.

DirectX was utilized as a basis for Microsoft's Xbox console API. A API was developed jointly between Microsoft & NVIDIA, who developed a customised graphics devices utilized per console. A Xbox API is similar to DirectX version Octet.One, however is non-updateable rather more console technologies.

Inside 2002, Microsoft released DirectX 9 by using trend lines for the utilise of very much yearn shader software online than prior to using picture element & vertex shader version Deuce.Cipher. Microsoft has continued to upgrade a DirectX suite since so, introducing shader model Triplet.Cipher within DirectX 9.0c, freed inside August 2004.

When of April 2005, DirectShow was removed from either DirectX & moved to the Microsoft Platform SDK instead. DirectX is, but, however mandatory to build a DirectShow samples [http://msdn.microsoft.com/directx/sdk/readmepage/default.aspx].

Release history

|- ! DirectX version ! Logo ! Version number ! Operating system ! Date released |- |DirectX One.0|| ||4.02.0095||  |- |DirectX Ii.Cipher / Ii.0a|| ||4.03.00.1096||Windows 95 OSR2 & NT Quatern.0 |- |DirectX Three.Cypher / Triad.0a|| ||4.04.0068 / 69||Windows NT Four.Nought SP3
survive supported version of DirectX for Windows NT Four.0 |- |DirectX Quatern.0|| ||Never launched||  |- |DirectX Fin.0|| ||4.05.00.0155||Available as a beta for Windows NT Five.Cipher that would set up in Windows NT Four.0 |- |DirectX Phoebe.0|| ||4.05.01.1721 / 1998||Windows 98 |- |DirectX Six.0|| ||4.06.02.0436||Windows 98 SE
go version of DirectX Media for Windows NT 4.0 |- |DirectX Seven.0||and ME |- |DirectX Seven.0a|| ||4.07.00.0716||  |- |DirectX Eight.0||||4.08.00.0400||  |- |DirectX Viii.1|| ||4.08.01.0810
Four.08.01.0881||Windows XP & 2003 Server
Previous supported version
for Windows 95
||November 12, 2001 |- |DirectX Ennead.0|| ||4.09.0000.0900|| ||December 24, 2002 |- |DirectX Niner.0a|| ||4.09.0000.0901|| ||March 26, 2003 |- |DirectX Nine.0b|| ||4.09.0000.0902|| ||August 13, 2003 |- |DirectX Ix.0c|| ||4.09.0000.0904||Perchance a go supported version
for Windows 98SE & Windows Us
||August 9, 2004 |- |DirectX Ix.0L (coming presently)|| ||4.09.0000.0905 (?)||  |- |DirectX Decade (attach to Windows View)|| ||(?)||First version for Windows Vista||  |}

Compatibility
Hardware manufacturers have to write drivers for and line 1 text from each one single piece of devices to produce the children DirectX compatible. Several modern devices devices simply have at times DirectX compatible drivers (within more words, your family must set up DirectX prior to that you is breathe to use that hardware). Early versions of DirectX involved an higher-to-date library of completely of the DirectX compatible drivers presently available. This practice was stopped nonetheless, in favor the web-depending Windows Update driver-update models, which allowed users to download exclusively a drivers relevant to their devices, like than a entire library.

A bit of drivers exclusively trend lines a single version of DirectX. However DirectX is feebleminded compatible, which means that newly versions trend lines a older versions. E.g., whenever of these has DirectX 9 installed in a single's body & diarrhethe a game that was written for DirectX 6, it should however operate. A game may utilise what is known as a DirectX 6 "interface." Each version of DirectX must trend lines each last version of DirectX.

The future of DirectX
Microsoft is presently working in the big upgrade to DirectX. Originally known as Windows Graphics Foundation, but later on renamed to DirectX 10, it may come out when a share of Windows Vista. Version 10 might represent a departure from either the driver model of DirectX 9.Zero, using the addition of a scheduler & memory virtualization technique. DirectX 10 may forego a todays DirectX practice of applying "capability bits" to show which features move on the todays devices. Instead, DirectX 10 might define the minimal standard of devices capabilities which must exist as supported for the display formulas to exist as "DirectX 10 compatible".

A second convienence Microsoft is working on is XNA which is a framework designed to assist development of games by making it more leisurely to integrate DirectX, HLSL and other information within of these pack.

Hori Homepage / Delphi
DelphiX FAQ, for use with Hori DirectX for Delphi.

WDirectX
A visual component library to make life a bit easier for programmers who need to use Microsoft's DirectX SDK and still be able to use the excellent Delphi tool. [Open source]

Aztica
Specializing in high quality game components for Borland's Delphi and C++ Builder. Checkout the screen shots.

Delphi DirectX 9.0 SDK
Delphi DirectX headers, examples, tools. Headers are compatible with FreePascal, Borland C++Builder. Site tries to provide the same contents as provided by MS DirectX SDK for MS VisualStudio C++ users.


Computers: Programming: Libraries: DirectX






© 2005 GeneralAnswers.org