On Windows - Why Use OpenGL?

BlitzMax Forums/BlitzMax Programming/On Windows - Why Use OpenGL?

This sounds like an overall pretty positive thread in favor of OpenGL at the moment. There are always going to be some issues no matter which API you go with, DX or GL. There will always be some driver issues, always some customer's who can't get their latest driver, always people with corrupt drivers, always people with low-end graphics cards or lack thereof, always people whose DX runs faster or slower than GL, etc. This isn't likely to change much in the coming years.

Many BlitzMax games that I've seen for Windows will often offer a DX or OpenGL option, but usually only if they're using Max2D, since otherwise someone would have had to write a DX and GL based 3D api. Who knows maybe Max3D will be a capable solution.

For cross-platform development your ONLY choice is OpenGL. It's very well supported on the Mac and pretty good on Linux (although as usual on Linux it's a bit of a fiddle installing it). On Windows so far most GL games run pretty much as good as or better than in DX modes, for me anyway on a low-mid-range ATI card. On some ATI tech demos Windows DX drivers were a bit faster than Mac GL drivers running the same demo, but hey.

GL is also supported industry wide beyond just games, has a lot of good books and documentation and tutorials. I don't think you can go much wrong with it unless your market is a narrow focus that particularly hilites the areas where GL is not too happy, like those Intel cards etc.