Monday, February 09, 2009

And I thought OpenGL was dead! 0.o

Too long since my last post. I was extremely busy with my graduation project, which I hope to write about it soon.

In the last few days, I was searching about DirectX 10 vs. OpenGL 2.1 Graphics. I am not going to list here the technical differences between both of them, you could check Google for that and as a start you could check this link:

http://en.wikipedia.org/wiki/Comparison_of_OpenGL_and_Direct3D

I am completely unaware about OpenGL, all I was know about it is that OpenGL is the standard specification for graphics libraries and that blah blah blah, and just exactly as the title says: "I thought OpenGL was dead", However, what I actually read in the last few days changed my mind 360 degrees in the other direction.

Check out OpenGL 2.1 vs. DirectX 10 / 9 graphics.

[Source: http://www.winmatrix.com/forums/index.php?showtopic=13647]
[The full thread is actually interesting]

Moreover, check out this list of OpenGL programs
http://en.wikipedia.org/wiki/List_of_OpenGL_programs
Awesome titles based on OpenGL.

In my graduation project, I am working on the “simulator module” that supposed to simulate simple classic mechanics physical models. A graphics layer is needed in the simulator, and I am thinking now about OGRE or GLUT toolkit (sort of a wrapper to OpenGL)!

Links:

OpenGL -> http://www.opengl.org/

GLUT toolkit -> http://www.opengl.org/resources/libraries/glut/



2 comments:

Islam Ossama said...

Hey! Welcome back :)

About the comparison between DirectX and OpenGL, I don't really think the difference lies in what each library can do, but rather how each API lets you accomplish a certain thing. I for one used DirectX and read about OpenGL, but I think they are both pretty similar and when it comes to rendering it's all about what the Graphics Hardware can do; the one library or the other just affects how much it facilitates doing those things.

On another note, I also currently use Ogre so if you need help with either that or DirectX, whichever you choose to use, just let me know ;-).

Magdy Wageeh said...

Islam, yay... missing you :)

Well, sort of I agree with you. ^^

Definitely yes, Graphics hardware plays very important rule in regard with both the ability to do something and the support to and compatibility with certain library.

Note: not all the hardware compatible with DX10, even DX10 is not compatible with DX9 hardware, and more generally, DX cannot use hardware features that the API does not support, on the other hand,
OpenGL can use hardware feature that its API does not support, and if the hardware does not support certain feature then the CPU calculates it. Of course, it will be slower but if you were using DX then it would not even run! (Better than nothing!)

Moreover, to be fair, we have to compare OpenGL with Direct3D not DirectX, because as you know, DirectX is a Windows-based collection of libraries (input, audio, graphics libraries…), while OpenGL is a cross-platform graphics-only API.


Check this article, its title: "OpenGL 3 & DirectX 11: The War Is Over"
http://www.tomshardware.com/reviews/opengl-directx,2019.html
you might find it interesting!

Thank you for your note! sure will do :).