Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Computer Forums > Software Programming
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

Software Programming Software programming talk, ask questions about computer software programming or help others

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 06-12-2007, 11:18 PM   #1
Steven Binion
 
Steven Binion's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

I want to start learning about developing 3D games, and I wanted to find out
what some of you think is superior and or more programmer friendly to the
new comer OpenGL or DirectX


--
Steven Binion
stevenbinion@the-binions.com
http://the-binions.com

AIM: stevebinion
MSN: stevenbinion@hotmail.com
Yahoo: stevenbinion


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 06-12-2007, 11:18 PM   #2
Peter Ashford
 
Peter Ashford's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

Steven Binion wrote:

> I want to start learning about developing 3D games, and I wanted to find out
> what some of you think is superior and or more programmer friendly to the
> new comer OpenGL or DirectX


Neither is superior in terms of performance. IMO OpenGL is easier to
understand, though the difference is not great.

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:18 PM   #3
Fronsac
 
Fronsac's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

"Steven Binion" <stevenbinion@the-binions.com> wrote in message
news:8Q8pb.2113$Oo4.96@newsread1.news.atl.earthlin k.net...
> I want to start learning about developing 3D games, and I wanted to find

out
> what some of you think is superior and or more programmer friendly to the
> new comer OpenGL or DirectX
>


DirectX is great for games, OpenGL only concerns graphics. If you plan to
run your stuff under something else than Windows, OpenGL is the only thing
you can use though. You can't make a game only with OpenGL. You'll have to
use some network library (like WinSock2), some sound library (probably
Direct Sound) and input library (Direct Input). So if you want to make a
game, maybe it's better to look into DirectX, since the syntax and way to
think will be familiar across libraries. If you want to have real fun
though, use OpenGL for the graphics, and DirectInput, DirectPlay and
DirectSound for the rest. OpenGL is much easier in my own opinion that
Direct3D. And there's no trouble mixing the two. Heck, you can even have a
Direct3D window and have a OpenGL window as a child!

Have fun!



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:18 PM   #4
Fronsac
 
Fronsac's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

Hi,
OpenGL and DirectX are apple and oranges. OpenGL is a graphic library
that helps you display 2D and 3D pictures. DirectX is a library that helps
you drawing, playing sounds, sending data over the network. In fact, DirectX
is probably what comes closest to a game programming library. OpenGL only
does graphics.

I suppose what you meant was what's is better between OpenGL and
Direct3D. Personally, I prefer OpenGL because the code I write with it can
run on Linux and MacOS, while Direct3D is Windows centric, and works only
under Windows. Some clever people managed to have it run under Linux, but
it's prone to crashes and is not as fast.

In terms of features, both API are about the same, though Microsoft
seems to be pushing more the enveloppe when it comes to 3D. While the while
OpenGL comitee has to agree on adding a feature to OpenGL, Microsoft is the
only one to decide if a new feature is part of Direct3D, which makes the
adoption of new techniques faster. But feature wise they're still about the
same. Some people will argue that DirectX is faster, some will argue OpenGL
is. That I can't tell you.

What I can tell you though is that OpenGL programming is very easy to
learn and understand. I always found the basic concepts of Direct3D harder
to understand than OpenGL, but that's just me. A good introduction to OpenGL
can be found at Nehe Productions at http://nehe.gamedev.net/

Have fun!


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:18 PM   #5
Steven Binion
 
Steven Binion's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

Well sounds like I may want to learn both then eventually. but for now. Just
start with using DirectX. once I start grasping it, take a look at the
OpenGL and see how well I do on incorporating it into the Direct3D Thank you
for giving me some feedback on this issure.

--
Steven Binion
stevenbinion@the-binions.com
http://the-binions.com

AIM: stevebinion
MSN: stevenbinion@hotmail.com
Yahoo: stevenbinion
"Fronsac" <fronsacqcN05PAM@hotmail.com> wrote in message
news:E2hpb.12915$of7.493612@wagner.videotron.net.. .
> "Steven Binion" <stevenbinion@the-binions.com> wrote in message
> news:8Q8pb.2113$Oo4.96@newsread1.news.atl.earthlin k.net...
> > I want to start learning about developing 3D games, and I wanted to find

> out
> > what some of you think is superior and or more programmer friendly to

