Cegui with Ogre 2.1

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

kryx
Just popping in
Just popping in
Posts: 6
Joined: Wed Feb 22, 2017 09:18

Cegui with Ogre 2.1

Postby kryx » Wed Feb 22, 2017 09:28

Hello!

I'm trying to compile CEGUI from source for Ogre renderer (Ogre 2.1).
There is some issues with the compilation, due to API changes from Ogre I guess:

GeometryBuffer.cpp: line 98:

Code: Select all

rop.operationType = RenderOperation::OT_TRIANGLE_LIST;
should be

Code: Select all

rop.operationType = Ogre::OperationType::OT_TRIANGLE_LIST;


Renderer.cpp:

Code: Select all

d_pimpl->d_renderSystem->_setHlmsBlendblock(d_pimpl->d_hlmsBlendblock);


_setHlmsBlendBlock is not member of OgreRenderSystem.h. The function is still implemented in specific renderer (GL3PlusRenderSystem for ex), but is not more a virtual function in OgreRenderSystem.

same for _setHlmsMacroblock;
same for _setProgramsFromHlms;


Code: Select all

        hlmsCache.vertexShader = d_pimpl->d_vertexShader;
        hlmsCache.pixelShader = d_pimpl->d_pixelShader;


the 2 variables aren't available.

And finally unbindGpuProgram isn't member of OgreRenderSystem too.

Can I have some help to resolve this issues?

Thanks a lot,

Have a nice day,

Kryx

kryx
Just popping in
Just popping in
Posts: 6
Joined: Wed Feb 22, 2017 09:18

Re: Cegui with Ogre 2.1

Postby kryx » Wed Feb 22, 2017 11:17

found the concerned commit from Ogre:

https://bitbucket.org/sinbad/ogre/commi ... erSystem.h

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Cegui with Ogre 2.1

Postby Ident » Wed Feb 22, 2017 20:25

None of the devs currently works with a Ogre project, I know some of the users do (see the other thread about Ogre 2.1). So, I personally unfortunately cant help you.

You might also want to ask at the Ogre forum how these functions and members are to be replaced in the new version, which might bring you to a solution.

If you can help yourself with this we can merge your changes via a pull request on bitbucket and we can also comment and review on your code there, that is all I can offer atm.
CrazyEddie: "I don't like GUIs"

kohedlo
Just popping in
Just popping in
Posts: 2
Joined: Fri May 05, 2017 06:44

Re: Cegui with Ogre 2.1

Postby kohedlo » Fri May 05, 2017 06:51

Greets. is come to update new pso Ogre. and we mace changes according matias goldbergs commit. port working fine


http://www.ogre3d.org/forums/viewtopic. ... 80#p536580

kohedlo
Just popping in
Just popping in
Posts: 2
Joined: Fri May 05, 2017 06:44

Re: Cegui with Ogre 2.1

Postby kohedlo » Thu Oct 19, 2017 18:37

ok. last port was for Opengl variant and works fine. For directx11-12 still error.

crancran
Just popping in
Just popping in
Posts: 5
Joined: Fri Oct 28, 2011 00:54

Re: Cegui with Ogre 2.1

Postby crancran » Sun Apr 08, 2018 01:41

@kohedlo, give the latest default branch a try. OpenGL and DX11 both should work for OGRE 2.1 now.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 4 guests