Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.64 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.64 KB

3D-HaxeFlixel

TUTORIAL 1 IS OUT‼️:

Watch the video

Credits 🟢

Info 🔵

This uses the Away3D frame work from OpenFL and makes it renderable in HaxeFlixel as a FlxSprite. With some rendering workarounds in the FlxView3D and Main File, this is possible.

Away3D uses View3D as its primary container so that is what the FlxView3D works with.

There is a planned implemanation of Away3D using a more HaxeFlixel like syntax to make the coder easier to work with.

Limitations 🔴

  • Can not render a model with more then ONE texture (can have specular and normal maps).
  • Only supports the follow file formats; .obj, .awd, .3ds, .ac3d, .md2, .md5, .dae, .dfx.
  • Amount of View3Ds allowed limited to FlxG.stage.stage3Ds.length (preformance dependent in some cases). Use Flx3DUtil.is3DAvailable(); to check if a 3D Instance is available.

Requirements 🟡

  • The Away3D OpenFL Library; openfl install away3d
  • Adding the Library to your Project.xml; <haxelib name="away3d"/>