Singleton issues

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

ooohYeah
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 08, 2009 16:15

Re: Singleton issues

Postby ooohYeah » Wed Aug 12, 2009 08:04

Ok!

I know that during the drawing, some functions like 'beginRendering()/endRendering()' are called with windows and not with imageset.
But I can't see other differents including the rendering system (functions called using OpenGL).
Moreover as I said before Vertex positions setted through appendGeometry() are goods.
Huum. Anyways I keep searching.

ooohYeah
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 08, 2009 16:15

Re: Singleton issues

Postby ooohYeah » Mon Aug 24, 2009 08:28

Hi CE!
I have a break with this issue so i don't progress yet.
But I was thinking about something. I already ask you if is it possible to make an 'cubic effect' and you answer me yes.
I guess it is possible using 'realiseGeometry' method of RenderEffect child class: I create an window, give it z-axis values thanks to this method.
But after? I can attach a 2D window with 'addChild' method on one face but the others?

Thank you for your help!

Regards.

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

Re: Singleton issues

Postby CrazyEddie » Mon Aug 24, 2009 09:08

ooohYeah wrote:I already ask you if is it possible to make an 'cubic effect' and you answer me yes.

Actually, I said it was theoretically possible - subtle but important difference ;)

ooohYeah wrote:I guess it is possible using 'realiseGeometry' method of RenderEffect child class: I create an window, give it z-axis values thanks to this method.
But after? I can attach a 2D window with 'addChild' method on one face but the others?

Basically, the way I envisioned implementing it was to have multiple - separate - layouts for each side of the cube, and each layout root should target it's own texture based surface (but not a RenderingWindow, since they always get drawn back to their owners). You then create your cube in any fashion you like (i.e. not necessarily using CEGUI based interfaces) and apply the texture for each 'layout' to the appropriate side of the cube. That's all easy enough... However, there is currently an issue, which is the fact the the 'multiple roots' facility is not currently 100% ready for action, and will not be until a 0.7.1. It should still be possible to get something working, but you'll have to manage rendering yourself (so instead of calling CEGUI::System::renderGUI you call your own function that renders the required surfaces. I might put up an example of this once 0.7.0 is done, but it will not be before then).

CE.

ooohYeah
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 08, 2009 16:15

Re: Singleton issues

Postby ooohYeah » Mon Aug 24, 2009 09:25

Ok thank you CE :wink:


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests