Jump to content

Export Obj, FBX and DAE file to .babylon


mkaouri
 Share

Recommended Posts

Hello everyone,

I need to export OBJ, FBX and DAE files to .babylon file format using a .NET source code by running Microsoft Visual Studio 2015. The one in the github is old and doesn't contain the OBJ exporter. https://github.com/BabylonJS/Babylon.js/tree/master/Exporters/Unsupported

I don't want to use other applications such as 3DMax or Blender to export to .babylon format because I need to use the source code in my in-house developed application.

I appreciate if you can share that source code for babylon exporter which exports from OBJ, FBX and DAE.

 

 

Link to comment
Share on other sites

I am not sure you even need to export to .babylon.  You can use the OBJ Loader.  There is no direct conversion of the 2 file formats, hence no source code.  We use the built-in OBJ loading capabilities of 3DMax & Blender which sets it to their internal format.  The exporters go from the internal format of those products to a .babylon.

You can look at the source code of the OBJ Loader at above link.  Improve it in areas it may fail you(& PR if you like). 

If you really need it in .babylon format (???), you might use the OBJ Loader, then use Babylon serializer.

Link to comment
Share on other sites

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...