DigitalCyborg
21-04-2006 03:46:04
I put up Intermediate tutorial 3..
the wording and explanations are still a little rough, but i'll come back to it this weekend.
enjoy
Bahamut
04-05-2006 12:14:22
i've got a little problem here.
i have the exact same problem with the intermediate tutorial 2.
when it comes to the line
mSceneManager.SetWorldGeometry("terrain.cfg");
the program crashes.
the ogre.log says:
Error #: 4
Function: SceneManager::setWorldGeometry
Description: World geometry is not supported by the generic SceneManager..
File: d:\ogredev\dagon\ogremain\src\ogrescenemanager.cpp
Line: 1107
and i don't understand that. the code in the method CreateSceneManager() gets executed and the the SceneType gets set to ExteriorClose. i followed the code execution and it does not get set to anything else. when i call the SceneManager.TypeName() method i get back the value "DefaultSceneManager" and i don't get it.
why does that happen? how can that happen?
i tried all SceneTypes and i got the same problem with all of them.
rastaman
04-05-2006 15:43:10
I think the problem is in the Plugins.cfg file.
is the OctreeSceneManager there? I don't think cvs version has it no one has ever updated it

.
Here is what I have.
# Defines plugins to load
# Define plugin folder
PluginFolder=.
# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_BSPSceneManager
Plugin=Plugin_OctreeSceneManager
Plugin=Plugin_CgProgramManager
Bahamut
05-05-2006 08:34:53
Yeah, it works. thx
somebody should add all that stuff to the tutorials. people would also know what plugins they need for getting specific things to work then.