| View previous topic :: View next topic |
| OpenGL or Direct3D |
| OpenGL |
|
30% |
[ 3 ] |
| Direct3D |
|
70% |
[ 7 ] |
|
| Total Votes : 10 |
|
| Author |
Message |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Sun Sep 23, 2007 8:11 am Post subject: OpenGL vs Direct3D |
|
|
I want to start learning video game programming, and I'm trying to decide whether I should start with Direct3D or OpenGL. I don't really care about portability right now.
Which one do you prefer, and why?
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Sep 23, 2007 8:30 am Post subject: |
|
|
OpenGL > DirectX when it comes to game programming.
(Before I continue, I have not touched Vista or DirectX10 so I have no opinion towards that route.)
I say OpenGL > DirectX due to the fact that OpenGL is a cross-platform library where as DirectX is Windows only. (Yes you can get DirectX to run on other systems, but not native like Windows.) DirectX is nice and gets the job done, but with the cost of being native to Windows only. OpenGL gives you the ability to program for cross-platform games that will run native on Windows, Linux, and MacOS.
Oh, and some other info... DirectX contains additional support libraries for all kinds of things other then just rendering. Such as input, sounds, etc. OpenGL is limited to rendering only which forces you to find other solutions for the other parts required for your game / project.
Another edit.. I suggest taking a look at SDL too:
http://www.libsdl.org/
|
|
| Back to top |
|
 |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Sun Sep 23, 2007 8:35 am Post subject: |
|
|
I'm not working on Vista, either.
Like I said, I'm not that worried about portability to start; it seems like a nice addition to me, but portability just doesn't seem that important.
That was another question I had - if I use OpenGL, what are other ways to work sound/input/everything else?
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sun Sep 23, 2007 10:10 am Post subject: |
|
|
Direct3D of course
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Sep 23, 2007 12:15 pm Post subject: |
|
|
| DirectX arguably if you don't care about portability, and it's cleaned up and streamlined considerably in DX10.
|
|
| Back to top |
|
 |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Sun Sep 23, 2007 1:16 pm Post subject: |
|
|
Okay, here's another question - Which is better for DirectX: C# or C/C++.
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Sep 23, 2007 1:45 pm Post subject: |
|
|
C# would be managed DirectX.
If you need speed, C/C++
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Sep 24, 2007 5:09 am Post subject: |
|
|
I'd tell you to code games in MSVC++ 7.0 (2007/ since all games (such as EA.com) are made from it
Maple was made off MSVC++ 6.0
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Sep 24, 2007 9:14 am Post subject: |
|
|
| Kaspersky wrote: | I'd tell you to code games in MSVC++ 7.0 (2007/ since all games (such as EA.com) are made from it  |
uh...
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Mon Sep 24, 2007 9:15 am Post subject: |
|
|
| slovach wrote: | | Kaspersky wrote: | I'd tell you to code games in MSVC++ 7.0 (2007/ since all games (such as EA.com) are made from it  |
uh...  |
|
|
| Back to top |
|
 |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Mon Sep 24, 2007 3:35 pm Post subject: |
|
|
I'm Jewish
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
MegaForum Grandmaster Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 558
|
Posted: Mon Sep 24, 2007 3:44 pm Post subject: |
|
|
| TheSorc3r3r wrote: | I'm Jewish  |
How is that related to the topic
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Sep 24, 2007 3:45 pm Post subject: |
|
|
read kaspers banner
the one and only jew on CEF
_________________
|
|
| Back to top |
|
 |
|