Concertor WRL to GLB API


I am looking to create an app to convert my WRL files to GLB format in my website.
can I achieve that with three.JS?

Any direction is much appreciated!

You can import you WRL files with VRMLLoader and then export the loaded assets with GLTFExporter. Below are two examples demonstrating each component.

VRMLLoader: three.js webgl - loaders - VRML loader
GLTFExporter: three.js webgl - exporter - gltf

1 Like