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

Copying color pixels for renderControl Example not working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Out of scope
    • Affects Version/s: 5.15
    • Fix Version/s: None
    • Component/s: Quick: SceneGraph
    • Labels:
      None
    • Platform/s:
      Linux/Wayland, Linux/X11, Linux/Yocto

      Description

      Hello,

      I modified the Qt-5.15.2/quick/rendercontrol/ example cuberenderer to copy color pixels with the usage of QOpenGLFunctions glReadPixels function and sending it to another executable by using QTCPServer and QTCPSocket.So When I try to copy the color pixels when QQuickWindow::afterRendering signal, I can only capture the front face of the cube but If I call my copy function from WindowSingleThreaded::render() function right after m_cubeRenderer->render(this, m_context, m_quickReady ? m_fbo->texture() : 0); function call , it gives me full cube's color pixels with 6 faces of cube.

      In general copying a quad's color pixels when QQuickWindow::afterRendering signal occurs ,giving the correct color pixels but for cube it is not.

      Could you please check the modified qt example and help me on this?
      Regards

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            janichol Andy Nichols
            Reporter:
            ekrems Ekrem Şahin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes