My workflow for producing glTF file involves importing my OBJ file into blender. Tweaking things then exporting it from blender as an glTF.
After import blender shows that the old python OBJ importer and the new C++ OBJ importer produce a mesh with exactly the same number of vertices/edges/polygons:
When I then export it as a glTF file the new import version's binary file is almost double in size and taking it into a viewer shows the vertex count is almost double for most primitives.
I'm guessing the issue is that the internal indexing or storage of the newly imported object causes a less efficient output with the glTF so for now I always have to use the legacy importer but this isn't ideal.
Can anyone suggest what might be different with the new importer to account for this, or what might be changed in the exporter to fix this?