Currently, I am working on developing a web application that allows users to upload obj/fbx files and view them directly in the browser. The utilization of OBJLoader and FBXLoader provided by Threejs has been successful so far. However, I have a specific requirement where I need to convert both of these models to GTLF format before loading them into the scene to maintain consistency.
My challenge now is how to accomplish this task using Threejs. I am aware that Threejs comes with a GTLF exporter, but I am unsure of the steps needed to integrate it seamlessly into my project for this particular purpose.