the
> > new comer OpenGL or DirectX
> >

>
> DirectX is great for games, OpenGL only concerns graphics. If you plan to
> run your stuff under something else than Windows, OpenGL is the only thing
> you can use though. You can't make a game only with OpenGL. You'll have to
> use some network library (like WinSock2), some sound library (probably
> Direct Sound) and input library (Direct Input). So if you want to make a
> game, maybe it's better to look into DirectX, since the syntax and way to
> think will be familiar across libraries. If you want to have real fun
> though, use OpenGL for the graphics, and DirectInput, DirectPlay and
> DirectSound for the rest. OpenGL is much easier in my own opinion that
> Direct3D. And there's no trouble mixing the two. Heck, you can even have a
> Direct3D window and have a OpenGL window as a child!
>
> Have fun!
>
>
>



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:18 PM   #6
Steven Binion
 
Steven Binion's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

Thank you for giving me some feedback on this question. and for the link. I
definately know now to start with DirectX first as Windows is what I work
with, and I program in MS VC++, I'll start with OpenGL after I get a fair
grip on DirectX and incorporate the OpenGL


--
Steven Binion
stevenbinion@the-binions.com
http://the-binions.com

AIM: stevebinion
MSN: stevenbinion@hotmail.com
Yahoo: stevenbinion
"Fronsac" <fronsacqcN05PAM@hotmail.com> wrote in message
news:F6cpb.10313$of7.251914@wagner.videotron.net.. .
> Hi,
> OpenGL and DirectX are apple and oranges. OpenGL is a graphic library
> that helps you display 2D and 3D pictures. DirectX is a library that helps
> you drawing, playing sounds, sending data over the network. In fact,

DirectX
> is probably what comes closest to a game programming library. OpenGL only
> does graphics.
>
> I suppose what you meant was what's is better between OpenGL and
> Direct3D. Personally, I prefer OpenGL because the code I write with it can
> run on Linux and MacOS, while Direct3D is Windows centric, and works only
> under Windows. Some clever people managed to have it run under Linux, but
> it's prone to crashes and is not as fast.
>
> In terms of features, both API are about the same, though Microsoft
> seems to be pushing more the enveloppe when it comes to 3D. While the

while
> OpenGL comitee has to agree on adding a feature to OpenGL, Microsoft is

the
> only one to decide if a new feature is part of Direct3D, which makes the
> adoption of new techniques faster. But feature wise they're still about

the
> same. Some people will argue that DirectX is faster, some will argue

OpenGL
> is. That I can't tell you.
>
> What I can tell you though is that OpenGL programming is very easy to
> learn and understand. I always found the basic concepts of Direct3D harder
> to understand than OpenGL, but that's just me. A good introduction to

OpenGL
> can be found at Nehe Productions at http://nehe.gamedev.net/
>
> Have fun!
>
>



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:19 PM   #7
Xyllon
 
Xyllon's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

As hard as they are to compare, I still say you shouldn't waste your time
with OpenGL, it's overblown if you ask me.


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:19 PM   #8
Steven Binion
 
Steven Binion's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

I'll keep that in mind. I haven't heard enough support on it, to make it
worth my while anyway.


--
Steven Binion
stevenbinion@the-binions.com
http://the-binions.com

AIM: stevebinion
MSN: stevenbinion@hotmail.com
Yahoo: stevenbinion
"Xyllon" <spam@spam.spam> wrote in message
news:%EHpb.6304$Bv6.1934469@news1.epix.net...
> As hard as they are to compare, I still say you shouldn't waste your time
> with OpenGL, it's overblown if you ask me.
>
>



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:19 PM   #9
John R. Strohm
 
John R. Strohm's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

Steve, you should probably take into account the fact that OpenGL does run
under Windows, but DirectX doesn't run under anything OTHER than Windows.

I'm in a Computer Graphics class this semester. We're using OpenGL. I
chose to do all my work on Linux, because I know that toolset "well enough".
Other people are doing their work on Windows boxes. The graphics code,
using OpenGL, is IDENTICAL between the two platforms.

Or you could just take judicious note of the fact that id ported Doom to
Silicon Graphics workstations using OpenGL...

"Steven Binion" <stevenbinion@the-binions.com> wrote in message
news:CYmpb.3120$9M3.961@newsread2.news.atl.earthli nk.net...
> Thank you for giving me some feedback on this question. and for the link.

