CEGUI does not cooperate with glOrtho Perspective

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

wolek
Just popping in
Just popping in
Posts: 1
Joined: Wed Mar 28, 2007 16:05

CEGUI does not cooperate with glOrtho Perspective

Postby wolek » Fri Mar 30, 2007 19:19

I setup opengl with orthogonal perspective:
glViewport(0, 0, width, height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();

glOrtho(0,width,0,height,-1,1);

glMatrixMode(GL_MODELVIEW);
glLoadIdentity(); '

and evertyhing what i want is drawed on the screen until i call SchemeManager
#include <RendererModules/OpenGLGUIRenderer/openglrenderer.h>
CEGUI::OpenGLRenderer *renderer = new CEGUI::OpenGLRenderer(0);
new CEGUI::System(renderer);
SchemeManager::getSingleton().loadScheme("TaharezLook.scheme");
after this call only cegui windows are drawed but no opengl primitives.
I am using cegui 0.5 is there some way to use it with glOrtho projection?

Return to “Help”

Who is online

Users browsing this forum: No registered users and 24 guests