OK I loaded the model that we created into the existing Torso Material
Demo

Beside the fact that i couldn't cast a 3ds modelLoader to a mesh.  The
big one was a 90 degree rotation of the model sent the texture/normal
map bonkers!  It didnt render right.  I remove the rotation and
everythings fine.  The model looks great! but the car is laying on its
side.  so i will test more but just wanted to note this.   It looks
great though!




        modelLoader = Max3DS.load("assets/cars/Dodge/ViperGTS/viper_test.
3DS", {material:carNormalMaterial, centerMeshes:false,
name:"car",autoLoadTextures:false, ownCanvas:true});
        modelLoader.addOnSuccess( onModelLoaded );
        modelLoader.addOnError( onModelFailed );
        scene.addChild( modelLoader );

        panorama = new Skybox(panoramaMaterialF, panoramaMaterialL,
panoramaMaterialB, panoramaMaterialR, panoramaMaterialU,
panoramaMaterialD);
        panorama.scale(0.15);
        panorama.quarterFaces();
        scene.addChild( panorama );
}

function onModelLoaded ( event:LoaderEvent ) : void
{
        carmodel = modelLoader.handle;
        trace("carmodel = "+ carmodel);
        //carmodel.rotationX = 90

Reply via email to