I USE THE AWAY3D 4.0 THE MODEL IS MD2 FILE….I JUST WANT TO KNOW HOW TO USE THE DIFFUSE TEXTRUE IN IT .....
I TRY MANNY TIMES….IT SEEMS BE NOT WORK…SOMEBODY HELP ME..T T
material = new BitmapMaterial(new ogre().bitmapData);
//material.specularMap = new Spec().bitmapData;
//material.normalMap = new Norm().bitmapData;
material.diffuseMethod = new EnvMapDiffuseMethod(_diffuseMap);
//material.diffuseMethod = new BasicDiffuseMethod();
//material.diffuseMethod.bitmapData = new ogre().bitmapData;
_mesh.material = material;