osknoes
01-02-2009 04:29:44
Hi guys!
I'm new using oFusion and Ogre3D.
I've spent some time looking how oFusion works, following the video tutorials and so on.
Now, it's time to start coding. I've tried to load a basic scene, but I don't get it.
What I have :
A real little project compiling and working using the code for loading scenes.
My exported objects copied to the root of the ogre/media. That is the root in the resources.cfg of ogre.
What's the problem:
In OgreOSMScene.cpp when the code execute this :
DataStreamPtr pStream = ResourceGroupManager::getSingleton().openResource(pszXMLFile);
Seems like he can't load the scene, or he can't find it. I looked at the ogre.log, but there's no data about my scene.osm. Not either with my sphere.mesh.
But, i see he try to load my test.material (that's all I have, a scene with a sphere with a simple material)
So, any advice will be really aprecaited. Thanks so much.
I'm new using oFusion and Ogre3D.
I've spent some time looking how oFusion works, following the video tutorials and so on.
Now, it's time to start coding. I've tried to load a basic scene, but I don't get it.
What I have :
A real little project compiling and working using the code for loading scenes.
My exported objects copied to the root of the ogre/media. That is the root in the resources.cfg of ogre.
What's the problem:
In OgreOSMScene.cpp when the code execute this :
DataStreamPtr pStream = ResourceGroupManager::getSingleton().openResource(pszXMLFile);
Seems like he can't load the scene, or he can't find it. I looked at the ogre.log, but there's no data about my scene.osm. Not either with my sphere.mesh.
But, i see he try to load my test.material (that's all I have, a scene with a sphere with a simple material)
So, any advice will be really aprecaited. Thanks so much.