FreakTheMighty

Export as gltf

Recommended Posts

The scene serializer handles it: https://github.com/sebavan/Babylon.js/blob/master/src/Tools/babylon.sceneSerializer.ts

and as gltf only support a subset, you can recreate the same as https://github.com/BabylonJS/Babylon.js/blob/master/serializers/src/OBJ/babylon.objSerializer.ts

Also if you prefer C# you can rely on https://github.com/BabylonJS/Exporters/blob/master/3ds Max/Max2Babylon/Exporter/BabylonExporter.GLTFExporter.cs which convert babylon to gltf for the 3dsmax exporter.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.