Jump to content

Export as gltf


FreakTheMighty
 Share

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.

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...