我有时也想知道这个...... 所以我决定这次跳下兔子洞(当我走下洞时写下这篇文章)。
这是我发现的。
所以,在我看来,OBJLoader2是一个更高性能的OBJ文件加载器。看一下主提交者的github页面会显示一个专门用于OBJLoader2类的存储库。 作者github repository here上有关于OBJLoader2类的文档
目前,主要区别在于OBJLoader2支持Web worker进行异步加载。它为syn和asyn之间的用户提供了一个选择。
找到一些interesting comparisons by the creator here:
╔════════════════════════════════════╦═══════════╦════════════╗
║ Feature ║ OBJLoader ║ OBJLoader2 ║
╠════════════════════════════════════╬═══════════╬════════════╣
║Handle all face types ║ x ║ x ║
║Support for points and lines ║ x ║ x ║
║Negative face indices ║ x ║ x ║
║Support Ngons ║ x ║ x ║
║Flat/Smooth Multi-Materials ║ ║ x ║
║Indexed Rendering ║ ║ x ║
║Handle Face-Type change inside group║ ║ x ║
║Deactivate console logging ║ ║ x ║
║Load MTLs via MTLLoader if desired ║ ║ x ║
╚════════════════════════════════════╩═══════════╩════════════╝