Jump to content

Command-Line Converter for Linux


KnisterPeter
 Share

Recommended Posts

Hi there,

 

I would like to give babylon.js a try but I could not find any converter tool for assets.

There are the exporters and the online converter, but I do not have a modeling tool besides blender (which could not read in our models) and I could not upload private assets to an unknown server.

 

To make it a bit harder, I only use linux (but could install a vm if required).

 

Where to find the commandline converter source? And is it compileable with mono?

 

Cheers

Markus

Link to comment
Share on other sites

Hi there,

 

I would like to give babylon.js a try but I could not find any converter tool for assets.

There are the exporters and the online converter, but I do not have a modeling tool besides blender (which could not read in our models) and I could not upload private assets to an unknown server.

 

To make it a bit harder, I only use linux (but could install a vm if required).

 

Where to find the commandline converter source? And is it compileable with mono?

 

Cheers

Markus

Well you're in luck! The main supported asset exporter for BabylonJS IS an addon for Blender:

 

You can find it here: https://github.com/BabylonJS/Babylon.js/tree/master/Exporters/Blender

 

Resources on how to use it:

It works pretty well, but if for some reason, they totally fail to load, it's probably due to a double-comma error produced by the exporter. You can fix it by running this bash script in the directory that contains your exported assets after you export them:

#!/bin/bash# Locate all files with the extension .babylon and replace ,, with ,find . -name '*.babylon' -type f -exec sed -i 's/,,/,/g' {} \;
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...