Two different sets of code fighting for exclusive rights over your video memory and renderer.
Just go Direct3D... OpenGl and DX are merging anyway.. and DX seems to be portable to the new API that will be formed.
-DL
-DL
It depends on what you're gonna do with your programs. If you want to create portable code, use OpenGL. If you only create programs for Windows, then you should better stay at DirectX, because there are many components and if you understand one, it's not hard to understand the rest.
CU
------------------
Skullpture Entertainment
#40842461
1)
There's a very simple reason why you can't use a ddraw surface to render opengl on and still access through ddraw functions:
Microsoft hasn't written a driver model to support it.
This is the essential reason, though there can be some issues with hardware compatibility, but MS hasn't even given venders a chance to try it out.
2)
OpenGL and DX are not merging, SGI will continue to support OpenGL and a recent announcement makes it clear that they have stepped out of cooperation with MS on the low-level API.
3)
It is common practice to use ddraw to temporarily set fullscreen (for one app), since MS did not include this functionality in the Win32 API. However, I don't believe this is what TheGoop was asking about.
4)
There are many other reasons to choose OpenGL over DX than just portability. I use OpenGL, but I'm not a fierce advocate of it, try them both and make your own decision.
------------------
Scott Franke [druid-]
sfranke@usc.edu
druid-'s GL Journal
http://www.gamedev.net/opengl
--TheGoop
l8r
Ryan