Backport to 6.3: Many fixes to OBJImporter
This topic fixes a few issues and adds a test executable that can be used to convert obj files to vtp more easily.
The issues fixed are
-
having a map_Kd without a texture name cause a crash
-
having materials in the mtl file that were not used resulted in geometry and parts missing from the output
-
having material names with spaces in them caused the material not to be recognized
-
some packages use map_kd instead of map_Kd causing textures to not be found.
Original change: 30b5415f