Greetings,
I am working on a program developed in C ++, using QT and GDAL. The program now is able to show textures but if these are larger than 16384x16384 pixels I get the following error:
GLI | GL ERROR - Function glTextureStorage2DEXT generated error GL_INVALID_VALUE
The image I use as a texture is an image in TIFF format.
I think this problem is because OpenGl can not create such large textures. The main problem I have is that I can not change the resolution of the image since I need all the details of it, so I would like if someone knows a method to be able to have in memory only the piece of texture that is being seen by the viewer (a QSurface of 800x800) and that at the same time can dynamically modify said piece.