[Solved] CEGUI only renders in certain part of an app

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

MrSteam
Just popping in
Just popping in
Posts: 6
Joined: Wed Jul 20, 2011 00:45

[Solved] CEGUI only renders in certain part of an app

Postby MrSteam » Wed Jul 20, 2011 01:54

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 calling the Present function I call BeginScene, renderGUI, and EndScene followed by the original Present.

Initially, the gui is rendered and shows up on the screen. I was so ecstatic! However, once you proceed past the login screen, to the loading screen, the gui disappears. Continuing into the game itself the gui remains invisible. After logging out of the game and returning to the login or start screen, the gui will reappear.

While the problem encountered in the referenced thread is different, the cause of mine seems very likely to be one of states because of the nature of hooking into a third party application: you have pretty much no idea what it is doing.

The required information is as follows.

Code: Select all

19/07/2011 18:41:10 (Std)    ********************************************************************************
19/07/2011 18:41:10 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
19/07/2011 18:41:10 (Std)    ********************************************************************************
19/07/2011 18:41:10 (Std)    ---- Version 0.7.5 (Build: Nov 19 2010 Microsoft Windows MSVC++ 10.0 32 bit) ----
19/07/2011 18:41:10 (Std)    ---- Renderer module is: CEGUI::Direct3D9Renderer - Official Direct3D 9 based 2nd generation renderer module. ----
19/07/2011 18:41:10 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
19/07/2011 18:41:10 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
19/07/2011 18:41:10 (Std)    ---- Scripting module is: None ----
19/07/2011 18:41:10 (Std)    ********************************************************************************
19/07/2011 18:41:10 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
19/07/2011 18:41:10 (Std)    ********************************************************************************


The reset of the initialization looks pretty typical. No errors show up (which makes sense because the gui shows up!).

A simple std::wcout call shows that renderGUI() is still being called even though nothing is showing up.

The referenced thread has two potential solutions to the problem.
1)
Another option you have is this:
1) When D3D first starts up (states at default), set the CEGUI states from initPerFrameStates, and record a state block.
2) Rewrite initPerFrameStates so instead of setting states, it applies the state block recorded above.
3) Do everything else the same as now.
4) ????
5 Profit!

2) Explicitly set the display size

Seeing how the gui is rendered initially it seems that (2) is unlikely, and that (1) is the likely solution.

I tried this and nothing changed. I also tried explicitly setting all render, sampler, and texture-stage states (below) to their defaults from the msdn documentation with no avail. What confused me about this was even though I did not restore the previous state, the game continued to function normally. While it is possible the game restores all states each frame, it seems unlikely. As such, this confused me.

Code: Select all

this->m_device->BeginScene();
// Set by CEGUI
this->m_device->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
this->m_device->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);

this->m_device->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_GOURAUD);

// Set by CEGUI
this->m_device->SetRenderState(D3DRS_ZWRITEENABLE, TRUE);
this->m_device->SetRenderState(D3DRS_ALPHATESTENABLE, FALSE);

this->m_device->SetRenderState(D3DRS_LASTPIXEL, TRUE);
...
...
...
CEGUI::System::getSingleton().renderGUI();
this->m_device->EndScene();
// Present called


So with no more ideas I've come to everyone here. I apologize if I've overlooked something simple; This is my first foray into Direct3D.

Thanks everyone.
Last edited by MrSteam on Sat Jul 30, 2011 23:41, edited 1 time in total.

MarkR
Quite a regular
Quite a regular
Posts: 64
Joined: Thu Jul 15, 2010 06:55

Re: CEGUI only renders in certain parts of an application

Postby MarkR » Wed Jul 20, 2011 04:20

I could imagine that the D3D9Device (this->m_device) was shut down. Add a check to the present method, if the device changes. If yes, shut down the D3D9Renderer and reinitialize it again.

MrSteam
Just popping in
Just popping in
Posts: 6
Joined: Wed Jul 20, 2011 00:45

Re: CEGUI only renders in certain parts of an application

Postby MrSteam » Wed Jul 20, 2011 07:36

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 knowledge speaking).

Code: Select all

static IDirect3DDevice9* d3dLastDevice = 0;

if((d3dLastDevice != this->m_device) && (d3dLastDevice != 0))
{
   std::wcout << "Device changed.\n\n\n\n\n\n" << std::endl;
}

