Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Lightweight Stage3D engine for Haxe
Haxe
Branch: master
Pull request Compare This branch is 1 commit ahead, 1516 commits behind ncannasse:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
h2d
h3d
samples
tools
.gitignore
README.md
engine.hxml
engine.hxproj
haxelib.xml

README.md

Haxe 3D Engine

A lightweight 3D Engine for Haxe.

Currently only supports Flash/Stage3D, but is abstracted to support other backends in the near future.

In order to setup the engine, you can do :

var engine = new h3d.Engine(); engine.onReady = startMyApp; engine.init();

Then in your render loop you can do :

engine.begin(); ... render objects ... engine.end()

Objects can be created using a combination of a h3d.mat.Material (shader and blendmode) and h3d.prim.Primitive (geometry).

You can look at available examples in samples directory.

2D GPU Engine

The h2d package contains classes that provides a complete 2D API that is built on top of h3d, and is then GPU accelerated.

It contains an object hierarchy which base class is h2d.Sprite and root is h2d.Scene

Something went wrong with that request. Please try again.