Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-08-2003, 03:19 AM   #1
Member (11 bit)
 
TheJackal's Avatar
 
Join Date: Aug 2002
Location: BC, Canada
Posts: 1,054
Direct X

What exactly does Direct X do?
How does it work?
How is it used in game programming?
TheJackal is offline   Reply With Quote
Old 07-08-2003, 08:16 AM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
DirectX allows complete direct control of a computer's audio, video, input, and other components. Obviously, this is useful for games and multimedia, which need to be able to control video and audio at high speeds.

DirectX allows you to write code that doesn't depend on the particular hardware implementation. Your code essentially says "Draw these triangles on the screen and cover them with this texture"; it is then up to your particular graphics card to actually do it.
doctorgonzo is offline   Reply With Quote
Old 07-08-2003, 02:45 PM   #3
Member (11 bit)
 
TheJackal's Avatar
 
Join Date: Aug 2002
Location: BC, Canada
Posts: 1,054
What development tools are required to make use of Direct X technology?

What did software developers have to do before Direct X was created?
TheJackal is offline   Reply With Quote
Old 07-08-2003, 03:00 PM   #4
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
DirectX is an M$ thing, so you can go here for the info and SDK.

There are alternatives as far as graphics goes, such as OpenGL.

Before DirectX there was no standard, so code had to be specific to hardware. On the really old games, that is why you could choose which graphics cards you had. There simply wasn't a standard way of doing graphics.
doctorgonzo is offline   Reply With Quote
Old 07-08-2003, 03:18 PM   #5
Member (11 bit)
 
TheJackal's Avatar
 
Join Date: Aug 2002
Location: BC, Canada
Posts: 1,054
Will DirectX work with Linux systems?
TheJackal is offline   Reply With Quote
Old 07-08-2003, 03:22 PM   #6
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Nope. Given that DirectX belongs to M$, it isn't going to work on any platforms natively other than Windows. If you want something that can work in Linux, you can use OpenGL for 3D graphics and SDL for everything else.
doctorgonzo is offline   Reply With Quote
Old 07-08-2003, 03:29 PM   #7
Member (11 bit)
 
TheJackal's Avatar
 
Join Date: Aug 2002
Location: BC, Canada
Posts: 1,054
Thanks... Where can I find info on OpenGL?
TheJackal is offline   Reply With Quote
Old 07-08-2003, 03:32 PM   #8
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
You can start with www.opengl.org. There are tons of tutorials and information on the web if you search for it.
doctorgonzo is offline   Reply With Quote
Old 07-09-2003, 06:52 PM   #9
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
A great site for OpenGL tutorials:
nehe.gamedev.net
I started there
aym is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:02 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2