Skip to content

bradparks/away3d-core-openfl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Away3D for OpenFL

##Introduction Away3D for OpenFl is a port of the Flash Away3D engine, enabling targetting Flash, Neko, HTML5 and native CPP builds for OSX, Windows, iOS, Android, etc.

##Features

  • AGLSL conversion of AGAL code to support OpenGLES.
  • Targets cross platform - web, mobile, desktop
  • Texture mapping with mipmapping
  • Lighting
  • Shadow mapping (in most cases)
  • Model loading: 3DS, AWD, MD5, MD2, DAE
  • Skeleton animation
  • Skinned animation
  • 3D particle system
  • Line drawing (Segments & SegmentSets)

##Installation

haxelib install away3d

##Getting Started

lime create away3d      // To list all of the available examples
lime create away3d:Basic_View      // To install the Basic_View example
lime create away3d:Basic_View /destinationFolder  // To install the example to a specific location

A typical project.xml file would look as follows. Each example in the away3d-examples repository has it's own project.xml.

<?xml version="1.0" encoding="utf-8"?>
<project>
    <meta title="Basic View Example" package="com.geepers.BasicView" version="1.0.0" />
    <app main="Basic_View" file="Basic_View" path="Export" />
    <window width="1024" height="700" if="desktop" />
    <window width="0" height="0" if="html5" />
    <window orientation="landscape" vsync="true" if="cpp"/>
    <window fps="60" hardware="true" allow-shaders="true" require-shaders="true" depth-buffer="true" stencil-buffer="true" />
    <source path="src" />
    <haxelib name="format" if="html5" />
    <haxelib name="away3d" />
    <haxelib name="openfl" />
    <assets path="embeds" exclude="openfl.svg" />
    <icon path="embeds/openfl.svg" />
    <haxedef name="source-map-content" if="html5" />
    <haxedef name="dom" if="html5" />
    <android minimum-sdk-version="10" />
</project>

##Dependencies Requires OpenFL 2.0.1

NOTE: Currently the GitHub master of OpenFL is required as it contains classes which are not in the released version.

##License

Copyright 2014 The Away3D Team

The Away3D OpenFL port is free, open-source software under the MIT license.

About

Away3D engine for OpenFL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published