DirectX or OpenGL ....

Started by
24 comments, last by Metal Typhoon 22 years, 9 months ago
Ak37 is right, both API are very close now . I support both API in my engine and the code is so similar, it is spooky, but it is now VERY easy to support both API.

Time is the only reason not to do it.

Though, you write more code in D3D than Opengl to do something.


Advertisement
If you''d like to hear my 2 cents, well read on, I guess.
I think both API''s are pretty much the same in terms of functionality, but if you are considering programming for platforms other than just Windows (ie Mac, Linux, Unix, FreeBSD etc) then OpenGL is the way to go because you don''t need to make any changes for your code to run on other platforms. Xbox will support some varient of DirectX, but we all know that MS is imfamous for making last minute API changes. I think that it won''t be too long until there is OpenGL for the Xbox (I know that there is a project to port it to PS2 already). So if you want to be a crossplatform programmer, use OpenGl for the renderer & something like SDL for input & sound. SDL has almost no overhead & allow games to run on Linux & Windows. I''m a linux programmer, so I use OpenGL & try to keep Uncle Bill unhappy as often as possible.

Cheers
Brad
Cool dude !!!!! thanks that''s what i was looking for !

"The shortcut is not always the best way "

Metal Typhoon
Metal Typhoon
Good. Hopefully this thread dies then as I don''t really care for it myself. I will let this thread live so long as it doesn''t digress into personal attacks, etc. Any other threads remotely similar to this will be redirected to this thread and the aforementioned closed at the very least and more than likely deleted.

I''m hoping after this thread is a gazillion replies long everyone will see how pointless these types of post are. (You could be learning one, the other, or both instead of posting what you/everyone else could/should be learning/using)

YAP-YFIO
-deadlinegrunt

~deadlinegrunt

Microsoft Visual C++ is way better than Borland C++. Why? Borland well, im not totaly sure of this but I belive it compiles junk into your code. VC++, i know for a fact compiles straight foward must have stuff, nothing else. I also belive VC++ is a faster compiler. VC++ is the way to go for gaming, or any type of programming. Borland, for application, COM, database. defently NOT for gaming. :D
yep, Grunt your right such topics start good but will end in personal attacks or some sick nonsense.

This topic is closed to new replies.

Advertisement