| View previous topic :: View next topic |
| Author |
Message |
domeniko
Joined: 03 Dec 2007 Posts: 11
|
Posted: Mon May 19, 2008 1:59 pm Post subject: loading error from a scene exported from blender |
|
|
Hi all,
I installed gose on my Kubuntu distribution (v8.04)
i have previously installed OpenMask (1.4) and Ogre (1.4.
at this point i already updated the plugins.cfg file pointing to the right plugin folder..
I created a simple scene in blender, ed exported from there to .scene and .mesh format, using the python scripts found on the ogre package
i try to open them with gose and i get this error:
| Quote: | File selected: Sphere.scene
dsi::ERROR->OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Sphere.scene in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 604)
gose: /home/domenico/dev/ogreBin/include/OGRE/OgreSharedPtr.h:130: T* Ogre::SharedPtr<T>::operator->() const [with T = Ogre::DataStream]: Assertion `pRep' failed.
Aborted
|
then i modified the resources.cfg file adding the line:
| Quote: | | FileSystem=/home/domenico/Documents/Sphere |
which is the directory where the example is contained
then i re-run gose and try to load the example again, and i get this new error:
| Quote: |
File selected: Sphere.scene
dsi::WARNING->.scene file does not have a versionFormat attribute, will default/trye with the newest...
dsi::WARNING->.scene file versionFormat attribute is not 0.2.0, will try to parse anyway...
Mesh: Loading Sphere.mesh.
glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_construct NULL not valid
aborting...
Aborted
|
and i don't know what to do....
can you help me?
you will find the example files zipped at the following url:
http://download.yousendit.com/EEB397FF4C5DCE05
thank you in advance
domenico |
|
| Back to top |
|
 |
xlarrode Site Admin
Joined: 24 Sep 2007 Posts: 80 Location: Bruxelles
|
Posted: Tue May 20, 2008 10:01 am Post subject: |
|
|
SO it seems that our Dotsscene about the camera is different :
Change that and it will be ok.
I will commit soon the patch for the DotSceneLoader to allow both definition...
| Code: |
<!--<clipping nearPlaneDist="0.100000" farPlaneDist="100.000000"/> -->
<clipping near="0.100000" far="100.000000"/>
|
|
|
| Back to top |
|
 |
domeniko
Joined: 03 Dec 2007 Posts: 11
|
Posted: Tue May 20, 2008 10:08 am Post subject: |
|
|
thanks
but what about the file resources.cfg? do i always have to add the path of the file i want to import? |
|
| Back to top |
|
 |
xlarrode Site Admin
Joined: 24 Sep 2007 Posts: 80 Location: Bruxelles
|
Posted: Tue May 20, 2008 2:32 pm Post subject: |
|
|
Unfortunately, right now yes...
it's planed |
|
| Back to top |
|
 |
qingimiss
Joined: 09 Mar 2010 Posts: 13
|
|
| Back to top |
|
 |
|