A .max file is a project scene file, and not an object. You should use the .3ds if you can
-Pete On Wed, Jul 15, 2009 at 1:32 PM, maltech <[email protected]> wrote: > > Thanks for that. > > It looks like it would have worked but I got a buncha UV errors. I > think when I export it to 3ds from 3dsmax I lose something. Why can we > not load a .max file? > > On Jul 15, 1:23 pm, desgraci <[email protected]> wrote: > > try this > > [Embed(source="the picture.jpg")] > > private var materialClass:Class; > > > > private var materialMaterial:BitmapMaterial; > > > > public function World() > > { > > > > scene = new Scene3D(); > > // create a basic camera > > //cam = new Camera3D(); > > cam = new Camera3D({zoom:5, focus:100,z:300,y: > > 300}); > > //view = new View3D({camera:cam,x:250,y:200}); > > view = new View3D({camera:cam, scene:scene}); > > view.x = 400; > > view.y = 300; > > addChild(view); > > > > materialMaterial = new BitmapMaterial(Cast.bitmap > > (materialClass),{smooth:true, precision:1}); > > > > fighter = new Object3DLoader(Max3DS.load > > ("f360.3ds", > > { material:materialMaterial, name:"fighter", > > scaling:50, y:0, x:0, z:0, > > rotationX:-90, loadersize:300})); > -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