d3dLastDevice = this->m_device;


Thanks for the suggestion!

MarkR
Quite a regular
Quite a regular
Posts: 64
Joined: Thu Jul 15, 2010 06:55

Re: CEGUI only renders in certain parts of an application

Postby MarkR » Fri Jul 22, 2011 07:08

I see you're trying to reset the RenderStates manually before calling RenderGUI(), however the list is not complete.
Please check my post under viewtopic.php?f=10&t=5594 for what I did in the ts3overlay project.

You also might try the solution mentioned in this thread: viewtopic.php?f=10&t=5610

MrSteam
Just popping in
Just popping in
Posts: 6
Joined: Wed Jul 20, 2011 00:45

Re: CEGUI only renders in certain parts of an application

Postby MrSteam » Fri Jul 22, 2011 14:04

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).

Code: Select all

{
   this->m_device->CreateStateBlock(D3DSBT_ALL, &m_default_state);

   this->m_device->SetVertexShader(NULL);
   this->m_device->SetPixelShader(NULL);

   // Set by CEGUI
   this->m_device->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
   this->m_device->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);

   this->m_device->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_GOURAUD);
   
   // Set by CEGUI
   this->m_device->SetRenderState(D3DRS_ZWRITEENABLE, TRUE);
   this->m_device->SetRenderState(D3DRS_ALPHATESTENABLE, FALSE);

   this->m_device->SetRenderState(D3DRS_LASTPIXEL, TRUE);
   
   // Set by CEGUI
   this->m_device->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_ONE);
   this->m_device->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_ZERO);
   this->m_device->SetRenderState(D3DRS_CULLMODE, D3DCULL_CCW);

   this->m_device->SetRenderState(D3DRS_ZFUNC, D3DCMP_LESSEQUAL);
   this->m_device->SetRenderState(D3DRS_ALPHAREF, 0);
   this->m_device->SetRenderState(D3DRS_ALPHAFUNC, D3DCMP_ALWAYS);
   this->m_device->SetRenderState(D3DRS_DITHERENABLE, FALSE);
   
   // Set by CEGUI
   this->m_device->SetRenderState(D3DRS_ALPHABLENDENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_FOGENABLE, FALSE);

   this->m_device->SetRenderState(D3DRS_SPECULARENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_FOGCOLOR, 0);
   this->m_device->SetRenderState(D3DRS_FOGTABLEMODE, D3DFOG_NONE);
   this->m_device->SetRenderState(D3DRS_FOGSTART, (DWORD)0.0f);
   this->m_device->SetRenderState(D3DRS_FOGEND, (DWORD)1.0f);
   this->m_device->SetRenderState(D3DRS_FOGDENSITY, (DWORD)1.0f);
   this->m_device->SetRenderState(D3DRS_RANGEFOGENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_STENCILENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_STENCILFAIL, D3DSTENCILOP_KEEP);
   this->m_device->SetRenderState(D3DRS_STENCILZFAIL, D3DSTENCILOP_KEEP);
   this->m_device->SetRenderState(D3DRS_STENCILPASS, D3DSTENCILOP_KEEP);
   this->m_device->SetRenderState(D3DRS_STENCILFUNC, D3DCMP_ALWAYS);
   this->m_device->SetRenderState(D3DRS_STENCILREF, 0);
   this->m_device->SetRenderState(D3DRS_STENCILMASK, 0xFFFFFFFF);
   this->m_device->SetRenderState(D3DRS_STENCILWRITEMASK, 0xFFFFFFFF);
   this->m_device->SetRenderState(D3DRS_TEXTUREFACTOR, 0xFFFFFFFF);
   this->m_device->SetRenderState(D3DRS_WRAP0, 0);
   this->m_device->SetRenderState(D3DRS_WRAP1, 0);
   this->m_device->SetRenderState(D3DRS_WRAP2, 0);
   this->m_device->SetRenderState(D3DRS_WRAP3, 0);
   this->m_device->SetRenderState(D3DRS_WRAP4, 0);
   this->m_device->SetRenderState(D3DRS_WRAP5, 0);
   this->m_device->SetRenderState(D3DRS_WRAP6, 0);
   this->m_device->SetRenderState(D3DRS_WRAP7, 0);
   this->m_device->SetRenderState(D3DRS_CLIPPING, TRUE);

   // Set by CEGUI
   this->m_device->SetRenderState(D3DRS_LIGHTING, TRUE);

   this->m_device->SetRenderState(D3DRS_AMBIENT, 0);
   this->m_device->SetRenderState(D3DRS_FOGVERTEXMODE, D3DFOG_NONE);
   this->m_device->SetRenderState(D3DRS_COLORVERTEX, TRUE);
   this->m_device->SetRenderState(D3DRS_LOCALVIEWER, TRUE);
   this->m_device->SetRenderState(D3DRS_NORMALIZENORMALS, FALSE);
   this->m_device->SetRenderState(D3DRS_DIFFUSEMATERIALSOURCE, D3DMCS_COLOR1);
   this->m_device->SetRenderState(D3DRS_SPECULARMATERIALSOURCE, D3DMCS_COLOR2);
   this->m_device->SetRenderState(D3DRS_AMBIENTMATERIALSOURCE, D3DMCS_MATERIAL);
   this->m_device->SetRenderState(D3DRS_EMISSIVEMATERIALSOURCE, D3DMCS_MATERIAL);
   this->m_device->SetRenderState(D3DRS_VERTEXBLEND, D3DVBF_DISABLE);
   this->m_device->SetRenderState(D3DRS_CLIPPLANEENABLE, 0);
   
   // default is ...?
   //this->m_device->SetRenderState(D3DRS_POINTSIZE, );
   
   this->m_device->SetRenderState(D3DRS_POINTSIZE_MIN, (DWORD)1.0f);
   this->m_device->SetRenderState(D3DRS_POINTSPRITEENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_POINTSCALEENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_POINTSCALE_A, (DWORD)1.0f);
   this->m_device->SetRenderState(D3DRS_POINTSCALE_B, (DWORD)0.0f);
   this->m_device->SetRenderState(D3DRS_POINTSCALE_C, (DWORD)0.0f);
   this->m_device->SetRenderState(D3DRS_MULTISAMPLEANTIALIAS, TRUE);
   this->m_device->SetRenderState(D3DRS_MULTISAMPLEMASK, 0xFFFFFFFF);
   this->m_device->SetRenderState(D3DRS_PATCHEDGESTYLE, D3DPATCHEDGE_DISCRETE);
   this->m_device->SetRenderState(D3DRS_DEBUGMONITORTOKEN, D3DDMT_ENABLE);
   this->m_device->SetRenderState(D3DRS_POINTSIZE_MAX, (DWORD)64.0f);
   this->m_device->SetRenderState(D3DRS_INDEXEDVERTEXBLENDENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_COLORWRITEENABLE, 0x0000000F);
   this->m_device->SetRenderState(D3DRS_TWEENFACTOR, (DWORD)0.0f);
   this->m_device->SetRenderState(D3DRS_BLENDOP, D3DBLENDOP_ADD);
   this->m_device->SetRenderState(D3DRS_POSITIONDEGREE, D3DDEGREE_CUBIC);
   this->m_device->SetRenderState(D3DRS_NORMALDEGREE, D3DDEGREE_LINEAR);
   
   // Set by CEGUI
   this->m_device->SetRenderState(D3DRS_SCISSORTESTENABLE, FALSE);

   this->m_device->SetRenderState(D3DRS_SLOPESCALEDEPTHBIAS, 0);
   this->m_device->SetRenderState(D3DRS_ANTIALIASEDLINEENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_MINTESSELLATIONLEVEL, (DWORD)1.0f);
   this->m_device->SetRenderState(D3DRS_MAXTESSELLATIONLEVEL, (DWORD)1.0f);
   this->m_device->SetRenderState(D3DRS_ADAPTIVETESS_X, (DWORD)0.0f);
   this->m_device->SetRenderState(D3DRS_ADAPTIVETESS_Y, (DWORD)0.0f);
   this->m_device->SetRenderState(D3DRS_ADAPTIVETESS_Z, (DWORD)1.0f);
   this->m_device->SetRenderState(D3DRS_ADAPTIVETESS_W, (DWORD)0.0f);
   this->m_device->SetRenderState(D3DRS_ENABLEADAPTIVETESSELLATION, FALSE);
   this->m_device->SetRenderState(D3DRS_TWOSIDEDSTENCILMODE, FALSE);
   this->m_device->SetRenderState(D3DRS_CCW_STENCILFAIL, D3DSTENCILOP_KEEP);
   this->m_device->SetRenderState(D3DRS_CCW_STENCILZFAIL, D3DSTENCILOP_KEEP);
   this->m_device->SetRenderState(D3DRS_CCW_STENCILPASS, D3DSTENCILOP_KEEP);
   this->m_device->SetRenderState(D3DRS_CCW_STENCILFUNC, D3DCMP_ALWAYS);
   this->m_device->SetRenderState(D3DRS_COLORWRITEENABLE1, 0x0000000F);
   this->m_device->SetRenderState(D3DRS_COLORWRITEENABLE2, 0x0000000F);
   this->m_device->SetRenderState(D3DRS_COLORWRITEENABLE3, 0x0000000F);
   this->m_device->SetRenderState(D3DRS_BLENDFACTOR, 0xFFFFFFFF);
   this->m_device->SetRenderState(D3DRS_SRGBWRITEENABLE, 0);
   this->m_device->SetRenderState(D3DRS_DEPTHBIAS, 0);
   this->m_device->SetRenderState(D3DRS_WRAP8, 0);
   this->m_device->SetRenderState(D3DRS_WRAP9, 0);
   this->m_device->SetRenderState(D3DRS_WRAP10, 0);
   this->m_device->SetRenderState(D3DRS_WRAP11, 0);
   this->m_device->SetRenderState(D3DRS_WRAP12, 0);
   this->m_device->SetRenderState(D3DRS_WRAP13, 0);
   this->m_device->SetRenderState(D3DRS_WRAP14, 0);
   this->m_device->SetRenderState(D3DRS_WRAP15, 0);
   this->m_device->SetRenderState(D3DRS_SEPARATEALPHABLENDENABLE, FALSE);
   this->m_device->SetRenderState(D3DRS_SRCBLENDALPHA, D3DBLEND_ONE);
   this->m_device->SetRenderState(D3DRS_DESTBLENDALPHA, D3DBLEND_ZERO);
   this->m_device->SetRenderState(D3DRS_BLENDOPALPHA, D3DBLENDOP_ADD);

   // Set by CEGUI
   this->m_device->SetSamplerState(0, D3DSAMP_ADDRESSU, D3DTADDRESS_WRAP);
   this->m_device->SetSamplerState(0, D3DSAMP_ADDRESSV, D3DTADDRESS_WRAP);

   this->m_device->SetSamplerState(0, D3DSAMP_ADDRESSW, D3DTADDRESS_WRAP);
   this->m_device->SetSamplerState(0, D3DSAMP_BORDERCOLOR, 0);

   // Set by CEGUI
   this->m_device->SetSamplerState(0, D3DSAMP_MAGFILTER, D3DTEXF_POINT);
   this->m_device->SetSamplerState(0, D3DSAMP_MINFILTER, D3DTEXF_POINT);

   this->m_device->SetSamplerState(0, D3DSAMP_MIPFILTER, D3DTEXF_NONE);
   this->m_device->SetSamplerState(0, D3DSAMP_MIPMAPLODBIAS, 0);
   this->m_device->SetSamplerState(0, D3DSAMP_MAXMIPLEVEL, 0);
   this->m_device->SetSamplerState(0, D3DSAMP_MAXANISOTROPY, 1);
   this->m_device->SetSamplerState(0, D3DSAMP_SRGBTEXTURE, 0);
   this->m_device->SetSamplerState(0, D3DSAMP_ELEMENTINDEX, 0);
   this->m_device->SetSamplerState(0, D3DSAMP_DMAPOFFSET, 0);

   // Set by CEGUI
   this->m_device->SetTextureStageState(0, D3DTSS_COLOROP, D3DTOP_MODULATE);
   this->m_device->SetTextureStageState(0, D3DTSS_COLORARG1, D3DTA_TEXTURE);
   this->m_device->SetTextureStageState(0, D3DTSS_COLORARG2, D3DTA_CURRENT);
   this->m_device->SetTextureStageState(0, D3DTSS_ALPHAOP, D3DTOP_SELECTARG1);
   this->m_device->SetTextureStageState(0, D3DTSS_ALPHAARG1, D3DTA_TEXTURE);
   this->m_device->SetTextureStageState(0, D3DTSS_ALPHAARG2, D3DTA_CURRENT);

   this->m_device->SetTextureStageState(0, D3DTSS_BUMPENVMAT00, (DWORD)0.0f);
   this->m_device->SetTextureStageState(0, D3DTSS_BUMPENVMAT01, (DWORD)0.0f);
   this->m_device->SetTextureStageState(0, D3DTSS_BUMPENVMAT10, (DWORD)0.0f);
   this->m_device->SetTextureStageState(0, D3DTSS_BUMPENVMAT11, (DWORD)0.0f);
   this->m_device->SetTextureStageState(0, D3DTSS_TEXCOORDINDEX, 0);
   this->m_device->SetTextureStageState(0, D3DTSS_BUMPENVLSCALE, (DWORD)0.0f);
   this->m_device->SetTextureStageState(0, D3DTSS_BUMPENVLOFFSET, (DWORD)0.0f);
   this->m_device->SetTextureStageState(0, D3DTSS_TEXTURETRANSFORMFLAGS, D3DTTFF_DISABLE);
   this->m_device->SetTextureStageState(0, D3DTSS_COLORARG0, D3DTA_CURRENT);
   this->m_device->SetTextureStageState(0, D3DTSS_ALPHAARG0, D3DTA_CURRENT);
   this->m_device->SetTextureStageState(0, D3DTSS_RESULTARG, D3DTA_CURRENT);
   
   // Default is ... ?
   //this->m_device->SetTextureStageState(0, D3DTSS_CONSTANT, );

   this->m_device->LightEnable(0, FALSE);

   for (size_t i = 1; i < 8; ++i)
   {
      this->m_device->SetTextureStageState(i, D3DTSS_COLOROP, D3DTOP_DISABLE);
   }

   this->m_default_state->Capture();
}


