• Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language Haxe
  • Created over 12 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Away3D engine for OpenFL

THIS REPOSITORY HAS NOW MOVED !!!!!!

Please take a look at...

http://github.com/openfl/away3d

...for the latest OpenFL implementation of Away3D

==============================================================================

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 Away3D OpenFL" package="away3d.examples.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"  background="#000000"  />
        
    <source path="src" />
    
    <haxelib name="format" if="html5" />
    <haxelib name="away3d" />
    <haxelib name="openfl" />
    
    <assets path="embeds" exclude="away3d.svg" />

    <icon path="embeds/away3d.svg" />
    
    <haxedef name="source-map-content" if="html5" />
    <haxedef name="dom" if="html5" />

    <android minimum-sdk-version="10" />

</project>

Building Examples

To build an example, 'cd' to the example's folder e.g. Basic_View and use the following.

openfl test <target>     - where target is html5, windows, mac, neko, ios, android, etc

NOTE: When using OpenFL 3.x and the non-html5 targets, please add the -Dlegacy option as Away3D doesn't fully support OpenFL-next for CPP targets as yet.

openfl test mac -Dlegacy

Dependencies

Requires OpenFL 3.x & Lime 2.x (ideally OpenFL 3.5.3 & Lime 2.8.3 or later for both).

License

Copyright 2014 The Away3D Team

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

More Repositories

1

away3d-core-fp11

Away3D engine for Flash Player 11
ActionScript
639
star
2

awayphysics-core-fp11

Away Physics - 3D physics library for the Away3D Engine in Flash Player 11
C++
112
star
3

away3d-examples-fp11

Actionscript examples for use with the Away3D engine for Flash Player 11
ActionScript
101
star
4

away3d-core-broomstick

Away3D engine for Flash Player Incubator
ActionScript
93
star
5

awayphysics-examples-fp11

Actionscript examples for use with the AwayPhysics library in Flash Player 11
ActionScript
58
star
6

away3d-examples-broomstick

Actionscript examples for use with the Away3D engine for Flash Player Incubator
ActionScript
54
star
7

away3d-examples-openfl

OpenFL port of the Away3D 3D engine - Examples
Haxe
38
star
8

away3d-core-fp10

Away3D engine for Flash Player 10
ActionScript
33
star
9

integration-examples-fp11

Actionscript examples demonstrating the use of the Away3D engine for Flash Player 11 in combination with other actionscript libraries
ActionScript
24
star
10

away3d-tutorials-fp11

Tutorials for use with the Away3D engine for Flash Player 11
JavaScript
24
star
11

away3d-core-js

JavaScript
16
star
12

away3dlite-core-haxe

Away3DLite engine for HaXe
Haxe
11
star
13

away3dlite-core-fp10

Away3DLite engine for Flash Player 10
ActionScript
10
star
14

away3dlite-examples-haxe

HaXe examples for use with the Away3DLite engine for HaXe
Haxe
6
star
15

away3d-examples-fp10

Actionscript examples for use with the Away3D engine for Flash Player 10
ActionScript
6
star
16

away3d-examples-js

JavaScript
5
star
17

away3d-game-tools

Tool and utility classes aimed towards game development on the Away3D platform.
ActionScript
3
star
18

away3dlite-examples-cs4

CS4 / CS5 examples for use with the Away3DLite engine for Flash Player 10
ActionScript
3
star
19

away3d-core-fp9

Away3D engine for Flash Player 9
ActionScript
3
star
20

away3d-examples-cs4

CS4 / CS5 examples for use with the Away3D engine for Flash Player 10
ActionScript
3
star
21

away3dlite-examples-fp10

Actionscript examples for use with the Away3DLite engine for Flash Player 10
ActionScript
2
star
22

away3d-examples-fp9

Actionscript examples for use with the Away3D engine for Flash Player 9
ActionScript
1
star
23

away3d-test-fp11

JavaScript
1
star
24

away3d-deferred-fp11

A deferred renderer module for Away3D 4.0
ActionScript
1
star
25

away3d-docs-fp11

JavaScript
1
star
26

away3d-examples-cs3

CS3 examples for use with the Away3D engine for Flash Player 9
ActionScript
1
star
27

away3d-demos-fp11

ActionScript
1
star