Programmer's Corner Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Programmer's Corner - Forums


What is it?

 
Post new topic   Reply to topic    Programmer's Corner Forum Index -> General Game Development
Author Message
ModusPonens
if A then B, if B then C...


Joined: 22 Oct 2004
Posts: 368
Location: Baltimore

PostPosted: Sat Apr 10, 2004 12:43 pm    Post subject: What is it? Reply with quote

I know it's graphics related just because I've seen it mentioned on 3D games, but what exactly is it and how is it different than DirectX?


Programmer's Corner - Tutorials, Source Code, and Help Forums for C#, C++, Java, VB, VB.NET, and Web Development.

Back to top
theraje
Cap'n Arr!


Joined: 22 Oct 2004
Posts: 262

PostPosted: Sat Apr 10, 2004 12:51 pm    Post subject: Re: What is it? Reply with quote

It's different from DirectX in that it's open source, and works on multiple platforms other than Windows. It's also easier to use, from what I hear.

Try to catch the deluge in a paper cup.

Visit My Games and Game Development Site

Visit my Message Board

Back to top
WannaBe
Wiggles


Joined: 22 Oct 2004
Posts: 714
Location: CA

PostPosted: Sat Apr 10, 2004 12:52 pm    Post subject: Re: What is it? Reply with quote

www.opengl.com

<=-AutoAim-=>
Vist My Yahoo Group:Visual Game Basic

My Computer runs on 2-Bit DOS:
01-Toggle ON/OFF
10-MsgBox "Computer has done an illegal operation. Shutting down computer."

Back to top
Eric
Idea Hamster


Joined: 21 Oct 2004
Posts: 679
Location: Bangor, Maine

PostPosted: Sat Apr 10, 2004 1:55 pm    Post subject: Re: What is it? Reply with quote

Supposed to be a LOT faster than DX as well. But I have never used it (or DX) so I can't speak from experience...



Eric D. Burdo - RLI Solutions


Sign Up Today for the Programmer's Corner Newsletter
the drop ship guide - The complete guide on to how to get started with wholesale drop shipping.

Back to top
Cerulean
Gokenin


Joined: 22 Oct 2004
Posts: 742
Location: London, England

PostPosted: Mon Apr 12, 2004 6:02 pm    Post subject: Re: What is it? Reply with quote

Its faster as it relies on hardware acceleration (a graphics hard with the opengl drivers). Very good for Linux programmers. Its close contender in the multi-platform games programming market is SDL.


PyreSoft: Programming, WebPage templates, custome webpage design, programs, etc..
Programmers corner: source code, helpful people. .net, c/c++, java, html/side scripts

Back to top
Infiniti2000@
Grasshopper


Joined: 27 Apr 2004
Posts: 1

PostPosted: Tue Apr 27, 2004 8:21 am    Post subject: Re: What is it? Reply with quote

Direct X also uses hardware acceleration. I doubt you will ever see a fair performance comparison of the two because DX only works on Windows and OpenGL is not 'supported' by Microsoft. The catch about OpenGL is that you have to find good drivers since it is not directly supported by the OS manufacturer. Btw, the more direct link is www.opengl.org.

Back to top
Machaira@
Grasshopper


Joined: 14 Jan 2004
Posts: 3

PostPosted: Tue Apr 27, 2004 12:58 pm    Post subject: Re: What is it? Reply with quote

I believe it's also a little behind technology wise. It doesn't support the latest pixel shaders if I'm not mistaken. That's the one problem with open source. MS has tons of money and people to throw into DirectX.

The other thing is that DirectX is more than just the graphics part. It also includes sound, input, networking portions whereas all OpenGL does is graphics. I believe there's a sound library similar to OpenGL (OpenAL?)

DirectX is pretty much the industry standard and will more than likely remain that way.

Back to top
Eric
Idea Hamster


Joined: 21 Oct 2004
Posts: 679
Location: Bangor, Maine

