I am making a gui for a game using directGui. I am using egg texture cards. The textures used are png images.
I am drawing the gui on top of a background image. The gui elements are DirectButtons.
My issue is that part of the border on the png image shows in the scene as a thin grey line that was supposed to be transparent. The parts of the geom that should be transparent are transparent, it is just that it seems you can see a thin border where the image border should be that remains grey instead being transparent.
I have tried playing with sorting order, transparency attributes etc… nothing seems to fix it.
when i start panda in windowed mode it does not show, when i maximize the window it shows. in fullscreen it shows.
It seems to happen with DirectX9 much more than with pandagl. I have to used pandadx9 for other reasons though.
Anyone had this problem before? any ideas on how to fix that?
It is possible but it found it strange that it would happen on exactly all the buttons around where the border of the image was supposed to be.
Another question related to direct button. Does it not take a frameSize argument? Setting a frameSize does not seem to alter the button bounds in button.getBounds().
Neither does the scale affect the bounds it seems. Even though the button is visibly larger, the getBounds() function returns the same numbers.
I have relief set to None, are these to set the relief size maybe?