Open GL vs Direct X

BlitzPlus Forums/BlitzPlus Programming/Open GL vs Direct X

Grey Alien(Posted 2005) [#1]
Does anyone know how to use OpenGL to draw instead of DirectX in Blitz Plus or is it just another graphics driver that needs to be checked and set with GfxDriverName$ and SetGfxDriver? This would mean showing the user a list of their drivers before the game started I assume, unless Open GL has *exactly* the same working on different PCs, then I could try to set it by looping through the list of graphics drivers and picking it if it exists, I might even be able to just search for "Open GL" as a substring.

Does anyone know if OpenGL handles vertical refresh differently fromDirectX?


Who was John Galt?(Posted 2005) [#2]
Blitz Plus doesn't support OpenGL out of the box, although people have produced libraries to add OGL support - but it would mean changing your code a bit.

No idea with regards to the refresh.


Grey Alien(Posted 2005) [#3]
OK thanks anyway. It does say on the products page that it supports OpenGL and I once saw a thread about changing the driver to it I'm sure.


Who was John Galt?(Posted 2005) [#4]
Wow that's news to me - sorry if I misinformed you.


xlsior(Posted 2005) [#5]
Like you said, it's just another graphicsdriver you can change to.


Grey Alien(Posted 2005) [#6]
OK, thanks, any idea if the name is the same on all systems?