Command line .babylon to .glb?


Is there a way to convert .babylon file to .glb via command line or server side?

I can convert .babylon to .obj and then to .glb but I need multiple UV support which is absent from obj.

Any help or advice would be greatly appreciated.

Thank you

Maybe you can use the null engine, load the glb then export to .babylon?

1 Like

This will unfortunately not work if you have textures as special treatments require a canvas to convert them.

I wonder if you could script the browser with smthg like pupeteer.

1 Like

Thank you both. I think puppeteer is the way to go.

1 Like