The following example sources can be found on GitHub and demonstrate the Away3D 3D engine port to OpenFL working across multiple platforms. This page links to the FLASH and HTML5 builds of each example. iOS, Android, Mac, Windows and other targets need to be built from the sources.
Please check the Away3D README on GitHub for installation and building instructions.
Basic_Shading Example. Three object with different textures and surface textures are positioned over a textured plane. The mouse can be used to rotate the scene to see the effect of lighting on the objects. FLASH VERSION | HTML5 VERSION
Basic_LoadDAE Example. A model rocking horse in DAE format is loaded into a room, depicted by a number of planes and then shaded has a shadow applied. (iOS does not currently support shadows). FLASH VERSION | HTML5 VERSION
Basic_MipMapping Example. Initially the large textured surface has no mipmapping or anisotropic filtering. Clickin on the scene cylces through Nothing, MipMap only, 2xAnisotropic filtering, 4x, 8x and 16x. If you look near the horizon, you can see the effect of the multiple levels of anisotropy. NOTE: Anisotropic filtering is only currently available on native and HTML5 targets, NOT Flash. FLASH VERSION | HTML5 VERSION
Intermediate_Lines Example. Lines are created and positioned over a noise based bitmap to resemble a terrain. Three wireframe spheres are positioned on the terrain surface and roll over it as the terrain scrolls. FLASH VERSION | HTML5 VERSION
Intermediate_ParticleExplosions Example. Five bitmap logos are converted into a grids of particles which then explode and implode to re-create the logo images. Demonstrates complex particle properties including positioning, color blending, etc. FLASH VERSION | HTML5 VERSION
Intermediate_MD5Animation Example. An animated model in MD5 format along with supporting MD5 animation sequences are used to create and animate this model. On the desktop the number keys can be used to initiate the animation sequences and the cursor keys can move the model in the scene. Icon representations of the controls are shown for interation via mobiel/tablet devices. FLASH VERSION | HTML5 VERSION
Intermediate_MouseInteraction Example. Random objects are positioned in the scene. Black objects have no effect. Grey objects block mouse interaction to objects behind them. Blue objects register mouse events based on it's bounding box or sphere only whilst red object register hits on the object surface. A head model is loaded to show the normal of the objects surface where the mouse event occurs is returned. FLASH VERSION | HTML5 VERSION