Differences between Direct X and OpenGL?
BlitzMax Forums/BlitzMax Programming/Differences between Direct X and OpenGL?
| ||
Curious as to what each api has to offer for blitzmax, since blitzmax is a platform independent language and directX is only fully runnable on windows... If I wanted to make a game that works in windows, linux, and mac wouldn't i just use only opengl implementations (if I were to go further into the image manipulations that blitzmax tries to abstract out)? Wouldn't I just use OGL Instead of trying to get it to work with BOTH OGL and DX? Seems like extra work without enough payoff. Or am I missing something? |
| ||
If you want to run your game cross platform OpenGL is your only real option - however, DX often runs better on windows, with better driver support...so the option for windows users to swap between api's is never a bad thing.. There isnt much xtra work involved - unless your working directly with these api's..in which case your workload will be quite heavy anyway...but im guessing your making use of max2d..in which case, the changes if any should be minor.. |
| ||
thanks for the info :). |
| ||
In my apps I usually have an option for the user to use dx over opengl. A simple ini-entry like "Use_Dx=True" and all are happy! :) |