I
> definately know now to start with DirectX first as Windows is what I work
> with, and I program in MS VC++, I'll start with OpenGL after I get a fair
> grip on DirectX and incorporate the OpenGL
>
>
> --
> Steven Binion
> stevenbinion@the-binions.com
> http://the-binions.com
>
> AIM: stevebinion
> MSN: stevenbinion@hotmail.com
> Yahoo: stevenbinion
> "Fronsac" <fronsacqcN05PAM@hotmail.com> wrote in message
> news:F6cpb.10313$of7.251914@wagner.videotron.net.. .
> > Hi,
> > OpenGL and DirectX are apple and oranges. OpenGL is a graphic

library
> > that helps you display 2D and 3D pictures. DirectX is a library that

helps
> > you drawing, playing sounds, sending data over the network. In fact,

> DirectX
> > is probably what comes closest to a game programming library. OpenGL

only
> > does graphics.
> >
> > I suppose what you meant was what's is better between OpenGL and
> > Direct3D. Personally, I prefer OpenGL because the code I write with it

can
> > run on Linux and MacOS, while Direct3D is Windows centric, and works

only
> > under Windows. Some clever people managed to have it run under Linux,

but
> > it's prone to crashes and is not as fast.
> >
> > In terms of features, both API are about the same, though Microsoft
> > seems to be pushing more the enveloppe when it comes to 3D. While the

> while
> > OpenGL comitee has to agree on adding a feature to OpenGL, Microsoft is

> the
> > only one to decide if a new feature is part of Direct3D, which makes the
> > adoption of new techniques faster. But feature wise they're still about

> the
> > same. Some people will argue that DirectX is faster, some will argue

> OpenGL
> > is. That I can't tell you.
> >
> > What I can tell you though is that OpenGL programming is very easy

to
> > learn and understand. I always found the basic concepts of Direct3D

harder
> > to understand than OpenGL, but that's just me. A good introduction to

> OpenGL
> > can be found at Nehe Productions at http://nehe.gamedev.net/
> >
> > Have fun!
> >
> >

>
>



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 06-12-2007, 11:19 PM   #10
Timothy J. Bruce
 
Timothy J. Bruce's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default OpenGL or DirectX

Steve:

The core difference between OpenGL and Direct3D is the former has some
slightly higher level interfaces. In Direct3D the only surface you have
is a triangle, whereas OpenGL offers more complex polygons.

That being said, it should also be said that any programmer worth his salt
could easily, effortlessly, and painlessly write a simple shim that allows
him to work with squares and trapazoids and what not even though Direct3D
only works with triangles. This offers a really nifty advantage.

I mean it would be platform independant, as your vanila shim should easily
be able to work with Direct3D or OpenGL (why should the higher-level game
logic care?). There is good reason for this in our more mundane
experiences. Early GUI toolkits for Java looked identical on any given
platform, but they didn't look `at home' on any platform. I could whip up
some GUI that worked fine in KDE, but it didn't look like a KDE window.
The same was true when it ran on MS Windows. No matter what I did, the
buttons and such looked like Java buttons rather than MS Windows push
buttons. Netscape (IMHO) has the same problem now too. That damn toolbar
looks like nothing else in linsux or in MS Windows. Considering there are
only so many ways to create a window one would think writing a shim (which
would call the native API) would have been obvious to those
knuckleheads...

My advice to you is simple. If you wish to learn more about OpenGL and
Direct3D, I suggest you write a vanilla shim that will let your game treat
either of the two as a black-box back-end. Your game interfaces with the
shim, not OGL or D3D. You will learn quite a *LOT* about both w/o even
comming close to completing said shim.

I have found (through painful experience) the Ease of Use would be the
following ordered list OpenGL->Direct3D->OpenScene.

I'm off-topic and rather obtuse most of the time, but I do hope this
helps,
</RANT>


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help detecting and using Two Mice in Windows OpenGL app? Steve Software Programming 3 06-12-2007 10:23 PM
Importance of DirectX 9 compatability Steve Software Programming 10 06-12-2007 10:20 PM
Problems with directx 9 Wayne Operating Systems And Software 1 05-28-2007 5:56 PM


Featured Websites




All times are GMT +1. The time now is 8:20 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98