OK! Since I have found the solution. I answer to myself.

I just add this code:
QMatrix4x4 flipY;

flipY.translate(width()/2.0, height()/2.0);
flipY.scale(1.0, -1.0);
flipY.translate(-width()/2.0, -height()/2.0);

updatePaintNodeData->transformNode->setMatrix(flipY);

In the updatePaintNode of my custom QQuickItem which declares the 
QSGSimpleTextureNode.

Olivier.




>________________________________
> De : BOUCARD Olivier <[email protected]>
>À : "[email protected]" <[email protected]> 
>Envoyé le : Dimanche 19 mai 2013 22h26
>Objet : [Interest] Flip a QSGSimpleTextureNode
> 
>
>
>Hi guys,
>
>
>I'm trying to draw native OpenGL using QSGSimpleTextureNode.
>The problem is that my Y axis is upside-down.
>Is there a way to flip the axis when rendering the texture to the screen?
>
>
>Thanks for any help.
>
>
>Olivier Boucard.
>_______________________________________________
>Interest mailing list
>[email protected]
>http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to