954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

OpenGL, or DirectX?

Good day, geeky guys. :cool:

I have some reactions and questions about DirectX and OpenGL...

Suppose (for example only,)
I was hired by a big game company to spearhead game developer teams
then, I want the game we will produce, to make it versatile in any computer
regardless of computer architecture and whether it's a PC or Mac.

...oh, yup. I was making a comparison.

Because as far as we know, that most commonly, it's the DirectX that
most games have been chosen. And currently used.

But one day, when I was surfing internet (and Google searches)
I came across an article about the comparison of OpenGL on others,
which for me, was just too technically written to understand.
(Maybe, because we use DirectX ,most commonly...)

But what about the Mac?
Maybe, it's silly to ask this, but can I use DirectX on Mac?
Now, which is better in those two?

which of the two shall I use for my games, especially those 3D ones?
DirectX, or OpenGL?


P.S. :icon_smile:

Can someone give also the detailed comparison of OpenGL and DirectX, for me?
(These, possibly, I will use this as additional information for my future research papers. Thank you.)

CityThrille
Light Poster
36 posts since Feb 2011
Reputation Points: 10
Solved Threads: 1
 

You cannot use DirectX on a mac.

DirectX is proprietary to Microsoft and its platforms.

OpenGL is open standard, and can therefor be implemented into any platform.

That's about all I know without doing research, and its too early in the morning to do that :D

Merlin33069
Junior Poster
126 posts since May 2008
Reputation Points: 10
Solved Threads: 5
 

Look into cross-platform libraries.
I like SFML. Unfortunately version 2 isn't finished yet.
SDL has been around forever and a day. It has a nice community following.
There are others. Google is your friend.

Happy coding.

DeanMSands3
Junior Poster
187 posts since Jan 2012
Reputation Points: 37
Solved Threads: 27
 

You cannot use DirectX on a mac.

DirectX is proprietary to Microsoft and its platforms.

OpenGL is open standard, and can therefor be implemented into any platform.

That's about all I know without doing research, and its too early in the morning to do that :D

Oh, so DirectX is only strictly for Microsoft only?
Then, comparing those two, which is the best in your opinion? :)

CityThrille
Light Poster
36 posts since Feb 2011
Reputation Points: 10
Solved Threads: 1
 
But what about the Mac? Maybe, it's silly to ask this, but can I use DirectX on Mac? Now, which is better in those two?

Apple ships OpenGL as a standard feature of the Mac OS (OS9 and Mac OS X). You can search for it on the net.

DJSAN10
Posting Whiz in Training
249 posts since Dec 2010
Reputation Points: 38
Solved Threads: 26
 

I should mention that both SFML and SDL are built on or work in tandem with OpenGL.
Which will work on Macs as well as Windows PCs. As well as Linux PCs.

DeanMSands3
Junior Poster
187 posts since Jan 2012
Reputation Points: 37
Solved Threads: 27
 

Umm, may I ask are you going to be building a game engine? You can make a game engine with both Direct3D and OpenGL, look at Unreal Engine (DirectX on Windows, OpenGL on everything else). Then you don't really need to worry about using either or, because you use both.

BCBTP
Light Poster
34 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: