Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

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

bdfhjk
Just popping in
Just popping in
Posts: 3
Joined: Tue Jan 01, 2013 16:30

Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby bdfhjk » Tue Jan 01, 2013 16:40

Hi,

I'm recently tried to use CEGUI in my Irrlicht project. I've followed all instructions from the wiki, and I can't see any CEGUI window or error message. I see only empty Irrlicht window.

Tools: Windows 8, Visual Studio 2010, CEGUI 0.7.7, Irrlicht 1.7.3

Here is code:

Code: Select all

   dde = new Dde();
   SIrrlichtCreationParameters params;
   params.DriverType=video::EDT_OPENGL;
        IrrlichtDevice *nulldevice = createDevice(video::EDT_NULL);
        params.WindowSize=core::dimension2d<u32>(640, 480);//nulldevice->getVideoModeList()->getDesktopResolution();
   nulldevice->drop();
   params.Fullscreen = false;
        dde->device = createDeviceEx(params);
   dde->driver = dde->device->getVideoDriver();
        dde->smgr = dde->device->getSceneManager();
        dde->env = dde->device->getGUIEnvironment();
   if (dde->device == 0) return;
   CEGUI::IrrlichtRenderer& myRenderer = CEGUI::IrrlichtRenderer::create(*dde->device);
   CEGUI::System::create( myRenderer );
   CEGUI::DefaultResourceProvider* rp = static_cast<CEGUI::DefaultResourceProvider*>
              (CEGUI::System::getSingleton().getResourceProvider());
   rp->setResourceGroupDirectory("schemes", "datafiles/schemes/");
   rp->setResourceGroupDirectory("imagesets", "datafiles/imagesets/");
   rp->setResourceGroupDirectory("fonts", "datafiles/fonts/");
   rp->setResourceGroupDirectory("layouts", "datafiles/layouts/");
   rp->setResourceGroupDirectory("looknfeels", "datafiles/looknfeel/");
   rp->setResourceGroupDirectory("lua_scripts", "datafiles/lua_scripts/");
   CEGUI::Imageset::setDefaultResourceGroup("imagesets");
   CEGUI::Font::setDefaultResourceGroup("fonts");
   CEGUI::Scheme::setDefaultResourceGroup("schemes");
   CEGUI::WidgetLookManager::setDefaultResourceGroup("looknfeels");
   CEGUI::WindowManager::setDefaultResourceGroup("layouts");
   CEGUI::ScriptModule::setDefaultResourceGroup("lua_scripts");
   CEGUI::SchemeManager::getSingleton().create( "TaharezLook.scheme" );
   CEGUI::FontManager::getSingleton().create( "DejaVuSans-10.font" );
   System::getSingleton().setDefaultFont( "DejaVuSans-10" );
   System::getSingleton().setDefaultMouseCursor( "TaharezLook", "MouseArrow" );
        WindowManager& winMgr = WindowManager::getSingleton();

 
    DefaultWindow* root = (DefaultWindow*)winMgr.createWindow("DefaultWindow", "Root");
    System::getSingleton().setGUISheet(root);'
    ImagesetManager::getSingleton().createFromImageFile("BackgroundImage", "GPN-2000-001437.tga");
    Window* wnd = (FrameWindow*)winMgr.createWindow("TaharezLook/StaticImage", "Demo Window");
    root->addChildWindow(wnd);
    wnd->setPosition(UVector2(cegui_reldim(0.25f), cegui_reldim( 0.25f)));
    wnd->setSize(UVector2(cegui_reldim(0.5f), cegui_reldim( 0.5f)));
    wnd->setMaxSize(UVector2(cegui_reldim(1.0f), cegui_reldim( 1.0f)));
    wnd->setMinSize(UVector2(cegui_reldim(0.1f), cegui_reldim( 0.1f)));
    wnd->setText("Hello World!");
    wnd->setProperty("FrameEnabled", "false");
    wnd->setProperty("BackgroundEnabled", "false");
    wnd->setProperty("Image", "set:BackgroundImage image:full_image");
    System::getSingleton().setGUISheet(wnd);
    wnd->activate();
    while(dde->device->run() && dde->driver)
    if (dde->device->isWindowActive())
    {
      if (!wnd->isActive()) return;
      dde->driver->beginScene(true, true, irr::video::SColor(0,50,50,50));
      dde->env->drawAll();
      dde->smgr->drawAll();
      CEGUI::System::getSingleton().renderGUI();
                dde->driver->endScene();
    }

    dde->device->drop();



CEGUI log:

Code: Select all

