Making a new Loader

Hello,
I have a program in which I can create 3D models and then export them as xml files. Now I would like to load these 3D models using three.js. Therefore I want to write my own Loader.
Do you have any tipps and tricks how to start?

I’d start with the existing loadersKMZLoader might be a good place to look, as it’s (1) pretty simple, and (2) already parses XML.

The loader internally uses ColladaLoader so I guess it’s better to study how this loader works. 3MFLoader is also a good choice. Also check out the following code template for a loader:

1 Like