PostPosted: Tue Apr 27, 2004 1:09 pm    Post subject: Re: What is it? Reply with quote

Quote:

DirectX is pretty much the industry standard and will more than likely remain that way.


For Windows at least...

The Wine port of DirectX (called WineX I think) is decent... but still not perfect.



Eric D. Burdo - RLI Solutions


Sign Up Today for the Programmer's Corner Newsletter
the drop ship guide - The complete guide on to how to get started with wholesale drop shipping.

Back to top
WannaBe
Wiggles


Joined: 22 Oct 2004
Posts: 714
Location: CA

PostPosted: Tue Apr 27, 2004 1:24 pm    Post subject: Re: What is it? Reply with quote

XNA : ?The New DirectX?

www.microsoft.com/xna/

<=-AutoAim-=>
Vist My Yahoo Group:Visual Game Basic
-------F-o-r-u-M-s-----------
Programmers-Corner
Visual Basic Explorer
Trinity Land
Clint V Franklin Forums
--------E-M-a-i-l------------
RedKnight4099@yahoo.com
Bictuse.45@netzero.com

Back to top
Cerulean
Gokenin


Joined: 22 Oct 2004
Posts: 742
Location: London, England

PostPosted: Tue Apr 27, 2004 1:29 pm    Post subject: Re: What is it? Reply with quote

There is a commercial version of wine which concentrates on DirectX and windows gaming. I heard its pretty good too.


PyreSoft: Programming, WebPage templates, custome webpage design, programs, etc..
Programmers corner: source code, helpful people. .net, c/c++, java, html/side scripts

Back to top
intrest86
Samurai++


Joined: 31 Dec 1969
Posts: 64
Location: Johns Hopkins

PostPosted: Sat May 01, 2004 6:05 pm    Post subject: Re: What is it? Reply with quote

For one, any claims of eithe rpackage being much quicker usually result from someone who uses one incorrrectly trying the other as if it was the one they are used to.

Like Machaira said, OpenGL is the equivalent of Direct3D, not Direct X. There are some other packages that fill in some of the other spots. For example, OpenAL does audio. SDL can be used as a replacement of DirectDraw, and I hear SDL_net isa good network interface. The only one I have experience with is SDL.

There are also some design differences. OpenGL is really designed with C in mind, therefore it was not made to be class based. It is procedural. DirectX on the other hand has long been meant to be used with classes and was made with C++ in mind.

OpenGL is always revised by a committee, which does make it slow to change. DirectX is purely owned by Microsoft, even though they do enlist the help of Graphic Card makers, and is therefore a little faster to really incorporate new functionality.

Back to top
Hardout Programmer@
Grasshopper


Joined: 23 May 2004
Posts: 2

PostPosted: Sun May 23, 2004 7:04 pm    Post subject: Re: What is it? Reply with quote

OpenGL rocks man. It's alot easier to program with, though I have never tried DirectX but I have seen examples.

----------
May the force be with you
----------
A day may come where the courage of men fails, when we forsake our friends and break all bonds of fellowship, but it is not this day, THIS DAY, WE FIGHT!
----------
All you have to decide, is what to do with the time that is given to you

Back to top
Cerulean
Gokenin


Joined: 22 Oct 2004
Posts: 742
Location: London, England

PostPosted: Fri Apr 08, 2005 6:58 am    Post subject: Reply with quote

And what is it that you agree with, exactly? He just asked a question Razz.

I hear DirectX/Direct3D's biggest problem is that you build up a buffer of `commands` and then send it to be processed. Apparently quite inefficient. There's more on it around the net.
Back to top
theraje
Cap'n Arr!


Joined: 22 Oct 2004
Posts: 262

PostPosted: Fri Apr 08, 2005 11:15 am    Post subject: Reply with quote

Ignore him, Cerulean. Apparently he's been spamming the boards with nonsensical posts, probably just to get people to click on his sig.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Programmer's Corner Forum Index -> General Game Development All times are GMT - 5 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2002 phpBB Group