OverviewFelgo 1 Support › Polygonitem texture

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #6940



    I am using a PolygonItem, filled by a texture. On low resolutions everything looks fine, but when I set a higher screen resolution, the texture image is getting upscaled and is looking quite pixelated then. Providing different versions of images for -sd, -hd, and -hd2 does not seem to be supported within the texture. How can I solve this?





    Felgo Team

    Hi Heini,

    you again brought up a good point!

    The PolygonItem does not suppot content-scaling like the MultiResolutionImage does. So you would need to implent this “content-scaling” on your own.This is a suggestion how to do that:

    Set the texture property to your hd2 image, and then set the scale property of your PolygonItem to 0.25. If you use the hd image, set the scale to 0.5.

    Ideally you can then find out based on the xScaleForScene which image and scale factor you should take. Have a look at the implementation of the and MultiResolutionImage component and ContentScaleFileChooser (this one is not in the doc but in the engine sources).


    That way your images should look sharp on any resolution.


    Cheers, Chris



    Hi Chris,

    its working well, thank you!





    Felgo Team

    That’s good to hear! 🙂

    Cheers, Chris

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support