Irrlicht and MFC
Irrlicht and MFC
I want to programm a Level Editor. And I want to use MFC with the Irrlicht-Engine. My question: How can i view a Irrlicht Window in as a window as in other 3d level editors. (no split screen!) i hope you understood my question because of my bad english..........
I dont think it is possible to merge IrrLicht with MFC the way you are talking-- since to start using IrrLicht, you have to let it create its own device window.
I dont know of a way to share your MFC's hDC with IrrLicht, so I doubt its possible. But I am somewhat new, and Sai or Boo or Niko may be able to help you better.
I dont know of a way to share your MFC's hDC with IrrLicht, so I doubt its possible. But I am somewhat new, and Sai or Boo or Niko may be able to help you better.
keless is right, however you could modify the engine source code and set it up so you could use the MFC's hDC. Probably pass it as a parameter in the createDevice. It'd probably be quite a bit of work and research into the irrlicht code, however. Seems most of the Windows code is in CIrrDeviceWin32.cpp.