IS THAT MD2 MODEL CAN`T LOAD DIFFUSE TEXTRUE ?

Software: Away3D 4.x

regiii, Newbie
Posted: 22 June 2011 04:22 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;

   

Richard Olsson, Administrator
Posted: 22 June 2011 05:31 PM   Total Posts: 1192   [ # 1 ]

Duplicate thread. This is a support question (unless you’re 100% it’s a bug), so please continue discussion in the other thread: http://away3d.com/forum/viewthread/136

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X