DMF load problem - pls help!
Posted: Sat Nov 10, 2007 12:37 pm
Hi,
i have OS linux. When i trying to load dmf with texture than:
Code:
Error when i trying to run compiled file:
Mesh was loaded, but to texture path was added "\". This is file system problem , but i dont have any idea to fix it.
PLEASE HELP!!
i have OS linux. When i trying to load dmf with texture than:
Code:
Code: Select all
smgr->getParameters()->setAttribute(DMF_TEXTURE_PATH,"./texture/");
smgr->getParameters()->setAttribute(DMF_USE_MATERIALS_DIRS, false);
IAnimatedMeshSceneNode *anms = smgr->addAnimatedMeshSceneNode(smgr->getMesh("./data/room.dmf"));
Code: Select all
Could not open file of texture: ./texture/\system.bmp
Could not open file of texture: ./texture/\Floor02.jpg
Could not open file of texture: ./texture/\Floor04.jpg
Could not open file of texture: ./texture/\Water01.jpg
Could not open file of texture: ./texture/\Roof03.jpg
Loaded mesh: ./data/room.dmf
PLEASE HELP!!