I have a problem with loading some custom maps in ogre 1.4.0rc1 in form of std::bad_alloc exception which is thrown from Plugin_BSPSceneManager_d.dll. I use sdk without sources so I cannot determine on which statement it fails exactly. But I use standard quake 3 bsp map made with quark and compiled with q3map_2.5.16_win32_x86.
The problem could be reproduced in the following way. When I make simple map (4 walls, sky and border) in quark it is loaded and displayed as it should be. But if I add a sphere (in fact in quark it doesn't look quite as sphere rather complex polyhedron) ogre fails to load on the following statement
Code: Select all
ResourceGroupManager::getSingleton().loadResourceGroup( ResourceGroupManager::getSingleton().getWorldResourceGroupName(),
false, true);
I use ogre 1.4.0rc1 for VS2005 SP1, on WinXp SP2 (it has been reproduced on Vista ). Please tell me is it something I forgot or is it a bug in ogre?