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

QSceneLoader: implicitMinPoint()/implicitMaxPoint() returns incorrect values.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.2
    • Quick: SceneGraph
    • None
    • Ubuntu 18.04
    • Linux/X11

    Description

      I have the following code which loads a 3D object file and try to get the min and max point of the loaded scene.

       

      ::updateImplicitBounds() returns false

      ::implicitMinPoint() and ::implicitMaxPoint() always returns (0,0,0)

       

      My input 3D file is the OBJ of the Suzanne model from Blender3D

       

      Example output

      Status changed: Qt3DRender::QSceneLoader::Loading
      Status changed: Qt3DRender::QSceneLoader::Ready
       Entity: Qt3DCore::QEntity(0x7ffaac004660, name = untitled.obj) Components: QList(Qt3DCore::QTransform(0x7ffaac04c590))
      BoundingVolume:  "untitled.obj"
         Entity: Qt3DCore::QEntity(0x7ffaac019220, name = Suzanne) Components: QList(Qt3DExtras::QPhongMaterial(0x7ffaac01bf30, name = DefaultMaterial), Qt3DRender::QGeometryRenderer(0x7ffaac00c4d0), Qt3DCore::QTransform(0x7ffaac045800))
      BoundingVolume:  "Suzanne"
      gr is Valid
      updateImplicitBounds returns FALSE
      

       

      Attachments

        Activity

          People

            janichol Andy Nichols
            nicholas_yue Nicholas Yue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: