[Solved] Not see anything (CEGUI -v0 with Ogre 2.1)

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

jserve
Just popping in
Just popping in
Posts: 5
Joined: Wed May 06, 2015 12:08

[Solved] Not see anything (CEGUI -v0 with Ogre 2.1)

Postby jserve » Wed May 06, 2015 13:01

Hi,

after a long absence from CEGUI and OGRE3d I started for an project again for testing out both systems.
Compiling of CEGUI (-v0 branch) and OGRE3D (2.1) went fine, no problems (besides that I need to finetune the cmake project results).

I digged around and found code snippets for using CEGUI with the new OGRE3D 2.1 System, but I not see any outcome.
I get some shader errors in the logfiles, are this the reason of the problems? Or do I something wrong (Sure, I must be doing something wrong, I have seen other threads where people was able to use CEGUI with Ogre 2.1).

Could someone point me into the right direction for seeing the test button?

Logfiles:
Testcode: http://pastebin.com/59nmm2gL
CEGUI Log: http://pastebin.com/7cnXfNuL
OGRE3D Log: http://pastebin.com/zEST2B2W

Logout from ogre.log:

Code: Select all

14:42:12: Shader Compiler:error(high) 0: GLSL compile failed for shader 3, "": ERROR: 0:6: 'array without size' :  supported in geometry shaders only 
ERROR: 0:9: 'exTexCoord' : undeclared identifier
ERROR: 0:9: 'uv0' : undeclared identifier
ERROR: 0:9: 'exColour' : undeclared identifier
ERROR: 0:9: 'colour' : undeclared identifier
ERROR: 0:9: 'modelViewPerspMatrix' : undeclared identifier
ERROR: 0:9: 'vertex' : undeclared identifier
ERROR: 0:9: 'assign' :  cannot convert from 'float' to 'Position 4-component vector of float'
 
 
14:42:12: GLSL compile log: __cegui_internal_vs__
ERROR: 0:6: 'array without size' :  supported in geometry shaders only 
ERROR: 0:9: 'exTexCoord' : undeclared identifier
ERROR: 0:9: 'uv0' : undeclared identifier
ERROR: 0:9: 'exColour' : undeclared identifier
ERROR: 0:9: 'colour' : undeclared identifier
ERROR: 0:9: 'modelViewPerspMatrix' : undeclared identifier
ERROR: 0:9: 'vertex' : undeclared identifier
ERROR: 0:9: 'assign' :  cannot convert from 'float' to 'Position 4-component vector of float'
14:42:12: OGRE EXCEPTION(3:RenderingAPIException): Vertex Program __cegui_internal_vs__ failed to compile. See compile log above for details. in GLSLShader::compile at ..\..\..\RenderSystems\GL3Plus\src\GLSL\OgreGLSLShader.cpp (line 297)
Last edited by jserve on Sun May 10, 2015 14:03, edited 1 time in total.

jserve
Just popping in
Just popping in
Posts: 5
Joined: Wed May 06, 2015 12:08

Re: Not see anything (CEGUI -v0 with Ogre 2.1)

Postby jserve » Sat May 09, 2015 17:19

I switched now to the 0.8 branch and atleast the errors doesn't appearing anymore...
But still, I can't see anything from CEGUI (neither the test button or the mouse cursor)

jserve
Just popping in
Just popping in
Posts: 5
Joined: Wed May 06, 2015 12:08

Re: [Solved] Not see anything (CEGUI -v0 with Ogre 2.1)

Postby jserve » Sun May 10, 2015 14:04

Thanks to Ident and fluxlucebac I was able to dig down the problem.
My major problem was that I not had used a FrameListener. (Which wasn't needed with Ogre 1.9?)

Sofar, I get my testapplication working and seeing my CEGUI stuff as I expected :)

So, next step is for creating a wiki and a simple Ogre3D 2.1 example for giving other people a kickstart.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 9 guests