Rewrite vtkOBJReader to add vtkResourceStream support
Hi everyone, this is a new resource stream support MR!
Most of the source file has been changed because replacing the std::FILE
with vtkResourceParser
is already a lot of work, but I also changed the algorithm structure so we don't parse the file 2 times. This new reader is about 8 times faster than the old one (measured on a single file).
This new reader have the same observable behavior than the old one, at least on everything that is tested!
Next on the list is the GLTF reader!