Port of JavaScript/WebGL based http://babylonjs.com/ engine to Haxe programming language.
Haxe JavaScript HLSL Other
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 19 commits ahead, 173 commits behind vujadin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
ci
com/babylonhx
src
webview+
.gitignore
.travis.yml
BabylonHx_JS.hxproj
BabylonHx_Lime.hxproj
BabylonHx_OpenFL.hxproj
BabylonHx_Snow.hxproj
LICENSE
README.md
build_babylonjs.hxml
build_js.hxml
config.json
gulpfile.js
haxelib.json
package.json
project.flow
project.nmml
project.xml
project_openfl.xml
scrshot.jpg

README.md

BabylonHx Demos

vr materials sample ProceduralTextures Fresnel DisplacementMap heightmap basic2 CSGDemo Collisions EasingFunctions Environment Intersections basicscene bloom bumpmap lensflare ribbon shadows2 godrays refraction physics2
<a href="http://babylonhx.github.io/ssao/" target="_blank" />
	<img src="http://babylonhx.github.io/ssao/ssao-sm.jpg" alt="ssao"   />
</a>
<a href="http://babylonhx.github.io/fog/" target="_blank" />
	<img src="http://babylonhx.github.io/fog/fog-sm.jpg" alt="fog"   />
</a>
<a href="http://babylonhx.github.io/volumetriclighting/" target="_blank" />
	<img src="http://babylonhx.github.io/volumetriclighting/volumetriclighting-sm.jpg" alt="volumetriclighting"   />
</a>
<a href="http://babylonhx.github.io/CustomRenderTarget/" target="_blank" />
	<img src="http://babylonhx.github.io/CustomRenderTarget/CustomRenderTarget-sm.jpg"  alt="CustomRenderTarget"  />
</a>
<a href="http://babylonhx.github.io/clouds/" target="_blank" />
	<img src="http://babylonhx.github.io/clouds/clouds-sm.jpg" alt="clouds"   />
</a>
<a href="http://babylonhx.github.io/ForestOfPythagoras/" target="_blank" />
	<img src="http://babylonhx.github.io/ForestOfPythagoras/ForestOfPythagoras-sm.jpg" alt="ForestOfPythagoras"   />
</a>
<a href="http://babylonhx.github.io/audioanalyzer/" target="_blank" />
	<img src="http://babylonhx.github.io/audioanalyzer/audioanalyzer-sm.jpg" alt="audioanalyzer"   />
</a>
<a href="http://babylonhx.github.io/instances2/" target="_blank" />
	<img src="http://babylonhx.github.io/instances2/instances2-sm.jpg" alt="instances2"   />
</a>
<a href="http://babylonhx.github.io/water/" target="_blank" />
	<img src="http://babylonhx.github.io/water/water-sm.jpg"  alt="water"  />
</a>
<a href="http://babylonhx.github.io/instances/" target="_blank" />
	<img src="http://babylonhx.github.io/instances/instances-sm.jpg" alt="instances"   />
</a>



<a href="http://babylonhx.github.io/pbr_rendering/" target="_blank" />
	<img src="http://babylonhx.github.io/pbr_rendering/pbr_rendering-sm.jpg" alt="pbr_rendering"   />
</a>
<a href="http://babylonhx.github.io/starfield/" target="_blank" />
	<img src="http://babylonhx.github.io/starfield/starfield-sm.jpg" alt="starfield"   />
</a>
<a href="http://babylonhx.github.io/nightvision/" target="_blank" />
	<img src="http://babylonhx.github.io/nightvision/nightvision-sm.jpg" alt="nightvision"   />
</a>
<a href="http://babylonhx.github.io/depthoffield/" target="_blank" />
	<img src="http://babylonhx.github.io/depthoffield/depthoffield-sm.jpg"  alt="depthoffield"  />
</a>
<a href="http://babylonhx.github.io/heart/" target="_blank" />
	<img src="http://babylonhx.github.io/heart/heart-sm.jpg" alt="heart"   />
</a>

BabylonHx

BabylonHx is a direct port of BabylonJs engine to Haxe, compatible with Snow, Lime and NME. It supports (almost) all features of the original.

API documentation - http://babylonhx.github.io/api/com/babylonhx/index.html

Usage instructions:

Download complete repo. Navigate to the folder where files are downloaded.

To build for Snow run from command line:

haxelib run flow run web

To build for Lime run from command line:

haxelib run lime run project.xml html5

To build for NME run from command line:

haxelib run nme run project.nmml windows

You should see this in your browser when build is done: Alt text

Snow binaries are located in bin_snow folder and Lime binaries are located in bin_lime folder.

You can get assets required by other samples from Babylon.js samples repo https://github.com/BabylonJS/Samples

Visit http://babylonhx.com/ for more info about the engine.