While using scene:exterior close - missing CEGUI arrow

Genie

11-03-2006 18:25:04

well I really don't know if this is Ogre or oFusion question :) but when I use Generic Scene Manager in oFusion->scene window and then export to a .osm file and start it in my ogre app I have CEGUI arrow but if I use Exterior Close Scene Manager, arrow is no more there (but for example, camera movment is still working).

Lioric

13-03-2006 16:57:34

Seems to be an Ogre issue, can you call a 'show' method for your CEGUI arrow after loading the scene or in the first rendering call?

Genie

14-03-2006 10:54:18

hi, tx on suggestions but I have tried all of that.. with no luck...

hm..

Genie

14-03-2006 11:26:06

ah... solved ..

ya know what they say... RTFM :)

// setup GUI system
mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000);
//NOTE!! if you are using the "ST_EXTERIOR_CLOSE" sceneManager you will need to replace this line with the following:
//mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, mSceneManager);
//with mSceneManager being a pointer to your scene manager
mGUISystem = new CEGUI::System(mGUIRenderer);
CEGUI::Logger::getSingleton().setLoggingLevel(CEGUI::Informative);

http://www.ogre3d.org/wiki/index.php/Basic_Tutorial_6