DirectX and OpenGL

Started by
4 comments, last by gharen2 16 years, 11 months ago
Is it possible to use both OpenGl and DirectX in the same app or would they conflict with each other?
Advertisement
Yes, many OpenGL games use DX in windows for sound,input, etc.

D3D and OpenGL is another issue but it might be possible if you use separate windows for them. (i havn't tried and i can't see a good reason to try it)
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!
Yes, it's possible to also use OpenGL and Direct3D in the same app.
I just read through about half a book an instructor of mine lent me which uses both in an engine design style layout. They use OpenGL for the majority but DirectX and XACT are used extensively when it comes to input and sound.

The Book

=============================RhinoXNA - Easily start building 2D games in XNA!Projects

Thanks for the info!
I've managed to get direct3d, opengl, and xna running in separate panels in the same form. It was a very pointless experiment on my part that I did for the heck of it, but it proved it's possible.

This topic is closed to new replies.

Advertisement