01/01/2013 17:38:11 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
01/01/2013 17:38:11 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
01/01/2013 17:38:11 (Std)    +                          (http://www.cegui.org.uk/)                         +
01/01/2013 17:38:11 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

01/01/2013 17:38:11 (Std)    CEGUI::Logger singleton created. (00FC3540)
01/01/2013 17:38:11 (Std)    
01/01/2013 17:38:11 (Std)    ********************************************************************************
01/01/2013 17:38:11 (Std)    * Important:                                                                   *
01/01/2013 17:38:11 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
01/01/2013 17:38:11 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
01/01/2013 17:38:11 (Std)    *     support being given; please do not waste our time.                       *
01/01/2013 17:38:11 (Std)    ********************************************************************************
01/01/2013 17:38:11 (Std)    ********************************************************************************
01/01/2013 17:38:11 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
01/01/2013 17:38:11 (Std)    ********************************************************************************
01/01/2013 17:38:11 (Std)    ---- Version 0.7.7 (Build: Jan  1 2013 Microsoft Windows MSVC++ 10.0 32 bit) ----
01/01/2013 17:38:11 (Std)    ---- Renderer module is: CEGUI::IrrlichtRenderer - Official Irrlicht based 2nd generation renderer module.  RenderTarget support is enabled. ----
01/01/2013 17:38:11 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
01/01/2013 17:38:11 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
01/01/2013 17:38:11 (Std)    ---- Scripting module is: None ----
01/01/2013 17:38:11 (Std)    ********************************************************************************
01/01/2013 17:38:11 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
01/01/2013 17:38:11 (Std)    ********************************************************************************
01/01/2013 17:38:11 (Std)    
01/01/2013 17:38:11 (Std)    ---- Begining CEGUI System initialisation ----
01/01/2013 17:38:11 (Std)    CEGUI::ImagesetManager singleton created (00FCF6E0)
01/01/2013 17:38:11 (Std)    CEGUI::FontManager singleton created. (00FD0018)
01/01/2013 17:38:11 (Std)    CEGUI::WindowFactoryManager singleton created
01/01/2013 17:38:11 (Std)    CEGUI::WindowManager singleton created (00DD9578)
01/01/2013 17:38:11 (Std)    CEGUI::SchemeManager singleton created. (00FD2D48)
01/01/2013 17:38:11 (Std)    CEGUI::MouseCursor singleton created. (00FC4798)
01/01/2013 17:38:11 (Std)    CEGUI::GlobalEventSet singleton created. (00DDC0D0)
01/01/2013 17:38:11 (Std)    CEGUI::AnimationManager singleton created (00DD72A8)
01/01/2013 17:38:11 (Std)    CEGUI::WidgetLookManager singleton created. (00DDA918)
01/01/2013 17:38:11 (Std)    CEGUI::WindowRendererManager singleton created (00DD17A0)
01/01/2013 17:38:11 (Std)    CEGUI::RenderEffectManager singleton created (00FC5260)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'DefaultWindow' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'DefaultWindow' windows added. (00FD07D8)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'DragContainer' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'DragContainer' windows added. (00FD0880)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'ScrolledContainer' windows added. (00FD0928)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'ClippedContainer' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'ClippedContainer' windows added. (00FD09D0)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (00FD5760)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (00FD6040)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (00FD60E8)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (00FD7190)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (00FD7238)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (00FD72E0)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (00FD7388)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (00FD7430)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (00FD74D8)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (00FD7580)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (00FD8028)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (00FD7B90)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (00FD7E30)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (00FD7998)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (00FD7ED8)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (00FD7848)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (00FD8568)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (00FD7F80)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (00FD76F8)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (00FD8418)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (00FD80D0)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (00FD82C8)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (00FD78F0)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (00FD7D88)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (00FD8220)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (00FD77A0)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (00FD7CE0)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (00FD8178)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (00FD8370)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (00FD84C0)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (00FD7A40)
01/01/2013 17:38:11 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
01/01/2013 17:38:11 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (00FD7AE8)
01/01/2013 17:38:11 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
01/01/2013 17:38:11 (Std)    CEGUI::System singleton created. (00FCEC30)
01/01/2013 17:38:11 (Std)    ---- CEGUI System initialisation completed ----
01/01/2013 17:38:11 (Std)    
01/01/2013 17:38:11 (Std)    Started creation of Scheme from XML specification:
01/01/2013 17:38:11 (Std)    ---- CEGUI GUIScheme name: TaharezLook
01/01/2013 17:38:11 (Std)    Started creation of Imageset from XML specification:
01/01/2013 17:38:11 (Std)    ---- CEGUI Imageset name: TaharezLook
01/01/2013 17:38:11 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
01/01/2013 17:38:11 (Std)    Started creation of Font from XML specification:
01/01/2013 17:38:11 (Std)    ---- CEGUI font name: DejaVuSans-10
01/01/2013 17:38:11 (Std)    ----       Font type: FreeType
01/01/2013 17:38:11 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
01/01/2013 17:38:11 (Std)    ---- Real point size: 10
01/01/2013 17:38:11 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
01/01/2013 17:38:11 (Std)    ===== Look and feel parsing completed =====
01/01/2013 17:38:11 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Button' added. (00FE42E0)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Default' added. (00FE46D0)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (00FE3EF0)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (00FE4628)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (00FE4AC0)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (00FE4970)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (00FE4A18)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (00FE3BA8)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (00FE4CB8)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (00FE3C50)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (00FE3CF8)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (00FE3F98)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (00FE4040)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (00FE40E8)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (00FE4190)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (00FE51F8)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Slider' added. (00FE50A8)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Static' added. (00FE5000)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (00FE53F0)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (00FE57E0)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (00FE5738)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (00FE5150)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (00FE5888)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (00FE5930)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (00FE52A0)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (00FE59D8)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (00FE5348)
01/01/2013 17:38:11 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
01/01/2013 17:38:11 (Std)    WindowRendererFactory 'Falagard/Tree' added. (00FE5498)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/Checkbox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/RadioButton' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'TaharezLook/Titlebar' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/Editbox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'TaharezLook/MultiLineEditbox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'TaharezLook/Menubar' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'TaharezLook/PopupMenu' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'TaharezLook/MenuItem' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/AltProgressBar' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/ProgressBar' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/VUMeter' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/VerticalScrollbar' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/HorizontalScrollbar' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/VerticalScrollbarThumb' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/LargeVerticalScrollbar' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'TaharezLook/TabButton' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'TaharezLook/TabControl' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabContentPane' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabButtonPane' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/ComboDropList' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/ComboEditbox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Combobox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/Listbox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'TaharezLook/ListHeader' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'TaharezLook/ListHeaderSegment' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'TaharezLook/MultiColumnList' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'TaharezLook/Slider' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/SliderThumb' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'TaharezLook/ScrollablePane' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Spinner' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'TaharezLook/Tooltip' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'TaharezLook/StaticImage' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'TaharezLook/StaticText' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'TaharezLook/ItemListbox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'TaharezLook/ListboxItem' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/GroupBox' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' Look'N'Feel 'TaharezLook/Tree' and RenderEffect ''. (0080D020)
01/01/2013 17:38:11 (Std)    Started creation of Font from XML specification:
01/01/2013 17:38:11 (Std)    ---- CEGUI font name: DejaVuSans-10
01/01/2013 17:38:11 (Std)    ----       Font type: FreeType
01/01/2013 17:38:11 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
01/01/2013 17:38:11 (Std)    ---- Real point size: 10
01/01/2013 17:38:12 (Std)    ---- Returning existing instance of Font named 'DejaVuSans-10'.
01/01/2013 17:38:12 (Std)    Attempting to create Imageset 'BackgroundImage' using image file 'GPN-2000-001437.tga'.



Please advise, how to fix it and get CEGUI working. Thanks in advance for all help. :-)

