Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.2
-
None
-
Ubuntu 18.04
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