Help me please, can file: AWD support animations of 3d max.?, sorry I speak spanish

Software: Away3D 4.x

Paul Joel, Newbie
Posted: 07 February 2012 03:03 PM   Total Posts: 3

Help me please, can file: AWD support animations of 3d max.?, sorry I speak spanish.

I use
//AWDataExporterAIR version 1.1, Away3D Flash 10, generated by Away3D

class load :
I following this tutorial:
http://www.adobe.com/devnet/flashplayer/articles/creating-games-away3d.html

package
{

import away3d.containers.View3D;
import away3d.events.LoaderEvent;
import away3d.loaders.Loader3D;
import away3d.loaders.parsers.Parsers;

import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLRequest;

public class AwayAWD extends Sprite
{

  private var view3D:View3D;
  private var loader3D:Loader3D;
  public function AwayAWD()
  {
  view3D = new View3D();
 
  view3D.backgroundColor = 0x666666;
  view3D.antiAlias = 4;
  this.addChild(view3D);
 
  this.addEventListener(Event.ENTER_FRAME, this_handlerEnterFrame);
 
  Parsers.enableAllBundled();
  loader3D = new Loader3D();
  loader3D.addEventListener(LoaderEvent.RESOURCE_COMPLETE, loader3D_hanlderLoader_RecuerceComplete);
  loader3D.addEventListener(LoaderEvent.LOAD_ERROR, loader3D_handlerLoader_LoadError);
  loader3D.load(new URLRequest(“model/cube.awd”));
 
  }
 
  private function loader3D_hanlderLoader_RecuerceComplete(event:LoaderEvent):void{
  this.view3D.scene.addChild(loader3D);
 
 
 
  }
  private function loader3D_handlerLoader_LoadError(event:LoaderEvent):void{
 
 
  }
 
  private function this_handlerEnterFrame(event:Event):void{
  loader3D.rotationY = stage.mouseX - stage.stageHeight /2;
  loader3D.rotationX = stage.mouseY - stage.stageWidth /2;
 
  view3D.camera.y = 3 * (stage.mouseY - stage.stageHeight/2);
  view3D.camera.lookAt(loader3D.position);
 
  view3D.render();
  }
}
}

 

   

Avatar
theMightyAtom, Sr. Member
Posted: 08 February 2012 10:09 AM   Total Posts: 669   [ # 1 ]

Hi Paul,

I think you are mixing versions of Away3D.
The tutorial you are following is for Away3D 4.0 (Flash version 11 and above), where as you write you are using Away3D Flash 10.

Try using the latest version of Away3D and see if that helps.
As far as I am aware there is no way of exporting animation from Max to AWD format right now. (Someone please correct me if there is a way…)

Good Luck!

   

Paul Joel, Newbie
Posted: 08 February 2012 02:23 PM   Total Posts: 3   [ # 2 ]

smile tanks, you right, MIXING was the problem Away and F10
On the other hand, AWD i hope support 3d max animation

PolarBear.awd file, i think so include animation

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X