•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Game Development section within the Software Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,785 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Game Development advertiser: Programming Forums
Views: 1875 | Replies: 7
![]() |
•
•
Join Date: Aug 2007
Location: Adelaide, South Australia
Posts: 428
Reputation:
Rep Power: 3
Solved Threads: 53
Hi all,
I have done some development in OpenGL in the C++ platform and was thinking about trying my hand at DirectX which I have heard is a bit more challenging than OpenGL. From what I have read, DirectX seems to be the more popular format so I was wanting to learn how to use it. Or should I spend my time developing the skills I have gained in OpenGL further? What are the major differences/advantages/disadvantages of each? What are your thoughts/suggestions?
Cheers,
darkagn
PS - This is not a homework question - I was just interested in other people's thoughts on the debate.
I have done some development in OpenGL in the C++ platform and was thinking about trying my hand at DirectX which I have heard is a bit more challenging than OpenGL. From what I have read, DirectX seems to be the more popular format so I was wanting to learn how to use it. Or should I spend my time developing the skills I have gained in OpenGL further? What are the major differences/advantages/disadvantages of each? What are your thoughts/suggestions?
Cheers,
darkagn
PS - This is not a homework question - I was just interested in other people's thoughts on the debate.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 19
Solved Threads: 200
DirectX is more than OpenGL.
OpenGL is purely graphical presentation (and animation, to an extent), the scope of DirectX is far far wider, including networking, sound, and a lot of other game related services.
OpenGL knowledge will be valuable no matter what platform you're going to work on. DirectX knowledge is Windows specific.
OpenGL also seems to change its specs less often than does DirectX, making it maybe a better thing to learn for future use.
OpenGL is purely graphical presentation (and animation, to an extent), the scope of DirectX is far far wider, including networking, sound, and a lot of other game related services.
OpenGL knowledge will be valuable no matter what platform you're going to work on. DirectX knowledge is Windows specific.
OpenGL also seems to change its specs less often than does DirectX, making it maybe a better thing to learn for future use.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 971
Reputation:
Rep Power: 5
Solved Threads: 48
Learn both. If you use only vertex buffer objects in OGL, and manually specify the transform state before drawing every object; that's how Direct3D works.. with a few other differences I suppose.. Hey, as an advantage in Direct3D you don't have to write your own matrix/vector classes -_-
Learning both simultaneously isn't really a good idea though.. I have been flitting between the two as tasks demand; I would say, that there are more similarities than differences between the latest OGL and D3D. Definately learn both at some point.. Unless you never need to work on a Microsoft plaform.
As jwenting said; there's more to DX than D3D. I guess you're using Glut/SDL/Windows API or similar, to do (some) of what the rest of DX does. If you're using SDL, you can keep using it with Direct3D; and it simplifies all the boilerplate code you'd usually have to write to set up D3D with the Windows API..
Learning both simultaneously isn't really a good idea though.. I have been flitting between the two as tasks demand; I would say, that there are more similarities than differences between the latest OGL and D3D. Definately learn both at some point.. Unless you never need to work on a Microsoft plaform.
As jwenting said; there's more to DX than D3D. I guess you're using Glut/SDL/Windows API or similar, to do (some) of what the rest of DX does. If you're using SDL, you can keep using it with Direct3D; and it simplifies all the boilerplate code you'd usually have to write to set up D3D with the Windows API..
Plato forgot the nullahedron..
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,873
Reputation:
Rep Power: 32
Solved Threads: 304
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,873
Reputation:
Rep Power: 32
Solved Threads: 304
•
•
Join Date: Oct 2007
Location: Pennsylvania, US
Posts: 37
Reputation:
Rep Power: 2
Solved Threads: 3
![]() |
•
•
•
•
•
•
•
•
DaniWeb Game Development Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
activex advertising ajax asp blogging browser business code console developer development exploit firefox game games google hardware html intel internet linux marketing microsoft mozilla news nintendo playstation programming ps3 revenue rss search security software sony sql stocks sun video video game vista w3c web web development wii wiki windows xbox 360 xml yahoo
- Windows Vista (Windows Users Lounge)
- Graphics in Pixel,Mode13h:Part 1 (C++)
- Simulating 30° with 45° images/tiles (Game Development)
- graphic.h (Game Development)
- Game Programming / Software Design (Computer Science and Software Design)
- Bgi Graphics Don't Work On Windows... Why??? (Game Development)
- Allegro, DirectX or...??? (C++)
- video card (Monitors, Displays and Video Cards)
- Red Color on IBM 390X 15" laptop (Monitors, Displays and Video Cards)
Other Threads in the Game Development Forum
- Previous Thread: Animating Sprites
- Next Thread: Creating a good game



Linear Mode