Problems with the old terrain scene manager

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
User avatar
lonewolff
Ogre Magi
Posts: 1207
Joined: Wed Dec 28, 2005 12:58 am
x 6

Problems with the old terrain scene manager

Post by lonewolff »

Hi Guys,

Slowly making a comeback with Ogre 8)

I am trying to make an old project work with Ogre 1.9, which I created in the 1.4 days. :oops:

I am using TSM but I keep getting this error - snippet from the log;
14:02:09: SceneManagerFactory for type 'OctreeSceneManager' registered.
14:02:09: OGRE EXCEPTION(2:InvalidParametersException): World geometry is not supported by the generic SceneManager.
The error gets thrown when I call mSceneMgr->setWorldGeometry("terrain.cfg"); But as you see in the first line OctreeSceneManager is recognised as being loaded.

Any ideas where I am going wrong would be awesome :)
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 538

Re: Problems with the old terrain scene manager

Post by Kojack »

Ogre 1.7 was the last version to include the terrain scene manager. It was replaced with the terrain component (which isn't a scene manager, it instead works on top of any scene manager).
The terrain component works differently, it doesn't use setWorldGeometry.

Tutorial 3 shows how it's used: http://www.ogre3d.org/tikiwiki/tiki-ind ... Tutorial+3
It's a little more complicated, but more powerful.
User avatar
lonewolff
Ogre Magi
Posts: 1207
Joined: Wed Dec 28, 2005 12:58 am
x 6

Re: Problems with the old terrain scene manager

Post by lonewolff »

Cool, thanks for that Kojack. :)

I have been 'out of it' for a bit - LOL
Post Reply