Unsolved When import the stl file very lager such as more than 2GB ,the QMesh will cant load
-
cos the qbytearry size is int and the max size is less than 2.4GB ,when import the file is very lager ,what can i handle it ?
-
@jimfar Are you using 32bit Qt?
-
no 64bit
-
btw the resize of qbytearry is int,
-
@jimfar I don't think you can handle more than 2GB with QByteArray. You will need to do it differently. Use char* or maybe memory mapped IO (http://doc.qt.io/qt-5/qfiledevice.html#map).
-
the problem is the QBuffer need QByteArray,and i will put the QBuffer into QAttribute ,so i can constuct the QGeometry
-
i use these api to load my customized mesh parsed from a stl file