load models with Three.js in Node.js

I’m currently building a node.js server that’s meant to allow users to upload models and convert them to other formats. I thought this would be possible with Three.js because I’ve had success converting files to other formats in the browser. I figured I could use headless-gl alongside some Three.js code to load models in my server.

However, I’m starting to think it might not be possible, due to APIs only available from the browser:

So, my question is is this possible to do? I’m using the loaders and exporters from Three.js’s addons. Thank you

Read more here: Source link