And this is the method used to apply the default state before rendering.

Code: Select all

void __stdcall Direct3DDevice9Wrapper::SetDefaultState()
{
   if(this->m_default_state->Apply() != S_OK)
   {
      std::wcout << "Applying default state block failed." << std::endl;
   }
}


And even though rendering CEGUI wasn't causing any problems with anything else, I've modified the code around renderGUI to save and restore the previous state.

Code: Select all

this->m_device->BeginScene();

IDirect3DStateBlock9* old_state = nullptr;
this->m_device->CreateStateBlock(D3DSBT_ALL, &old_state);
old_state->Capture();

this->m_device->SetDefaultState();
CEGUI::System::getSingleton().renderGUI();

old_state->Apply();
this->m_device->EndScene();


Last but not least, I tried disabling the AutoRenderingSurface.

Code: Select all

print "Creating window"
wnd = PyCEGUI.WindowManager.getSingleton().createWindow("TaharezLook/FrameWindow", "Demo Window")
wnd.setUsingAutoRenderingSurface(False)
print "Adding child"
root.addChildWindow(wnd)


None of the above seem to have had any effect.

For completness sake, here is the entire CEGUI.log.

Code: Select all

22/07/2011 07:33:39 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
22/07/2011 07:33:39 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
22/07/2011 07:33:39 (Std)    +                          (http://www.cegui.org.uk/)                         +
22/07/2011 07:33:39 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

22/07/2011 07:33:39 (Std)    CEGUI::Logger singleton created. (038ADD00)
22/07/2011 07:33:39 (Std)    
22/07/2011 07:33:39 (Std)    ********************************************************************************
22/07/2011 07:33:39 (Std)    * Important:                                                                   *
22/07/2011 07:33:39 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
22/07/2011 07:33:39 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
22/07/2011 07:33:39 (Std)    *     support being given; please do not waste our time.                       *
22/07/2011 07:33:39 (Std)    ********************************************************************************
22/07/2011 07:33:39 (Std)    ********************************************************************************
22/07/2011 07:33:39 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
22/07/2011 07:33:39 (Std)    ********************************************************************************
22/07/2011 07:33:39 (Std)    ---- Version 0.7.5 (Build: Nov 19 2010 Microsoft Windows MSVC++ 10.0 32 bit) ----
22/07/2011 07:33:39 (Std)    ---- Renderer module is: CEGUI::Direct3D9Renderer - Official Direct3D 9 based 2nd generation renderer module. ----
22/07/2011 07:33:39 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
22/07/2011 07:33:39 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
22/07/2011 07:33:39 (Std)    ---- Scripting module is: None ----
22/07/2011 07:33:39 (Std)    ********************************************************************************
22/07/2011 07:33:39 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
22/07/2011 07:33:39 (Std)    ********************************************************************************
22/07/2011 07:33:39 (Std)    
22/07/2011 07:33:39 (Std)    ---- Begining CEGUI System initialisation ----
22/07/2011 07:33:39 (Std)    CEGUI::ImagesetManager singleton created (038AEDE8)
22/07/2011 07:33:39 (Std)    CEGUI::FontManager singleton created. (038AEEB8)
22/07/2011 07:33:39 (Std)    CEGUI::WindowFactoryManager singleton created
22/07/2011 07:33:39 (Std)    CEGUI::WindowManager singleton created (033F8928)
22/07/2011 07:33:39 (Std)    CEGUI::SchemeManager singleton created. (038AF2D0)
22/07/2011 07:33:39 (Std)    CEGUI::MouseCursor singleton created. (038A27C0)
22/07/2011 07:33:39 (Std)    CEGUI::GlobalEventSet singleton created. (038AB870)
22/07/2011 07:33:39 (Std)    CEGUI::AnimationManager singleton created (038B2988)
22/07/2011 07:33:39 (Std)    CEGUI::WidgetLookManager singleton created. (033F3070)
22/07/2011 07:33:39 (Std)    CEGUI::WindowRendererManager singleton created (038AAD88)
22/07/2011 07:33:39 (Std)    CEGUI::RenderEffectManager singleton created (033FE830)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'DefaultWindow' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'DefaultWindow' windows added. (038B3970)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'DragContainer' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'DragContainer' windows added. (038B3A18)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'ScrolledContainer' windows added. (038B3AC0)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'ClippedContainer' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'ClippedContainer' windows added. (038B3B68)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (038B5C10)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (038B5CB8)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (038B6F20)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (038B5D60)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (038B5E08)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (038AE210)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (038AE2B8)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (038AE360)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (038AE408)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (038AE4B0)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (038B8FE0)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (038B9088)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (038B9130)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (038B91D8)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (038B9280)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (038B9328)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (038B93D0)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (038B9478)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (038B95C8)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (038B9520)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (038B9718)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (038B9670)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (038B97C0)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (038B9868)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (038B99B8)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (038B9910)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (038B9A60)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (038B9B08)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (038B9BB0)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (038B9C58)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (038B9D00)
22/07/2011 07:33:39 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
22/07/2011 07:33:39 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (038B9DA8)
22/07/2011 07:33:39 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
22/07/2011 07:33:39 (Std)    CEGUI::System singleton created. (038AD8F8)
22/07/2011 07:33:39 (Std)    ---- CEGUI System initialisation completed ----
22/07/2011 07:33:39 (Std)    
22/07/2011 07:33:39 (Std)    Started creation of Scheme from XML specification:
22/07/2011 07:33:39 (Std)    ---- CEGUI GUIScheme name: VanillaSkin
22/07/2011 07:33:39 (Std)    Started creation of Imageset from XML specification:
22/07/2011 07:33:39 (Std)    ---- CEGUI Imageset name: Vanilla-Images
22/07/2011 07:33:39 (Std)    ---- Source texture file: vanilla.tga in resource group: (Default)
22/07/2011 07:33:39 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
22/07/2011 07:33:39 (Std)    ===== Look and feel parsing completed =====
22/07/2011 07:33:39 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Button' added. (038BA048)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Default' added. (038BA390)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (038BA438)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (038BA4E0)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (038BA2E8)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (038BA588)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (038BA630)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (038BA6D8)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (038BA828)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (038BA8D0)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (038BA780)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (038BA978)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (038BAA20)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (038BAAC8)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (038BAB70)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (038BAC18)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Slider' added. (038BACC0)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Static' added. (038BAE10)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (038BAEB8)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (038BAD68)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (0393AF88)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (0393B030)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (0393B0D8)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (0393B180)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (0393B228)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (0393B2D0)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (0393B420)
22/07/2011 07:33:39 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
22/07/2011 07:33:39 (Std)    WindowRendererFactory 'Falagard/Tree' added. (0393B378)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'Vanilla/Titlebar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'Vanilla/Button' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'Vanilla/FrameWindow' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'Vanilla/Editbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'Vanilla/VerticalScrollbarThumb' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'Vanilla/VerticalScrollbar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'Vanilla/HorizontalScrollbarThumb' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'Vanilla/HorizontalScrollbar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'Vanilla/StaticImage' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'Vanilla/StaticText' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'Vanilla/Listbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'Vanilla/MultiLineEditbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'Vanilla/ComboDropList' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'Vanilla/Combobox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'Vanilla/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'Vanilla/ProgressBar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Started creation of Scheme from XML specification:
22/07/2011 07:33:39 (Std)    ---- CEGUI GUIScheme name: TaharezLook
22/07/2011 07:33:39 (Std)    Started creation of Imageset from XML specification:
22/07/2011 07:33:39 (Std)    ---- CEGUI Imageset name: TaharezLook
22/07/2011 07:33:39 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
22/07/2011 07:33:39 (Std)    Started creation of Font from XML specification:
22/07/2011 07:33:39 (Std)    ---- CEGUI font name: DejaVuSans-10
22/07/2011 07:33:39 (Std)    ----       Font type: FreeType
22/07/2011 07:33:39 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
22/07/2011 07:33:39 (Std)    ---- Real point size: 10
22/07/2011 07:33:39 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
22/07/2011 07:33:39 (Std)    ===== Look and feel parsing completed =====
22/07/2011 07:33:39 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/Checkbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/RadioButton' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'TaharezLook/Titlebar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/Editbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'TaharezLook/MultiLineEditbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'TaharezLook/Menubar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'TaharezLook/PopupMenu' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'TaharezLook/MenuItem' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/AltProgressBar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/ProgressBar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/VUMeter' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/VerticalScrollbar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/HorizontalScrollbar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/VerticalScrollbarThumb' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/LargeVerticalScrollbar' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'TaharezLook/TabButton' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'TaharezLook/TabControl' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabContentPane' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabButtonPane' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/ComboDropList' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/ComboEditbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Combobox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/Listbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'TaharezLook/ListHeader' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'TaharezLook/ListHeaderSegment' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'TaharezLook/MultiColumnList' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'TaharezLook/Slider' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/SliderThumb' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'TaharezLook/ScrollablePane' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Spinner' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'TaharezLook/Tooltip' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'TaharezLook/StaticImage' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'TaharezLook/StaticText' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'TaharezLook/ItemListbox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'TaharezLook/ListboxItem' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/GroupBox' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' Look'N'Feel 'TaharezLook/Tree' and RenderEffect ''. (0031BF64)
22/07/2011 07:33:39 (Std)    Attempting to create Imageset 'DejaVuSans-10_auto_glyph_images_ ' with texture only.
22/07/2011 07:33:39 (Std)    ---- Successfully completed loading of GUI layout from 'VanillaConsole.layout' ----


When I have a chance I'm going to step through the renderGUI method and see if anything seems strange. What seems strangest to me is that nothing I do seems to have any effect on the game. When I have a bit more time I'm going to try and destroy its rendering to make sure I can, in case it has somehow created a device or swapchain that I haven't managed to wrap (even though the renderGUI function is still be called?!).

MrSteam
Just popping in
Just popping in
Posts: 6
Joined: Wed Jul 20, 2011 00:45

Re: CEGUI only renders in certain parts of an application

Postby MrSteam » Sat Jul 23, 2011 03:47

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 the state to its default by calling SetDefaultState allowed the triangle to render. I proceeded to the point in the game where CEGUI stopped being rendered, and the triangle stopped rendering as well!!!

So even after setting the device to a state know to render the triangle, it won't render.

Next I went back to check that additional devices and swap chains aren't being created.

Repeated calls to GetNumberOfSwapChains show only one swap chain at anytime. Debug output in CreateDevice shows no other devices being created. I also added debug output to the IDirect3DDevice9::Present method. This method is never called (I have been doing all rendering in the IDirect3DSwapChain9::Present method).

Because I'm not sure what the difference is between the swap chain present and the device present, that will be my next avenue of investigation in case swap chains can do anything funny.

MrSteam
Just popping in
Just popping in
Posts: 6
Joined: Wed Jul 20, 2011 00:45

Re: [Solved] CEGUI only renders in certain part of an app

Postby MrSteam » Sat Jul 30, 2011 23:43

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 working now.

Thanks for all your suggestions MarkR.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 31 guests