PDA

View Full Version : OpenGL w/ DirectX



joeyTR
03-15-2003, 03:58 AM
Hi http://www.opengl.org/discussion_boards/ubb/smile.gif

Another beginners' questions here.

I've heard of programs combining OpenGL with some part of DirectX like DirectInput. Why would anyone want to do that? Couldn't OpenGL take care of everything, or is DirectInput (or DirectSound) more low-level and thus more appropriate for let's say games?

Plus would you happen to know which DirectX version is shipped with Visual C++ 6.0?

Thanks http://www.opengl.org/discussion_boards/ubb/smile.gif

[This message has been edited by joeyTR (edited 03-15-2003).]

Bob
03-15-2003, 05:06 AM
OpenGL is for graphics only, so you need something to take care of input and sound/music too. DirectInput and DirectSound are good choises.

MSVC6 does not ship DirectX at all if I'm not mistaken.

joeyTR
03-15-2003, 06:09 AM
Thanks. http://www.opengl.org/discussion_boards/ubb/smile.gif

I am quite confident that Visual C++ 6 comes with the DirectX SDK files pre-installed. I am just not sure whether it's version 5 or 6 of the SDK.

Bob
03-15-2003, 06:47 AM
I had a look in my installation of MSVC6, and there was indeed a version of DX in there. Looks like it's version 5. I did not install it, so it was obviously installed with MSVC.