Jump to content

OpenGL or DirectX

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
25 replies to this topic

#1
Rechocto

Rechocto

    Newbie

  • Members
  • PipPip
  • 13 posts
For programming my own 3D MMO.. Should I write it using DirectX or OpenGL?


EDIT:

err oops x3 -- 4th option = "OpenGL because it uses less resources = less laggy for slow computers" not just "because it uses less resources = less laggy for slow computers"

#2
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
Opengl is easier for beginners but its less flexible because directx has more control over hardware resources

#3
Rechocto

Rechocto

    Newbie

  • Members
  • PipPip
  • 13 posts
Not to mention, when using OpenGl you also need to use OpenAl or some other audio library and try to sync them, I think they have an openinput aswell, but your well enough off just using getasynckeystate()..

DirectX has all that rolled into one, but is a bit more complex and is windows exclusive (not that I'd ever use anything but windows (or linux+wine) cause I'm not gay and or uselessly stupid -- just look at the commercials for that other system.)

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I've never created anything in either but I've always preferred OpenGL simply because it is cross-platform (Mac, Linux, Windows). Running games in Wine always seems to have problems.

#5
Guest_jackspar_*

Guest_jackspar_*
  • Guests
What This??????

#6
Guest_Jordan_*

Guest_Jordan_*
  • Guests
What do you mean "What this"? It is a vote between DirectX and OpenGL.

#7
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts

Rechocto said:

Not to mention, when using OpenGl you also need to use OpenAl or some other audio library and try to sync them, I think they have an openinput aswell, but your well enough off just using getasynckeystate()..

DirectX has all that rolled into one, but is a bit more complex and is windows exclusive (not that I'd ever use anything but windows (or linux+wine) cause I'm not gay and or uselessly stupid -- just look at the commercials for that other system.)

Huh?

If you don't use linux or wine you are gay and uselessly stupid?

Good point.

Fail.

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
My option would be OpenGL because it is cross-platform, but that may or may not be a consideration for you.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
gaylo565

gaylo565

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 268 posts
I am a fan of directX because it is structured much like c++ and uses common files (which are c++ specific) to help with most common things you need to do. People complain that the code for DirectX is longer and sometimes more complicated than that of openGL but if you can't take long code you wont do well in the game coding world;) One must consider that it isn't cross platform...yup just windows. But because the standard is controlled by just windows it doesn't end up with several different extensions written by different companies that do the same thing but with different coding standards. Then one eventually gets chosen as a standard and if you learned the others you are crap out of luck. I am always a guy who sticks up for .Net and other windows products so this pretty much goes hand in hand with being a DirectX guy. If you are serious about this I suggest reading this article to really learn the differances: GameDev.net - Direct3D vs. OpenGL: Which API to Use When, Where, and Why

#10
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts

gaylo565 said:

I am always a guy who sticks up for .Net and other windows products so this pretty much goes hand in hand with being a DirectX guy.

You fail.

#11
Rechocto

Rechocto

    Newbie

  • Members
  • PipPip
  • 13 posts

MeTh0Dz|Reb0rn said:

Huh?

If you don't use linux or wine you are gay and uselessly stupid?

Good point.

Fail.

if you use the unmentioned operating system... Putting it in my post would be a disgrace to myself

#12
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Yeah you fail.