Page 1 of 1

Model Loading

Posted: Tue Nov 18, 2003 2:30 am
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

Posted: Tue Nov 18, 2003 2:37 am
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)