[Interest] [Qt3D] Assimp OBJ importer can not import a file with 500MB size

Olivier B. perso.olivier.barthelemy at gmail.com
Tue Oct 16 16:52:55 CEST 2018

Assimp 4.1, integrated in qt 5.11.1, already added stream reading of
obj files, and is the most recent version. You will have to raise an
issue to assimp IMO, then if it can be improved, rebuild qt with that
new assimp version
Le mar. 16 oct. 2018 à 16:26, Saif Suleiman <saifqaher94 at gmail.com> a écrit :
> Hi,
> As the title says, i can not import a 500MB obj file ( 6 million vertices and 11 million faces ) using QSceneloader.
> getting this msg :
> Qt3D.AssimpImporter: Assimp scene import failed OBJ: Too many vertices, would run out of memory
> Qt3D.Renderer.SceneLoaders: class Qt3DCore::QEntity *__cdecl Qt3DRender::Render::LoadSceneJob::tryLoadScene(class Qt3DRender::Render::Scene *,enum Qt3DRender::QSceneLoader::Status &,const class QStringList &,const class std::function<void __cdecl(class Qt3DRender::QSceneImporter *)> &) Failed to import QUrl("file:///C:/Users/USER/Downloads/a.obj") with errors ("OBJ: Too many vertices, would run out of memory")
> Thanks in advance.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list