Closed doxxx closed 7 years ago
I tried again after ensuring that the quads in the object were converted to triangles, but it still loaded forever.
I had the same issue with a mesh exported from Cinema4D. Issue was #54.
I always got a "out of memory" for .obj files containing mtl references, even a simple cube with 8 vertices and 12 triangles. when I remove the mtl references, it works.
Thanks I'll try that.
Perhaps the same parser bug that previously affected .obj files also affects .mtl files? It was related to which newline style was used.
I tried removing the mtl reference from my object and I still get the same problem.
My bad, I was being dumb. wavefront_obj::obj::parse(String)
doesn't expect the file path, it expects the file contents.
I'm trying to load a simple obj file of the Suzanne monkey head exported from Blender.
wavefront::obj::parse
loads forever -- I gave up after a few minutes with the process at 7GB of memory.I've tried with both debug and release mode binaries.
Here's the obj file: monkey.zip
Using wavefront_obj 5.1.0 with rust 1.19.