ealis2001
03-03-2006 14:11:21
I want to begin working on a RPG and decided to use The OFusion add-on(nice job Lioric, btw).
1) I use the next code in order to use a scene:
OSMScene oScene;
OSMSceneCallbacks oe_Callback;
oScene.initialise("scene.osm", &oe_Callback);
oScene.createScene();
mSceneMgr = oScene.getSceneManager();
All I get after running this is a black screen. I think the problem is that I don't place the scene files in the right place. Where should I place those files(.osm, .material, .mesh, etc)? Or what else should be added to my project in order to become functional?
2) I have a sword in 3DSMax and it's made by 6 sub-objects. Each one has a different texture. When I export this I get 6 .mesh files and one .material file that contains all the information about the materials used on that object. How can I import this sword in Ogre without importing every sub-object separately and how can I add the material again in Ogre?
3) It is possible to import multiple scenes in one big scene? Because I'm thinking of exporting every object in 3dsmax as a scene and import them back in Ogre?
Thanks for your time!
1) I use the next code in order to use a scene:
OSMScene oScene;
OSMSceneCallbacks oe_Callback;
oScene.initialise("scene.osm", &oe_Callback);
oScene.createScene();
mSceneMgr = oScene.getSceneManager();
All I get after running this is a black screen. I think the problem is that I don't place the scene files in the right place. Where should I place those files(.osm, .material, .mesh, etc)? Or what else should be added to my project in order to become functional?
2) I have a sword in 3DSMax and it's made by 6 sub-objects. Each one has a different texture. When I export this I get 6 .mesh files and one .material file that contains all the information about the materials used on that object. How can I import this sword in Ogre without importing every sub-object separately and how can I add the material again in Ogre?
3) It is possible to import multiple scenes in one big scene? Because I'm thinking of exporting every object in 3dsmax as a scene and import them back in Ogre?
Thanks for your time!