I am facing a problem with OnscreenImage resolution, i mean, I’m building a GUI, and a background image that i am using loses a lot of definition, take a look:
The image at the left is the image rendered in any image editor, and the image at the right is the same image in Panda3D, and it’s clear that this image insede Panda render is losing a lot of definition.
The window is configured at 1280 x 720, in the config file, which btw are the same dimensions of the image. And the piece of code that loads the image is the follow:
self.screenBg = OnscreenImage(image = '../Texturas/GUI/mainScreen_02.jpg', scale=(1280/base.win.getXSize(), 1, 720/base.win.getYSize()), pos = (0,0,0), parent=render2d ) self.screenBg.setTransparency(1)
Does someone knows how can i improve this image resolution in Panda render?