To get started working with BabylonHx, first you need to install Haxe compiler and NekoVM. That will also install Haxe library manager "haxelib" which you will use to install necessary libraries/frameworks.
Then you'll have to install runtime files for c++ backend for Haxe - HXCPP, execute from command line:
haxelib install hxcpp
After that, you can choose one of the three fantastic Haxe libraries/frameworks:
or you can install all of them. BabylonHx is compatible with all three.
To start with Lime execute from cmd line:
haxelib install lime
and after that execute:
haxelib run lime setup
When Lime is installed and configured you'll have to install dev tools for each platform you wish to build BabylonHx for,
so if you want to build for Windows you should run this from cmd line:
haxelib run lime setup windows
This will start download process of VisualStudio and it will install and setup everything for you.
For every other platform the process is the same, for example android:
haxelib run lime setup android
It will download android sdk/ndk and Ant (and java sdk if you don't have it already).
You should accept default locations that installer will offer.
For web (js) target you don't have to install anything.
Finally, you have to install "poly2trihx" library which is used by BabylonHx and "actuate" lib which is used in some examples:
haxelib install poly2trihx
haxelib install actuate
Now you should be ready to build BabylonHx.
Download complete repo from https://github.com/vujadin/BabylonHx
and navigate to folder where you have downloaded files.
Then run from cmd line:
haxelib run lime test project.xml html5
this should build "BasicScene" sample and run it in your browser.
You can build for windows/android by changing build target:
haxelib run lime test project.xml windows
haxelib run lime test project.xml android
If you wish, you can also instal NME and Snow:
haxelib install nme
haxelib git snow https://github.com/underscorediscovery/snow.git
For Snow you'll also need to install Flow which is used to build Snow projects:
haxelib git flow https://github.com/underscorediscovery/flow.git
Then, to build for NME run:
haxelib run nme build build.nmml android
And for Snow:
haxelib run flow build android
OimoHx library used in some examples is located here: https://github.com/vujadin/OimoHx
and code for loading .OBJ, .STL and .PLY formats is located in BabylonHx_Extensions repo: https://github.com/vujadin/BabylonHx_Extensions
An that should be it.
Hopefully I haven't missed any critical step, feel free to ask if you run into any problems.