Away3D Forum 0 Copyright (c) 2017 ExpressionEngine,2017:04:27 360 3d rotation + fly in camera look direction,2013:forum/viewthread/.4282 2013-03-28T18:42:36Z 0 gazuraz Hey. Basically I am totally stuck whit this problem, and I am trying to find an answer for several months. I am trying to create a fly controller for mesh object. The idea is to simulate a first person 360*360*360 controller, similar whit regular first person controller but with additional dimension. If user looks up, the plane should go up and if user looks down the plane will go down.

So far I have came up whit this.

camera.+= Math.sin(camera.rotationX Math.PI 180)*(Math.sin(camera.rotationY Math.PI /180)-Math.cos(camera.rotationZ Math.PI 180));
camera.-= Math.cos(camera.rotationY Math.PI 180)*(Math.sin(camera.rotationZ Math.PI 180)-Math.cos(camera.rotationX Math.PI 180));
camera.+= Math.sin(camera.rotationYMath.PI/180); 

how ever there is a problem. This formula works OK until I one point and than just goes bananas. When I perform a couple of loops, the fly gets uncontrollable and the camera goes backward, or side by… Any ideas? I am going crazy whit this one…

Problem with stage3D and away3D,2017:forum/viewthread/.6218 2017-04-26T07:19:12Z 0 JohnAdam Ok that is so strange it make like 3 hour i try to figure this out. First… everything was working correctly so i don’t know what i change or if i updated to new code for starling or away3d and i dont think so.

I use the standard code to create a stage3DProxy

   * will start the engine
