Dear Niko;
how can i add the .x directx file support to the engine?
i have the code for it, but i'm new to VC++ programming and i need to know which files should i modify and where to add.
.X directx file
Hi, you will not need to change a file. Simply create a class which loads the .x file and derive it from IMeshLoader. (http://irrlicht.sourceforge.net/docu/cl ... oader.html)
Then add it to the ISceneManager by calling theSceneManager->addExternalMeshLoader(yourMeshLoader);
After this, the engine is able to load .x files.
Then add it to the ISceneManager by calling theSceneManager->addExternalMeshLoader(yourMeshLoader);
After this, the engine is able to load .x files.