Search found 6 matches
- Wed Oct 12, 2011 01:18
- Forum: Bug Reports, Suggestions, Feature Requests
- Topic: findCEGUI.cmake
- Replies: 7
- Views: 20805
Re: findCEGUI.cmake
I found this little gem a little bit ago and have been using it since, but the mass renaming that recently occurred in the trunk broke it. The following tiny change seems to be all that is required to be able to find the renderer module headers again. Enjoy. diff --git a/cmake/FindCEGUI.cmake b/cmak...
- Sat Jul 30, 2011 23:43
- Forum: Help
- Topic: [Solved] CEGUI only renders in certain part of an app
- Replies: 6
- Views: 5308
Re: [Solved] CEGUI only renders in certain part of an app
So I was able to solve this. Turns out that the last render target the application had set was a small surface that it was rendering to. In order to get CEGUI rendering properly I set the render target as the backbuffer, set the viewport properly, rendered, then presented. Everything seems to be wor...
- Sat Jul 23, 2011 03:47
- Forum: Help
- Topic: [Solved] CEGUI only renders in certain part of an app
- Replies: 6
- Views: 5308
Re: CEGUI only renders in certain parts of an application
I have new, hopefully useful, information. I do not believe that the state is the problem anymore. To come to this conclusion I added code that draws a 2D triangle after the call to renderGUI. Initially without the call to SetDefaultState, the triangle didn't render at all. I then found that setting...
- Fri Jul 22, 2011 14:04
- Forum: Help
- Topic: [Solved] CEGUI only renders in certain part of an app
- Replies: 6
- Views: 5308
Re: CEGUI only renders in certain parts of an application
I didn't realize that the code block would enclose the text in a scroll bar if it got to long so I left out most of the SetRenderState calls. Here they are in full, with a couple of new calls that I pulled from your post (LightEnable, SetTextureState, SetVertexShader, SetPixelShader). { this->m_devi...
- Wed Jul 20, 2011 07:36
- Forum: Help
- Topic: [Solved] CEGUI only renders in certain part of an app
- Replies: 6
- Views: 5308
Re: CEGUI only renders in certain parts of an application
I don't believe the device is changing. I added the following to the Present method and never saw it output. Also, if the device were shutdown, I would think that the gui would fail to reappear when moving back to the login part of the application (although this could be my lack of Direct3D knowledg...
- Wed Jul 20, 2011 01:54
- Forum: Help
- Topic: [Solved] CEGUI only renders in certain part of an app
- Replies: 6
- Views: 5308
[Solved] CEGUI only renders in certain part of an app
Hi everyone, First, a reference: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=4620 . As in the above thread, I am hooking into a game in the attempt to draw a custom gui on top of the game. In the CreateDevice function, I initialize the CEGUI system using a Direct3D9Renderer. Before calli...