public function StartUpEngine():void {
// Define a new Stage3DManager for the Stage3D objects
stage3DManager Stage3DManager.getInstance(stage);
// Create a new Stage3D proxy to contain the separate views
stage3DProxy stage3DManager.getFreeStage3DProxy();
stage3DProxy.antiAlias 8;
stage3DProxy.color 0xff0000;
private function onContextCreated(event Stage3DEvent) : void {
stage3DProxy.width stage.fullScreenWidth;
stage3DProxy.height stage.fullScreenHeight;
//Init everything

all was working.. now… away3D is working but i can’t get starling to render… it’s clearly there when i trace it.

I do have a enter_frame event that do a nextFrame()

private function InitListeners():void {
private function onEnterFrame(e:Event):void {
//render starling and away3d

all pretty standard and it worked!

if i just disable the proxy and do a normal starling instance it’s working.

i swear all was working yesterday i just don’t get it. i trie dto just disable the away3D and starling still not render. it’s like the proxy wasn’t working but IT WAS working before…

Anyone got a hints ? it make 3 hours i’m searching and i’ve tested every options.

Starling + Away3d + Android bug,2017:forum/viewthread/.6217 2017-04-26T07:06:44Z 0 JohnSon Hi,

I got a problem when I try to combine Starling + Away3d on a Android device. As soon as I show some Starling or Away3d content, it displays for a couple of frame and then the image disappear. This bug only occurs when I use both Away and Starling with depthAndStencil set to true. Post 36170 seem to have to same behavior but on Pepper.

I’m using the latest (MASTER) version of Starling, tried with AIR 3.7 and 3.8, the (brand new) Away 4.1.4 Gold. I also tried with different version of Starling (1.3) and Away3d (4.0, 4.1.1).

Everything is working in Windows, Mac, as swf, as AIR desktop, as AIR iOS, but not as AIR Android. I’m testing with a Nexus 10 running 4.2.2.

Here’s my code to initialize stage3d. Remember that if I only use the normal Starling init, then everything is fine (but obviously without my 3d assets).

var stage3DManager:Stage3DManager = Stage3DManager.getInstance(stage);
_stage3DProxy = stage3DManager.getFreeStage3DProxy(false, “baseline”);
_stage3DProxy.addEventListener(Stage3DEvent.CONTEXT3D_CREATED, onContextCreated);

private function onContextCreated( {
_stage3DProxy.removeEventListener(Stage3DEvent.CONTEXT3D_CREATED, onContextCreated);
_stage3DProxy.width = stage.stageWidth;
_stage3DProxy.height = stage.stageHeight;
_away3dView = new View3D();
_away3dView.stage3DProxy = _stage3DProxy;
_away3dView.shareContext = true;
_starlingInstance = new Starling(StarlingRoot, stage, _stage3DProxy.viewPort, _stage3DProxy.stage3D, Context3DRenderMode.AUTO, “baseline”);
_starlingInstance.addEventListener(, onStarlingContextCreated);

private function onStarlingContextCreated( {
_starlingInstance.stage3D.removeEventListener(, onStarlingContextCreated);
_starlingInstance.simulateMultitouch = false;
_starlingInstance.enableErrorChecking = false;
_starlingInstance.stage.frameRate = 30;
_starlingInstance.viewPort = new Rectangle(0, 0, _screenWidth, _screenHeight);

private function onEnterFrame():void {

Hopefully someone will be able to understand what it happening with this or point me to an existing bug report at Adobe.


AIR SDK 25,2017:forum/viewthread/.6213 2017-04-13T14:54:14Z 0 cph I currently have a successful implementation of the last Away3D source(4.x) using the Air SDK 23, but since the release of the Air SDK 24 and 25, I am unable to get Away3D to initialize at all. Does anyone have any suggestions?

Note: I am using stage3DManager and stage3DProxy too.

Away3D questions,2017:forum/viewthread/.6212 2017-04-12T09:26:06Z 0 JohnAdam Hi guys, I am starting to work with Away3D and I will have few questions in an upcoming days for those who already worked with it.

Question: Is it possible to decrease the number of polygons on the external model without editing the model in some 3D graphic software? I have bought human model made in 3D Max but it is so complex

Saving 3D model for Away3D,2017:forum/viewthread/.6211 2017-04-12T09:19:45Z 2017-04-24T08:59:35Z JohnSon Hi, I have few 3D models (90% is in 3ds format) and I have trouble with most of them. I can load them into my scene but I cannot apply any material to them , they are just black. I have one 3ds model from a Away3D Essentials book that works great, it has a texture applied that loads plus I can change that texture to anything I want inside the code. I am trying to find the difference between those models for a long time, still no luck ;/ I have contacted few people working in 3D Max but they didn’t help me either any idea what might that be. I can provide samples just send me an email.

Tags: downloads ringtone, hip hop ringtones

FBX File Support,2017:forum/viewthread/.6210 2017-03-26T23:42:31Z 0 therealloft This week i have decided to create a fbx binary parser for away3d 4.1

So far it only imports geometries data, cameras and lights.

i was wondering although i think i know what the answer is who wants a copy when its done?

Call for Away3D showcase content for GDC SF,2013:forum/viewthread/.3832 2013-01-16T16:23:05Z 2013-01-17T00:30:10Z Rob Bateman Are you currently working on an Away3D game that is due to be released in the next couple of months? Perhaps you are working in company that is planning an alpha or beta release of their game, or maybe you are publishing you’re own personal assault on the 3D gaming world?

From casual coffee-break to frenetic arcade action, hardcore RPG to social-networked heaven, if any of the above is true, then we would like to hear from you to help us compile a list of eligible showcase material for the upcoming GDC conference in San Francisco (Mar 25th - 29th). Rules are simple - the game must use Away3D in some form and must have an available version to play by the time the conference expo opens (although we’ll need to see something before then obviously). The lucky selected few will get free exposure at the Adobe gaming booth, courtesy of the Away3D platform and Adobe Gaming SDK!

Reply inline below if your game is already in the public domain, or PM me if you are still in stealth-mode and need NDAs signed before any details can be given. This will be a great way to get your game showcased at the world’s largest and longest-running games industry event for free, so if you have something to show, make sure you don’t miss out on this fantastic opportunity.

Quaternion - object orientation,2017:forum/viewthread/.6202 2017-02-23T13:37:23Z 0 yomyom Hello,
I’m trying to orientate some objects manually along a curve. I would like to orientate them not using the global coordinate system but based on the previous object (orientation = previous object orientation + delta angle). And I would like to orientate them using only 2 axis if possible (rotation around x and z)

I did something which seems to work when the curve is in the XY plane (global rotation at the bottom part of the curve: x=0, y=0, z=90°-> horizontal) or in the ZY plane (x=90°, y=0, z=0 -> horizontal). See the attached picture (paint is my friend).

But when I try at 45° between these two plans, it doesn’t work (x=90°, y=0, z=90° at the bottom part).

How does the quaternion work? Why does the orientation of the object tend to deviate in this case? Is it possible to reach the right orientation using only 2 axes?
Thank you for your help, if you have any tips…

Freelance concept and 3d artist available for work,2015:forum/viewthread/.5857 2015-05-06T13:25:28Z 2015-05-06T13:26:45Z spukeanimation I am a freelance 3d artist looking for works,


Phone no:- +1 315 670 7853

Services provide:
Concept art
3d modeling , texture, rigging and animations
Game Assets/Props
Game Environments
Pre-rendering assets
Optimized Texturing
Level of Detail Optimization + Rigging( Biped/bone support)
Exporting( Torque3D, Unity3D,To Unreal Ed, Doom3,etc)
Motion Graphics

Spuke Animation