Archived

This topic is now archived and is closed to further replies.

MannyZanny

OpenGL or DirectX

Recommended Posts

JonW    173
Hi,

It really depends on preference. Personally I use OpenGL, because DirectX only works on Windows (AFAIK...). I have used DirectX in the past, and OpenGL seems to be a little easier to use, but it probably depends on what you are doing.

Share this post


Link to post
Share on other sites
Nukem    118
OpenGL is much more flexable thats why OGL is on 1.4 and DX is on 9. OGL is portable to just about any OS/gaming console. OGL is open source so you can view the source. OGL is much easyer.

Share this post


Link to post
Share on other sites
RedG3    122
Yes, i prefer opengl because of its easiness to convert to linux and its just overall easiness. I just like it better than DirectX.

Share this post


Link to post
Share on other sites
Hawkeye3    122
I thought this type of thread was forbidden ^_-

Anyway, my opinion on the matter is that its helpful to know them both. Personally I started with OpenGL and worked with it for a year. It took me a while to get a grip with everything but now I''m Ok. Just recently, I''ve switched to DirectX, and found it amazingly simple to learn. I''m not saying thats because DirectX is overly simple (its not), its that the experience from Open GL was transferrable to DirectX. Many of the functions are similar in name and operation.

I have found using DirectX more enjoyable though because I didn''t have to write all of the basic stuff ( Matrix/Vector/Quanternion classes) nor do I have to handle the exact texture loading code.

The way I see it is that if you want to make a cross-platform program, use OpenGL, otherwise, if you are planning on making the program ONLY support windows, go with DirectX - you''ll probably save yourself some startup time. At least thats my opinion.

Share this post


Link to post
Share on other sites
UltimaX    468
Here we go agian!

Do what I did, add both to your engine. Then you don't have to worry about it.

Nukem:
Saying it's open source is funny by the way. You actually think they would let the general public (Peeps) see how to gain access to the hardware? If they did there would be a zillion graphic libraries. "Oh thats the code to gain access to hardware.... I don't really understand this.... Oh well!!!! copy this here, paste that there... YES, I'M A GOD!"

EDIT: Wonder how long this thread will last.... Oh mods love these!

-UltimaX-

"You wished for a white christmas... Now go shovel your wishes!"

[edited by - UltimaX on July 8, 2003 11:24:27 PM]

Share this post


Link to post
Share on other sites
Wavarian    850
Sometimes i wonder how many people actually read the faq. And btw, this is a pretty funny topic to be posting on an opengl forum lol. A little biased perhaps?

Share this post


Link to post
Share on other sites
skow    248
heh glide.

Of course on a Opengl board people will say opengl. I am no diffrent.

I prefur ogl myself

Share this post


Link to post
Share on other sites
TravelingCoder    296
quote:
Original post by MannyZanny
What is the difference between OpenGL and DirectX? And which one is better?




Neither is better, they both have their own strengths and weaknesses.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
mesa(mesa3d.sf.net) provided OpenGL for many OSs and that is Open Source. OpenGL stands for Open Source Graphics Lib.

Share this post


Link to post
Share on other sites
UltimaX    468
>>OpenGL stands for Open Source Graphics Lib<<
Ummmm no it does not! OPENGL HAS NOTHING TO DO WITH OPEN SOURCE! RTFM! It OpenGL ("Open Graphics Library") not OpenSGL ("Open Source Graphics Library")

This should clarify it... @&!$!%^@$!#

-UltimaX-

"You wished for a white christmas... Now go shovel your wishes!"

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.