Forums

ForumsProgramming Forum

OpenGL or Direct3D (DirectX)

Posted Oct 2, '11 at 4:38pm

deadhead50

deadhead50

346 posts

So I'm bringing in a huge debate between programmers, what's better, OpenGL or Direct3D (DirectX)? Direct3D only supports windows based systems and if your running lower than vista you have to use Direct3D 9 instead of 10 or 11. Where OpenGL is multi-platform and is open-source but imo is harder to learn. So game programmers out there, what do you use Direct3D or OpenGL for your graphics api?

 

Posted Oct 3, '11 at 7:14pm

Somewhat49

Somewhat49

1,608 posts

I personaly like Direct3D better, but I never really used OpenGL so I can't give a fair desicion.
DirectX is better for making shaders for me though.

 

Posted Oct 3, '11 at 8:01pm

Darkroot

Darkroot

2,549 posts

OpenGL is infinitely better. Well not really but being cross platform, open source and being as powerful as or more powerful as DirectX. Not to mention that Microsoft copies the technologies in OpenGL then publicly slanders them. I would vote OpenGL.

Microsoft doesn't encourage competition of technologies to keep them from being stagnant and unreasonable. You use DirectX on Microsoft terms and not your own.

So game programmers out there

This is not only a subject of "game programmers" but also anyone in computer science specifically computer graphics. Just nitpicking details here thought.

 

Posted Oct 5, '11 at 7:38am

WhiskeyedJack

WhiskeyedJack

83 posts

Honestly, GLSL (OpenGL Shader Language) isn't that bad and these days you are better off being cross platform anyways.

Well not really but being cross platform

@Darkroot I'm not sure why you would say that. OpenGl is available in Mac, Linux and Windows and GLSL is interpreted by the video card directly (and the drivers thereof).

 

Posted Oct 5, '11 at 7:59pm

Darkroot

Darkroot

2,549 posts

@Darkroot I'm not sure why you would say that. OpenGl is available in Mac, Linux and Windows and GLSL is interpreted by the video card directly (and the drivers thereof).

Excuse my poor writing let me fix that.

OpenGL is infinitely better, well not really. But being cross platform,

 

Posted Oct 6, '11 at 7:45am

WhiskeyedJack

WhiskeyedJack

83 posts

No worries. I was just a bit confused for a second there.

 

Posted Oct 8, '11 at 1:28pm

Somewhat49

Somewhat49

1,608 posts

Actualy I heard that DirectX IS cross platform, but I don't know if it crosses from windows to mac.

 

Posted Oct 9, '11 at 11:33pm

Darkroot

Darkroot

2,549 posts

Well you probably heard wrong. It's as cross platform as almost anything from large corporations is open source.

Everything to my knowledge that is running on mac is using openGL. I know for a fact valve ported the source engine for openGL so they could run some of their games.

DirectX should be abolished and replaced with OpenGL, mac and linux users would be much happier.

 
Reply to OpenGL or Direct3D (DirectX)

You must be logged in to post a reply!