Page 1 of 1

Window Skin Problem (Weird Window Corners)

Posted: Mon Jan 22, 2007 18:51
by offspring422
Hi everyone. I'm trying to make a new skin, and for some reason, CEGUI is creating what look like shadows or somewhat transparent areas at the intersection of window graphics (see picture below)

Image

Does anyone have any idea what might be causing this?

Thanks for your help!

Posted: Mon Jan 22, 2007 21:09
by LennyH
Probably something related to this if I had to guess ;)

To elaborate: it seems CEGUI [or perhaps it's the renderer, but I am dubious] seems to sample the surrounding pixels of a named area when using FrameComponents or the stretched format property, and incorporate them into what it renders. If those pixels are transparent...well then, you can see the problem :(

Posted: Tue Jan 23, 2007 20:23
by offspring422
You were right, it seems it was grabbing the surrounding pixels... bringing the bounds on my graphics elements in by a pixel to make a margin solved it. Thanks very much!