Non-anti-aliased cuts of images.

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

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Non-anti-aliased cuts of images.

Postby agamemnus » Wed Jul 14, 2010 04:00

Is there any switch, or any way, to make the borders of images cut from imagesets not blend with pixels that are immediately nearby?

User avatar
emarcotte
Quite a regular
Quite a regular
Posts: 55
Joined: Fri Dec 26, 2008 14:30
Contact:

Re: Non-anti-aliased cuts of images.

Postby emarcotte » Wed Jul 14, 2010 11:15

Only a guess, but it's probably being like bilinear filtered at the texture level so it is blending everything...? I can't remember for sure but I think I dealt with something similar to this and ended up needing AutoScaled="false" in my Imageset file(s). There may have been something else, I'd have to search more though. Probably someone else has a better answer than me :)

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Re: Non-anti-aliased cuts of images.

Postby agamemnus » Wed Jul 14, 2010 13:20

Yep, I used AutoScaled="false". The effect is apparent when I have an image that has a width or height of 1 or 2 pixels (or both). To go around it, for those small images, I am currently just buffering them on both sides. I don't like that, though.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 5 guests