Thanks for quick reply! I think, you can represent cubemap as an array with 6 images (right now, i generate one big texture that includes all 6 images, but i can separate them) and use QImageReader to read that array.
Not sure if this works for texture arrays, i didn't explore that part of the format. Иван Комиссаров 13 нояб. 2013 г., в 20:54, Sean Harmer <[email protected]> написал(а): > Hi, > > On Wednesday 13 November 2013 20:36:06 Иван Комиссаров wrote: >> Hello, i've uploaded initial version of my DirectDraw Surface image handler >> https://codereview.qt-project.org/#change,71216 > > Very interesting! Adding support for DDS files is something I'm looking to do > for Qt 5.3 to improve the OpenGL texture support. The nice thing is that this > format includes support for mipmap chains, cubemap faces and texture arrays. > Of course QImage doesn't support any of these things. So with this in mind, > would it make sense to refactor the DDS loading part into a library that can > be used by the image handler here and some future QOpenGLTextureData class > which can be used to manipulate all of the images supported by DDS and KTX > files http://www.khronos.org/opengles/sdk/tools/KTX/ > >> Are there anyone who is familiar with this format who can do a review? > > I'm not intimately familiar with the internal workings but I can certainly > take a look when things calm down a little. > > Thanks for the contribution. > > Sean > -- > Dr Sean Harmer | [email protected] | Managing Director UK > Klarälvdalens Datakonsult AB, a KDAB Group company > Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) > KDAB - Qt Experts - Platform-independent software solutions > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
