You have to render your scene, at least once. Try to add these lines
somewhere in a loop:

view.camera.z=-mouseY*100;
view.render();

Let me know

-Peter


On Sat, Oct 3, 2009 at 12:48 PM, Whitetimer <[email protected]>wrote:

>
> Hi Pete
>
> I took a look at those samples and tried this using Away3D v3.4 :-
>
> package {
>        import away3d.*;
>        import away3d.containers.*;
>        import away3d.core.*;
>        import away3d.loaders.*;
>
>        import flash.display.*;
>
>        [swf(backgroundColour="#FFFFFF", frameRate="30")]
>
>
>
>
>        public class RSM_Server extends Sprite
>        {
>                public var view:View3D;
>                public var track:*
>                public var signature:MovieClip;
>                public var pan:Boolean;
>                public var scene:Scene3D;
>
>                public function RSM_Server()
>                {
>                        stage.align = StageAlign.TOP_LEFT;
>                        stage.scaleMode = StageScaleMode.NO_SCALE;
>
>                        view = new View3D();
>                        addChild(view);
>
>                        track = Max3DS.load("Tracks/Bahrain/shakir.3ds",
> {texturePath:"tracks/Bahrain/", name:"track", loadersize:1000});
>                        view.scene.addChild(track);
>
>                }
>
>
>        }
> }
>
> And the Track is not showing up ... Any suggestions ?
>
> Cheers




-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to