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

Saif Suleiman saifqaher94 at gmail.com
Tue Oct 16 23:28:57 CEST 2018


Why then QMesh can import the geometry data even if it is 1GB file ?
Thank you.



On Tue, Oct 16, 2018 at 5:53 PM Olivier B. <
perso.olivier.barthelemy at gmail.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181017/079a225e/attachment.html>


More information about the Interest mailing list