Hi, my goal is to draw/render an image in 1920x1080 size in two resolutions: 1920x1080 and 1280x720. Both are 16x9 resolutions. I use nifty:
<?xml version="1.0" encoding="UTF-8"?> <nifty> <screen id="start" controller="de.boldt.exo.client.StartScreenGUIController"> <layer id="layer" childLayout="center"> <panel width="100%" height="100%" backgroundImage="Images/overlay.png" imageMode="normal" /> </layer> </screen> </nifty>
In 1280x720 is the image ugly pixelated. I did the same test in Slick2D before I used jme and there works fine. It looks like the downscale does not work. I feel the imageModes in nifty have nothing to do with it.
What can I do? What is the strategy in jme to support multiple resolution? Without creating more images for each resolution.
Thanks for help.
(Btw. is here no codeblock?)
*e ah thank you