Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


OpenGL vs Direct3D

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  

OpenGL or Direct3D
OpenGL
30%
 30%  [ 3 ]
Direct3D
70%
 70%  [ 7 ]
Total Votes : 10

Author Message
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Sun Sep 23, 2007 8:11 am    Post subject: OpenGL vs Direct3D Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Sep 23, 2007 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Sun Sep 23, 2007 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Sep 23, 2007 8:40 am    Post subject: Reply with quote

For sound in OpenGL, there is OpenAL: http://www.openal.org/

OpenGL also has its own open source library for some other things named GLUT. Check that out here:
http://www.opengl.org/resources/libraries/
Back to top
View user's profile Send private message Visit poster's website
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Sep 23, 2007 10:10 am    Post subject: Reply with quote

Direct3D of course Smile
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Sep 23, 2007 12:15 pm    Post subject: Reply with quote

DirectX arguably if you don't care about portability, and it's cleaned up and streamlined considerably in DX10.
Back to top
View user's profile Send private message
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Sun Sep 23, 2007 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Sep 23, 2007 1:45 pm    Post subject: Reply with quote

C# would be managed DirectX.

If you need speed, C/C++
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Sep 24, 2007 5:09 am    Post subject: Reply with quote

I'd tell you to code games in MSVC++ 7.0 (2007/Cool since all games (such as EA.com) are made from it Smile

Maple was made off MSVC++ 6.0 Very Happy
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Sep 24, 2007 9:14 am    Post subject: Reply with quote

Kaspersky wrote:
I'd tell you to code games in MSVC++ 7.0 (2007/Cool since all games (such as EA.com) are made from it Smile


uh... Rolling Eyes
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Sep 24, 2007 9:15 am    Post subject: Reply with quote

slovach wrote:
Kaspersky wrote:
I'd tell you to code games in MSVC++ 7.0 (2007/Cool since all games (such as EA.com) are made from it Smile


uh... Rolling Eyes


Back to top
View user's profile Send private message
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Mon Sep 24, 2007 3:35 pm    Post subject: Reply with quote

I'm Jewish Rolling Eyes
_________________


Don't laugh, I'm still learning photoshop!
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Mon Sep 24, 2007 3:44 pm    Post subject: Reply with quote

TheSorc3r3r wrote:
I'm Jewish Rolling Eyes


How is that related to the topic Rolling Eyes
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Sep 24, 2007 3:45 pm    Post subject: Reply with quote

read kaspers banner

the one and only jew on CEF

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites