Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41491

strange QSGSimpleTextureNode behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.3.1, 5.3.2
    • Quick: SceneGraph
    • None
    • Windows 8.1 OpenGL build

      In the frame buffer I create a quad (render to texture). In ortho projection (1:1 to screen space).

      Then, I want to show that texture. So I pass it to QSGSimpleTextureNode.

      But when I change ImageItem size (my QML element), image jumps (increase/decrease size, seems like uv tex coordinates calculates wrong)... (It is better to see)

      Please look attachment.

      P.S. In the example, for simplicity, I used old OpenGL commands, but the same behavior with shaders (I guess there is no difference, after all, except "ortho" matrix).

        1. QSGSimpleTextureNode_issue.zip
          3 kB
          Diduh Andrey
        2. cca70313-6f78-4270-b3dd-39c6de70b53c.WMV
          8.73 MB
          Diduh Andrey
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sletta Gunnar Sletta
            tower120 Diduh Andrey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes