Quote:
Originally Posted by Obelix
Я не нашел хорошей информации на эту тему в интернете. Прошу модераторам передвинуть топик если он не здесь полагается.
Итак. Судя по имеющимся в сети играм, очевидно, что в целях создания 3D анимации предпочтим DirectX. Вопрос: в чем именно, и почему тек не любят (или любят?) OpenGL. Насколько большой выигрыш в скорости/качестве?
|
-------
OpenGL
Pros
· Portability
§ Allows programmers to write applications that will run on multiple platforms
· Open Standard
§ Companies with a platform can buy a license and create their own implementations for it
· Many Features and Extensions
§ Many companies have created extensions for use in such areas as military, CAD, and of course games
· Extensive Documentation and resources
§ Many sites including
www.opengl.com are available that include tutorials and class definitions
Cons
· Too Many Extensions?
§ The code can become cluttered and confusing
· Most video cards have support for OpenGL and DirectX, but a few still have less support for OpenGL.
· Not Object Oriented
§ Can be a problem for the growing popularity of OOP
Summary of OpenGL
It is hard to find many disadvantages to OpenGL. All of the evidence says that unless you are only interested in Win32 games and are a diehard Microsoft fan, then OpenGL is the way to go. Even if you are interested in Win32 applications, OpenGL can pretty much do anything DirectX can, and just as fast.
DirectX
Pros
· Programmable Pixel and Vertex Shaders
§ Allows user to create custom code for portions of rendering pipeline
· Object Oriented Programming friendly
§ Uses COM (Component Object Model) programming
· Being platform dependent has advantages
§ Don't have to write vendor specific code
Cons
· Soley for use in Win32 applications
§ Not too great for portability
· Only updated about once a year
§ Hard to stay on the cutting edge
· Must be familiar with COM programming
§ Difficult for graphics beginners not familiar with COM
· Lengthy and sometimes confusing code
§ COM programming involves a lot of pointers
· Not open standard
§ Gotta go through Mr. Gates to make any changes
Summary of DirectX
DirectX is good for experienced programmers with COM programming experience and who only wish to make Win32 applications.
-
just my clusty search string .........