bdfhjk
Just popping in
Just popping in
Posts: 3
Joined: Tue Jan 01, 2013 16:30

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby bdfhjk » Tue Jan 01, 2013 17:31

I think very important is also fact, that samples didn't work using Irrlicht render, but work using OpenGL render.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby CrazyEddie » Thu Jan 03, 2013 09:37

Hi,

So to confirm, you get a totally blank (black in the samples) screen, with no CEGUI rendered mouse cursor or anything? I was aware of an issue with the Irrlicht 1.8 line of code, but perhaps the issue is affecting newer 1.7.x releases of irrlicht also?

Are you able to confirm whether you experience the issue if you use the Direct3D driver for Irrlicht? If the issue does not happen under the Irrlicht D3D driver then it's almost certainly the same issue as noted above, so - after confirming that it is the same issue you might like to add a note to the mantis ticket for that, here: http://www.cegui.org.uk/mantis/view.php?id=845

Thanks.

bdfhjk
Just popping in
Just popping in
Posts: 3
Joined: Tue Jan 01, 2013 16:30

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby bdfhjk » Mon Jan 07, 2013 12:04

Yes, not even cursor. Don't know about D3D, didn't used it.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby CrazyEddie » Mon Jan 07, 2013 16:01

Thanks, I added a note to the existing ticket regarding this. I will try and test Soon™

