Window Skin Problem (Weird Window Corners)

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

offspring422
Just popping in
Just popping in
Posts: 2
Joined: Wed Jan 17, 2007 23:54

Window Skin Problem (Weird Window Corners)

Postby offspring422 » Mon Jan 22, 2007 18:51

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!

LennyH
Quite a regular
Quite a regular
Posts: 92
Joined: Thu Nov 30, 2006 20:50

Postby LennyH » Mon Jan 22, 2007 21:09

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 :(

offspring422
Just popping in
Just popping in
Posts: 2
Joined: Wed Jan 17, 2007 23:54

Postby offspring422 » Tue Jan 23, 2007 20:23

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!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 27 guests