When using a StaticImage with a 1x2 tilable graphic, the FPS rating drops dramatically. Why, and how do I stop this from happening?
Btw, I'm using the CEGUI from CVS HEAD.
FPS drops dramatically with tilable StaticImage
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: FPS drops dramatically with tilable StaticImage
The more copies of the tile you draw, the more you will suffer in the performance department. This is just the way things are. You might consider creating a larger "pre-tiled" image, and then have that tiled within the window, since the base image is larger less copies will be needed and performance will suffer less.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: FPS drops dramatically with tilable StaticImage
Thanks, I made the tilable image 50x50 and now it doesn't affect performance. However, there's this odd occurance:
In 800x600, the image looks fine (its the green dark lines on the sidebar, below the timer and such):
However, in another resolution (eg. 1024x768), the lines look very odd:
Is this intended behaviour? The single greener line (below the timer buttons, only tiles horizontally) looks fine on both.
In 800x600, the image looks fine (its the green dark lines on the sidebar, below the timer and such):
However, in another resolution (eg. 1024x768), the lines look very odd:
Is this intended behaviour? The single greener line (below the timer buttons, only tiles horizontally) looks fine on both.
Project Xenocide UI Guru
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: FPS drops dramatically with tilable StaticImage
It's likely an issue with either auto-scaling and/or tile alignment.
I'll need to see the imageset xml file and, at least the relevant portion of, the texture file to have any more of an idea.
I'll need to see the imageset xml file and, at least the relevant portion of, the texture file to have any more of an idea.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: FPS drops dramatically with tilable StaticImage
No need, I found out that autoscaling was set to true on the imageset. Set it to false and it looks fine now.CrazyEddie wrote:
It's likely an issue with either auto-scaling and/or tile alignment.
I'll need to see the imageset xml file and, at least the relevant portion of, the texture file to have any more of an idea.
Thanks anyways
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 0 guests