Rendering many many widgets

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
vinnythetrue
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Aug 10, 2005 10:29

Rendering many many widgets

Postby vinnythetrue » Tue Oct 17, 2006 09:46

Hello crazy people

In my GUI, I have really A LOT of widgets, so much that at some point some become invisible and such.

So I'm wondering if it comes from here :

Code: Select all

// in file CEGUIRenderer.cpp

const float   Renderer::GuiZInitialValue      = 1.0f;
const float   Renderer::GuiZElementStep      = 0.001f;      // this is enough for 1000 Windows.
const float   Renderer::GuiZLayerStep         = 0.0001f;      // provides space for 10 layers per Window.


So do you think that passing the 1000 window "limit" could produce such results ? And if so, what would your advise be, lowering GuiZElementStep ?

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

Postby CrazyEddie » Tue Oct 17, 2006 10:22

yes, and yes. Though also change GuiZLayerStep so that is consistent too :)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 8 guests