DirectX7(B3D) and OpenGL(MiniB3D)
BlitzMax Forums/BlitzMax Beginners Area/DirectX7(B3D) and OpenGL(MiniB3D)
| ||
How would you go about implementing the proper API depending on the OS being used? |
| ||
Who says OpenGL isn't a proper API for Windows? |
| ||
The Windows computers that fail at OpenGL? Not saying it's OpenGL's fault.. |
| ||
And then of course there are the Windows computers which fail with B3D+DX7... Ack! |
| ||
And I'm pretty sure that there are some computers with integrated cards like some VIA cards) that fail in both... (well those cards fail in everything that requieres hardware acceleration as far as I know). |
| ||
haha okay okay let me rephrase the question, Should I use DirectX7(B3D) on Windows machines and OpenGL(MiniB3D) on Mac and Linux or just use OpenGL for all? I've noticed some people prefer to use Dx7 for Windows over OpenGL, just wondering why? Especially considering that Windows has support for both |
| ||
I'd go OpenGL initially unless your specific computer sucks at it... the vast majority of computers run it fine and if you want cross platform... thats the one! However, its not that hard to support both DX9 and OpenGL with a simple switch in Max |
| ||
DX9? What "engine" would that use? |
| ||
Forget DX7. Have a look at those to see how bad it is: http://www.blitzbasic.com/Community/posts.php?topic=88702 http://www.blitzbasic.com/Community/posts.php?topic=88984 http://www.blitzbasic.com/Community/posts.php?topic=88837 With latest nVidia drivers (most reports I got are from geforce 8800), B3D became very unstable, specially on Windows 7 (on 64 bits at least, don't know 32bits). It looks like it's a problem with sprites parented or with entityorder. You'll get a much better stability with miniB3D + bMax... haven't seen it crash on any computer so far. |