socalopk.blogg.se

Directx opengl in windows 10
Directx opengl in windows 10












directx opengl in windows 10 directx opengl in windows 10

I learned a lot about 3D graphics by reading the OpenGL API and extension specs. It's portable, it makes easy things easy (like drawing one triangle), it's extensible, and it's faster since the application talks directly to the user-space IHV driver. It has a real spec, written in a precise manner, and the base API is better thought out than Direct3D, which has been hacked together over the years and still has garbage such as the infamous D3DERR_DEVICELOST. I do like portable and multivendor APIs, but for me, deployment, ease of use, stability, and licensing are also factors. I know both, I've used both, sometimes I prefer one over the other. In this specific case, it's more of an issue of practicality. To some people, it's a minor miracle anytime we write code that is in any way portable and doesn't declare at least one HRESULT variable per function. Uh, well, it shouldn't be too surprising. Not only that Avery, just look at yourself using platform specific DirectX API instead of OpenGL - how did they manage that?














Directx opengl in windows 10