Slobodan Pavlic
Slobodan Pavlic
Hello Antoine, I apologise for the very late reply. I was busy lately and forgot about my hobby project. The principal design goal for rapidobj is to provide fast parsing....
I understand. I am a bit reluctant to introduce an API call that's guaranteed to be slow. Of course, I can document it, but sometimes people don't read documentation. How...
If another system loads an .obj file and passes you a std::istream, what if that .obj contained a reference to a material library file (mtllib)? How is this handled? Or...
I have implemented `rapidobj::ParseStream(std::istream&)` new API function on the ParseStream branch. Please let me know if it works for you. Right now, this is considered as an experimental feature. In...
Thanks for the report and investigation. I will take a closer look, probably this weekend.
These are actually two different requests. @ahoarau wants to load the file from `std::istream`. This is going to be much slower for large files because reading from a sequential source...
@ahoarau I have added `ParseStream()` function. Could you try the latest master? Let me know if it works for you.
@K3rn1n4tor Is `ParseStream()` sufficient for your purposes? If the files you are loading from memory aren't too large, you should be able to use istrstream. But if they are large,...
The new API is implemented, tested and released (v1.1).