CEGUI does not currently recognize that a window has 0 alpha and still attempts to render it. I just tested this, so I'm sure of it. I created 50 buttons and when I set the visiblity to false, there was a significant FPS increase. When I set the alpha to 0, there was no change in FPS, so it still attempted to output 0 alpha windows.
I would like 0 alpha windows for invisible windows that still accept input and events.
0 Alpha Problem
Moderators: CEGUI MVP, CEGUI Team
Re: 0 Alpha Problem
I guess you cannot expect having a window acting like a not transparent one but without the fps drop of a normal window.
Even if the transparents windows were not drawed (i think it is not the case) , you surely get fps drop by events management system.
Even if the transparents windows were not drawed (i think it is not the case) , you surely get fps drop by events management system.
- JNighthawk
- Just popping in
- Posts: 7
- Joined: Sun Apr 17, 2005 04:55
Re: 0 Alpha Problem
Wrong.
Re-read about my test.
Re-read about my test.
Re: 0 Alpha Problem
It shouldn't be too hard to add an extra (alpha==0) check in the window render function, so if you need this you should probably just go ahead and do it.
Re: 0 Alpha Problem
So if i am wrong , use your hidden window which don't drop your FPS and use it .
Hidden window is NOT transparent window, it is not rendered window and i am pretty sure it don't catch the input event (or it sends them back to parent) so less FPS Drop.
So perhaps it is rendered , perhaps it is not, but you will however have FPS drop if you want input Events.
Try GuiSheet Window and subscribe the event you want on it as it is a transparent window ( but without alpha, so it is probably not rendered )
Hidden window is NOT transparent window, it is not rendered window and i am pretty sure it don't catch the input event (or it sends them back to parent) so less FPS Drop.
So perhaps it is rendered , perhaps it is not, but you will however have FPS drop if you want input Events.
Try GuiSheet Window and subscribe the event you want on it as it is a transparent window ( but without alpha, so it is probably not rendered )
- JNighthawk
- Just popping in
- Posts: 7
- Joined: Sun Apr 17, 2005 04:55
Re: 0 Alpha Problem
Daes-
You aren't understanding what I'm saying.
Carlton-
I plan to, but it should be updated in the official version, also.
You aren't understanding what I'm saying.
Carlton-
I plan to, but it should be updated in the official version, also.
Re: 0 Alpha Problem
Since you consider my talk are out of topic, i made some test for myself.
I have a quite complex window and disable it or enable it for it to catch or not catch input events, and i found that i get no massive change of fps, so i am probably out of topic, sorry. :hammer:
2FPS for event management
8FPS for rendering
I have a quite complex window and disable it or enable it for it to catch or not catch input events, and i found that i get no massive change of fps, so i am probably out of topic, sorry. :hammer:
2FPS for event management
8FPS for rendering
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 1 guest