Broomstick :IS THAT MD2 MODEL CAN`T LOAD DIFFUSE TEXTRUE ?

Software: Away3D 4.x

regiii, Newbie
Posted: 22 June 2011 04:18 PM   Total Posts: 3

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;

   

regiii, Newbie
Posted: 23 June 2011 07:15 AM   Total Posts: 3   [ # 1 ]

Does anyone know?Where is my mistake?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X