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

QGLSceneNode::draw produced dim / blur result in large scale mesh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt3D 1.0
    • 4.8.0
    • Qt3D
    • None
    • Mac, Linux

      Hi,

      The problem is encountered when using QGLAbstractScene to load large scale mesh.
      The mesh could not be rendered property from QGLAbstractScene::mainNode directly. In stead, I need to break down to render each individual child node.
      Otherwise shader effect (user or standard) could not be applied properly (see attachment bug.png vs dirty-fix.png).

      #ifdef DIRTY_FIX

      foreach(QGLSceneNode* node, m_scene->mainNode()->children())

      node->draw(painter); // work

      #else

      m_scene->mainNode()->draw(painter); // doesn't work

      #endif

        1. bug.png
          bug.png
          32 kB
        2. dirty-fix.png
          dirty-fix.png
          33 kB
        3. mesh.ply
          7.18 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sergey.dubitskiy Sergey (closed Nokia identity) (Inactive)
            yutsai Yun-Ta Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes