I have a QImage that I'm generating programmatically using a QPainter which I want to use as a texture.
I want to use it in a QNormalDiffuseMapAlphaMaterial as a diffuse texture - so it needs a QTextureImage whose source is set using a QUrl. How do I get from my in-memory QImage to a QUrl to set this source? Or is there another path I'm missing to accomplish this? I'm also going to want to render text as a billboard - is this the right way to do it too? (Generate into a QImage with QPainter and use textures on a QPlaneMesh?) (C++, not QML) Thanks! --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney <https://twitter.com/asmaloney>
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest