QPixmapItem OpenGL black item
Hello,
I have problem with QPixmapItem that is placed on the view with OpenGL viewport.
Problem is that when item is large, like 5000x4000 then that item is black.
I thought that maybe image needs size of pow 2 but with i.e. 5120x5120 the same behaviour occurs.
I did test this on NVidia GPUs and they have exactly the same behaviour and same specification if it comes to shaders uniforms sizes:
GTS450 can support up to:
Max Texture Size: 16384 x 16384 pixels
Max Viewport Size: 16384 x 16384 pixels
but:
Max Uniforms: Vertex / Pixel / Geometry: 4096 / 2048 / 2048
My question here is is QGraphicsScene use shader in "background" to send items to the OpenGL? Because if it is then that would explained size limitation.
Any suggestions are more then welcome.
In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
The advance of computerization however, has not yet wiped out nations and ethnic groups.
Bookmarks