Buggy OpenGL Rendering

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

CireNeikual
Just popping in
Just popping in
Posts: 6
Joined: Sun Feb 24, 2013 03:47

Buggy OpenGL Rendering

Postby CireNeikual » Sun Feb 24, 2013 03:59

Hello,

I am new to CEGUI. 64 bit compilation was a bit tedious since I had to recompile all the dependencies, but I finally got it running in my game engine :)
However, it renders the textures strangely. I am using my own OpenGL game engine, and I am using the DevIL image codec. What OpenGL states could cause this?

Thank you for any help you can offer!

Image

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

Re: Buggy OpenGL Rendering

Postby CrazyEddie » Sun Feb 24, 2013 09:32

Post the cegui.log, thanks

CE.

CireNeikual
Just popping in
Just popping in
Posts: 6
Joined: Sun Feb 24, 2013 03:47

Re: Buggy OpenGL Rendering

Postby CireNeikual » Sun Feb 24, 2013 14:53

Here's the log:

EDIT: I did some OpenGL error checks, and renderGUI() seems to produce a "invalid operation".

Code: Select all

23/02/2013 23:57:38 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
23/02/2013 23:57:38 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
23/02/2013 23:57:38 (Std)    +                          (http://www.cegui.org.uk/)                         +
23/02/2013 23:57:38 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

23/02/2013 23:57:38 (Std)    CEGUI::Logger singleton created. (0000000009D03380)
23/02/2013 23:57:38 (Std)    
23/02/2013 23:57:38 (Std)    ********************************************************************************
23/02/2013 23:57:38 (Std)    * Important:                                                                   *
23/02/2013 23:57:38 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
23/02/2013 23:57:38 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
23/02/2013 23:57:38 (Std)    *     support being given; please do not waste our time.                       *
23/02/2013 23:57:38 (Std)    ********************************************************************************
23/02/2013 23:57:38 (Std)    ********************************************************************************
23/02/2013 23:57:38 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
23/02/2013 23:57:38 (Std)    ********************************************************************************
23/02/2013 23:57:38 (Std)    ---- Version 0.7.9 (Build: Feb 23 2013 Microsoft Windows MSVC++ Great Scott! 64 bit) ----
23/02/2013 23:57:38 (Std)    ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module.  TextureTarget support enabled via FBO extension. ----
23/02/2013 23:57:38 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
23/02/2013 23:57:38 (Std)    ---- Image Codec module is: DevILImageCodec - Official DevIL based image codec ----
23/02/2013 23:57:38 (Std)    ---- Scripting module is: None ----
23/02/2013 23:57:38 (Std)    ********************************************************************************
23/02/2013 23:57:38 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
23/02/2013 23:57:38 (Std)    ********************************************************************************
23/02/2013 23:57:38 (Std)    
23/02/2013 23:57:38 (Std)    ---- Begining CEGUI System initialisation ----
23/02/2013 23:57:38 (Std)    CEGUI::ImagesetManager singleton created (0000000009CED120)
23/02/2013 23:57:38 (Std)    CEGUI::FontManager singleton created. (0000000009CED210)
23/02/2013 23:57:38 (Std)    CEGUI::WindowFactoryManager singleton created
23/02/2013 23:57:38 (Std)    CEGUI::WindowManager singleton created (0000000007DC6170)
23/02/2013 23:57:38 (Std)    CEGUI::SchemeManager singleton created. (0000000009CED3F0)
23/02/2013 23:57:38 (Std)    CEGUI::MouseCursor singleton created. (0000000007DC1610)
23/02/2013 23:57:38 (Std)    CEGUI::GlobalEventSet singleton created. (0000000009D5BC60)
23/02/2013 23:57:38 (Std)    CEGUI::AnimationManager singleton created (0000000007DC61D0)
23/02/2013 23:57:38 (Std)    CEGUI::WidgetLookManager singleton created. (0000000009CF0160)
23/02/2013 23:57:38 (Std)    CEGUI::WindowRendererManager singleton created (0000000009CF0140)
23/02/2013 23:57:38 (Std)    CEGUI::RenderEffectManager singleton created (0000000009D5BC30)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'DefaultWindow' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'DefaultWindow' windows added. (0000000009CEA700)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'DragContainer' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'DragContainer' windows added. (0000000009CEA7C0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'ScrolledContainer' windows added. (0000000009CEA640)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'ClippedContainer' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'ClippedContainer' windows added. (0000000009CEA880)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (0000000009CEA940)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (0000000009CEAA00)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (0000000009CEAAC0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (0000000009CEAB80)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (0000000009CEAC40)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (0000000009CEAD00)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (0000000009CEADC0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (0000000009CEAE80)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (0000000009CEAF40)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (0000000009CEB000)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (0000000009CEB0C0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (0000000009CEB180)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (0000000009CEB240)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (0000000009CEB300)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (0000000009CEB3C0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (0000000009CEB480)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (0000000009CEB540)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (0000000009CEB600)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (0000000009CEB6C0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (0000000009CEB780)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (0000000009CEB840)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (0000000009CEB900)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (0000000009CEB9C0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (0000000009CEBA80)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (0000000009CEBB40)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (0000000009CEBC00)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (0000000009CEBCC0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (0000000009CEBD80)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (0000000009CEBE40)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (0000000009CEBF00)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (0000000009CEBFC0)
23/02/2013 23:57:38 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
23/02/2013 23:57:38 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (0000000009CEC080)
23/02/2013 23:57:38 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
23/02/2013 23:57:38 (Std)    CEGUI::System singleton created. (0000000009D03060)
23/02/2013 23:57:38 (Std)    ---- CEGUI System initialisation completed ----
23/02/2013 23:57:38 (Std)    
23/02/2013 23:57:38 (Std)    Started creation of Scheme from XML specification:
23/02/2013 23:57:38 (Std)    ---- CEGUI GUIScheme name: WindowsLookSkin
23/02/2013 23:57:38 (Std)    Started creation of Imageset from XML specification:
23/02/2013 23:57:38 (Std)    ---- CEGUI Imageset name: WindowsLook
23/02/2013 23:57:38 (Std)    ---- Source texture file: WindowsLook.tga in resource group: (Default)
23/02/2013 23:57:38 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
23/02/2013 23:57:38 (Std)    ===== Look and feel parsing completed =====
23/02/2013 23:57:38 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Button' added. (0000000009D84400)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Default' added. (0000000009D844C0)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (0000000009D84580)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (0000000009D84640)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (0000000009D84700)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (0000000009D847C0)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (0000000009D84880)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (0000000009D84940)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (0000000009D84A00)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (0000000009D84AC0)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (0000000009D84B80)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (0000000009D84C40)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (0000000009D84D00)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (0000000009D84DC0)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (0000000009D84E80)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (0000000009D84F40)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Slider' added. (0000000009D85000)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Static' added. (0000000009D850C0)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (0000000009D85180)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (0000000009D85240)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (0000000009D85300)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (0000000009D853C0)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (0000000009D85480)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (0000000009D85540)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (0000000009D85600)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (0000000009D856C0)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (0000000009D85780)
23/02/2013 23:57:38 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
23/02/2013 23:57:38 (Std)    WindowRendererFactory 'Falagard/Tree' added. (0000000009D85840)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/Button' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'WindowsLook/Checkbox' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/IconButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/IconButton' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'WindowsLook/RadioButton' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'WindowsLook/FrameWindow' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'WindowsLook/Titlebar' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/SystemButton' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'WindowsLook/Editbox' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'WindowsLook/MultiLineEditbox' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'WindowsLook/Menubar' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'WindowsLook/PopupMenu' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'WindowsLook/MenuItem' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'WindowsLook/ProgressBar' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'WindowsLook/VerticalScrollbar' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'WindowsLook/HorizontalScrollbar' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/VerticalScrollbarThumb' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/HorizontalScrollbarThumb' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'WindowsLook/TabButton' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'WindowsLook/TabControl' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/TabContentPane' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/TabButtonPane' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'WindowsLook/ComboDropList' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/Combobox' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'WindowsLook/Listbox' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'WindowsLook/ListHeader' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'WindowsLook/ListHeaderSegment' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'WindowsLook/MultiColumnList' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'WindowsLook/Slider' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'WindowsLook/SliderThumb' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'WindowsLook/ScrollablePane' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/Spinner' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'WindowsLook/Tooltip' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/Static' using base type 'DefaultWindow', window renderer 'Falagard/Static' Look'N'Feel 'WindowsLook/Static' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'WindowsLook/StaticImage' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'WindowsLook/StaticText' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'WindowsLook/ItemListbox' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'WindowsLook/ListboxItem' and RenderEffect ''. (00000000001AB370)
23/02/2013 23:57:38 (Std)    Creating falagard mapping for type 'WindowsLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' Look'N'Feel 'WindowsLook/GroupBox' and RenderEffect ''. (00000000001AB370)

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

Re: Buggy OpenGL Rendering

Postby CrazyEddie » Sun Feb 24, 2013 17:56

I don't know what is causing the issue, but something strange is going on: according to the log, you're loading WindowsLook scheme, although the screen shot is clearly using something more akin to TaharezLook imagery - which makes no sense. According to the log, the TaharezLook imagery is never loaded, yet it's appearing on screen (albeit distorted) - this makes no sense, how can the GPU possibly have access to a texture that is never loaded? According to the log, no font is loaded, although the screen shot clearly shows that text is rendered - or that some attempt is made to render text - and so this makes no sense either.

If you could clarify exactly what is going on, that would help to narrow the focus a little - or at least, hopefully, remove a lot of WTF?! moments that I'm currently having while trying to think about possible causes.

CE.

CireNeikual
Just popping in
Just popping in
Posts: 6
Joined: Sun Feb 24, 2013 03:47

Re: Buggy OpenGL Rendering

Postby CireNeikual » Sun Feb 24, 2013 18:04

Wow, that's weird. I intended to load the TaharezLook!

My game engine renders the 3D scene using deferred shading and later renders the GUI to the final composition FBO. The FBO is a 16 bit float HDR texture, but I also tried rendering to a temporary FBO with a plain single byte per component format with no change in behavior. The render states are all be set to the default OpenGL states before the GUI is rendered (it works when I draw textured quads myself). Does the OpenGLRenderer internally switch back to the system provided framebuffer during GUI rendering?

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

Re: Buggy OpenGL Rendering

Postby CrazyEddie » Sun Feb 24, 2013 18:11

I just checked and in v0-7 we do (incorrectly) make assumptions about what was bound for the frame buffer when 'deactivating' the FBOs used internally (I think we fixed this in default). You can try disabling FBO usage in CEGUI to see if that helps anything, either edit the looknfeel to not use AutoRenderingSurface for FrameWindow or create the renderer without texture target support - this is for a test only. Obviously your set up will require a correct fix eventually.

CE.

CireNeikual
Just popping in
Just popping in
Posts: 6
Joined: Sun Feb 24, 2013 03:47

Re: Buggy OpenGL Rendering

Postby CireNeikual » Sun Feb 24, 2013 18:28

OK, now it runs more smoothly (the program hiccuped before and the GUI flickered), but the textures are still messed up and I still get the OpenGL error.

EDIT: Actually, the OpenGL error doesn't occur now. The error I received came from OpenAL this time. Still weird textures though :(

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

Re: Buggy OpenGL Rendering

Postby CrazyEddie » Sun Feb 24, 2013 18:43

CireNeikual wrote:the textures are still messed up

Are you married to DevIL? Do you use it elsewhere in your game or just for CEGUI? If it's just for CEGUI, perhaps the textures are coming in incorrectly?

Can you use a GL debugger of some kind and confirm that the textures are loaded correctly and that this is a rendering issue.

CE.

CireNeikual
Just popping in
Just popping in
Posts: 6
Joined: Sun Feb 24, 2013 03:47

Re: Buggy OpenGL Rendering

Postby CireNeikual » Sun Feb 24, 2013 18:51

gDEBugger tells me they loaded correctly. However, I will try a different image loader anyways.

EDIT: I tried FreeImage, no dice.
EDIT2: GROAN! I found that I forgot to unbind a blur shader. That leaves 1 last problem: Some parts of the GUI flicker on/off when a window is dragged.

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

Re: Buggy OpenGL Rendering

Postby CrazyEddie » Mon Feb 25, 2013 09:21

Is the flicker with or without using CEGUI FBO support - I ask because you made reference to it in a previous post also - if the flicker happens only with CEGUI FBO usage enabled, it's because of that issue of CEGUI not saving/restoring the previously bound FBO. If it happens regardless, then it sounds like an issue of an incorrect rendering sequence, or that some frames the output is not occurring at all. Btw, I know this is probably not all that helpful, but I don't know what else to tell you :D

CE.

CireNeikual
Just popping in
Just popping in
Posts: 6
Joined: Sun Feb 24, 2013 03:47

Re: Buggy OpenGL Rendering

Postby CireNeikual » Mon Feb 25, 2013 15:20

Thank you for your help! In the worst case, I can just write my own implementation of the OpenGLRenderer.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 16 guests