MFC and Irrlicht Engine ---------Compatible

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
HeJack

MFC and Irrlicht Engine ---------Compatible

Post by HeJack »

Hello!I am careful to study source for Irrlicht Engine.
if I use opengl,I find CVideoOpenGL.h .I don't know I use
irr::scene::ISceneManager* smgr = device->getSceneManager();
CVideoOpenGL * driver = smgr->getVideoDriver();
correct or wrong?

MFC use Irrlicht Engine? I need help,
hyoracle@hotmail.com
Gorgon Zola
Posts: 118
Joined: Thu Sep 18, 2003 10:05 pm
Location: switzerland

Post by Gorgon Zola »

hi jack :D

take a look at the tutorials.

generally you just tell irrlicht what driver (directx, opengl) you want to use.
you can get the video driver like this:

Code: Select all

video::IVideoDriver* driver=device->getVideoDriver(); 
but that is all in the tutorials.

I'm not sure if i understand you right. you want to use irrlicht in a windows app? take a look at http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1926

cheers
tom
ion

Post by ion »

MFC is evil.
Post Reply