Model Loading

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
Aroth

Model Loading

Post by Aroth »

Are there different ways to load a model or will the method used for a .md2 work fine for all models of any type? (.obj, .3ds)

Using these functions:

IAnimatedMesh* mesh = smgr->getMesh("Filename");
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh );

Thanks
John
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

Yeah, just put in the file name... it'll load as long as its a supported format. (look at the Features page on the Irrlicht man site)
Post Reply