irruser
Just popping in
Just popping in
Posts: 3
Joined: Fri Jan 11, 2013 14:45

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby irruser » Fri Jan 11, 2013 15:01

I have the same problem using irrlicht 1.8 + CEGUI 0.7.8 + MinGW (gcc 4.7.2).

Btw, irrlicht 1.8 has actually already been released (stable).

I don't suppose you could give an estimate of how long it would take to fix this issue?
Should I just use an older version of CEGUI? Or do I need an older version of irrlicht? But since it doesn't even work with 1.7.3, I would have to at least go back to 1.7.2, which was released more than 2 years ago...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby CrazyEddie » Fri Jan 11, 2013 16:37

I don't want to come over as a dick in this post, but the last guy seems to have a bit of an attitude, and you know what kind of reaction that gets from me ;)

The issue is caused by something that changed in Irrlicht, I do not know what precisely.

The CEGUI Renderer for Irrlicht will be fixed either:
a) When someone contributes the fixed code
b) When someone pays me to fix it
c) When I get around to fixing it anyway, in my own time, when I have nothing more pressing I want to do.

Now, the above three options basically hold for anything that happens to the code base. I know that many of the people who come here find that fact a little difficult to accept, but these are the facts of open source development.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby CrazyEddie » Sat Jan 12, 2013 09:16

I thought I would come back here and put another reply, since the previous one - while highly amusing to myself for various reasons - is probably not helpful overall.

I want to say that I fully understand that all you guys wanted was to grab Irrlicht, grab CEGUI and be able to use the two things together. I get that, guys.

I also get that it is frustrating when the things you wanted to use together, do not then work together.

I get that you then come here to report issues or add information to topics where others have reported issues - I get it, and I am truly grateful that all of the people who do that take the time to do it.

I also get that you guys don't especially appreciate the way I respond a lot of the time - I get it, but I won't apologise for being the way that I am ;)

Finally, I get that for many (most?), waiting while these issues eventually get addressed is not an option, and that having to wait for fixes will mean you may move on from CEGUI, may bad mouth CEGUI to others or what have you. I get it, and I accept it. Perhaps I would ask that you don't bad mouth CEGUI out there, but bad mouth me, instead :)

All I can do is ask that you continue to report issues, continue to 'accept' some of the BS you get when dealing with me and know that these issues will get addressed.

Thanks guys.

CE.

irruser
Just popping in
Just popping in
Posts: 3
Joined: Fri Jan 11, 2013 14:45

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby irruser » Sat Jan 12, 2013 10:17

Sorry if I came across as rude, it was not my intention.

Since I am only using Irrlicht's OpenGL renderer anyway, I simply tried using CEGUI's OpenGL render module. And it actually works (that is, it draws the basic window I created) as long as the FPS camera is pointing more or less downward. Which is ok for me, since the game I'm developing is top-down :lol:

Though I will try out MyGUI with its OpenGL render module as well, and see if that works any better.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby CrazyEddie » Sun Jan 13, 2013 13:39

To the people having issues with Irrlicht 1.7.x and CEGUI 0.7.x (and above) - I have no idea what you're doing, but that combination works fine here for me.

To the people having issues with Irrlicht 1.8 and CEGUI, I have fixed the issue preventing rendering, and that fix is in the 0.7.9 release.

If you still have issues, you will need to provide decent diagnostic information. Because as far as I'm concerned, it's working ok now, so saying "nothing shows up" is no use to me at this time, you'd need to provide a minimal test case that shows the issue.

One final note: I am aware of the image loading issue in the samples browser for the default mercurial branch, but this does not affect rendering, which is working fine now.

CE.

irruser
Just popping in
Just popping in
Posts: 3
Joined: Fri Jan 11, 2013 14:45

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby irruser » Fri Jan 18, 2013 18:38

Sorry for my late reply, but thanks a lot for figuring this out! It works just fine now. To my surprise, the Sample_FirstWindow.exe runs at twice the framerate using Irrlicht's OpenGL renderer vs. just plain OpenGL.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Irrlicht 1.7.3 + CEGUI 0.7.7 - no effect

Postby CrazyEddie » Sun Jan 20, 2013 09:24

Thanks for confirming that it's working now.

As a side note, the poor performance in the samples for 0.7.x (and earlier) when using the plain OpenGL renderer is infact caused by our use of glut/freeglut to set up the context and run the rendering loop - which actually gives us that really terrible performance :D The real-world performance of the renderers are all, on the whole, pretty much equal :)

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests