Search found 6 matches
- Sun Sep 09, 2012 23:08
- Forum: Help
- Topic: CEGUI + Ogre3D: can't take CEGUI screenshot
- Replies: 10
- Views: 5965
Re: CEGUI + Ogre3D: can't take CEGUI screenshot
I have finally solved this moving the keyboard input capture to the frameEnded method. Thank you for your hint Kulik :) Anyway, the keyboard capture method I think that must happen before the rendering, so I will implement some logic to catch the screenshot order before rendering and save the conten...
- Thu Sep 06, 2012 23:17
- Forum: Help
- Topic: CEGUI + Ogre3D: can't take CEGUI screenshot
- Replies: 10
- Views: 5965
Re: CEGUI + Ogre3D: can't take CEGUI screenshot
Either have a custom loop or look it up in the docs, IIRC it's something priority based, you definitely can change the order in which the listeners get called. I have implemented a basic render loop from OGRE tutorials: bool stopRendering = false; while (!stopRendering) { Ogre::WindowEventUtilities...
- Wed Sep 05, 2012 23:09
- Forum: Help
- Topic: CEGUI + Ogre3D: can't take CEGUI screenshot
- Replies: 10
- Views: 5965
Re: CEGUI + Ogre3D: can't take CEGUI screenshot
My bet would be that you are taking it before CEGUI renders over the scene. Make sure you write the contents to disk AFTER CEGUI renders or before you clear the colour buffer. How can I check that? The application uses the Ogre::Root startRendering method and there I think that it calls the frameRe...
- Tue Sep 04, 2012 21:48
- Forum: Help
- Topic: CEGUI + Ogre3D: can't take CEGUI screenshot
- Replies: 10
- Views: 5965
Re: CEGUI + Ogre3D: can't take CEGUI screenshot
I'm taking it with ogre, this way: this->window->writeContentsToTimestampedFile("screenshot", ".jpg"); I'm taking several screenshots, anytime after the cegui window is shown. The screenshot only saves the content of the ogre "scene", or whatever is called. It doesn't s...
- Tue Sep 04, 2012 18:34
- Forum: Help
- Topic: CEGUI + Ogre3D: can't take CEGUI screenshot
- Replies: 10
- Views: 5965
Re: CEGUI + Ogre3D: can't take CEGUI screenshot
Let me post some relevant code of the application. I have a method of the application class that initializes CEGUI: const bool RSOApp::RSOApplication::initCEGUI() { bool success = true; if (!this->ceguiOgreRenderer) { // this->window is a Ogre::RenderWindow* initialized as: // this->window = this->r...
- Thu Aug 30, 2012 11:49
- Forum: Help
- Topic: CEGUI + Ogre3D: can't take CEGUI screenshot
- Replies: 10
- Views: 5965
CEGUI + Ogre3D: can't take CEGUI screenshot
Hi, I'm using CEGUI with Ogre, and when I take a screenshot within a ogre scene it's fine, but when I load a CEGUI window and take a screenshot only the ogre scene appears in it. Do you know how to solve this problem? I can show some frags of the code. The app is heavly OOP and there are lot's of cl...