How to make irrlicht to be displayed in MFC?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Garu
Posts: 5
Joined: Sun Apr 25, 2004 10:34 am

How to make irrlicht to be displayed in MFC?

Post by Garu »

Hi everybody,
I have created an MFC application and i splitted the window into two frames. The frist frame is for button and all features, and the second frame is for displaying the rendered frame. Currently i still using a plain OpenGL code to be displayed in the second frame.
The problem with irrlicht engine is always create a new window for it's display, i don't know whether i can override this and put the output instead to the MFC frame that i have created.

Thanks for your help guys!!
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

Couldn't you just create the one MFC window and use the window Irrlicht creates? That's what the Particle Editor uses, it's seems the most sensible work around.
Guest

Post by Guest »

Hmm, thanks for the advice, but i think it will be my very last effort to do it that way. The application i developed is somekind of editor, so i think it is best to have the display on the second frame instead of having another window. I want it to looks like somewhat like milkshape 3D. Should i post this in advanced forum? Any experienced MFC programmer here?

Thank You Guys!
soconne
Posts: 87
Joined: Fri Mar 05, 2004 2:00 pm

Post by soconne »

I've already coded up a simple MFC SDI app using Irrlicht. You can find the source and modified Irrlicht files here.

http://cs.selu.edu/~soconnell/irrlicht/IrrlichtSDI.zip
Garu
Posts: 5
Joined: Sun Apr 25, 2004 10:34 am

Post by Garu »

thanks for your help, i've looked up your code but i cannot run or compile it, do you have workspace file? what version of VC you use?

Thanks again
Post Reply