OpenGL and DirectX

Hi! I’ve been working on this engine for a little while, and I’m starting to realize that GLUT doesn’t do everything I want it to. I want to use the WinAPI, but this seems to make some things, (Like simple keyboard input and output) a lot more difficult. I was wondering if it’s possible to use DirectX within my windows application, and still use OpenGL for the drawing? The idea is to use DirectInput and DirectSound for the interfacing, then use OpenGL in place of Direct3D and DirectDraw for the graphics interfacing…

-Hey, thanks for all the Help!

That is not a problem at all. NeHe has a tutorial about uesing DrectInput and openGL #32 I think. DrectSound is pritty much the same as with out openGL.

It’s Nehe #23… ;o)