Hey, I have a quick questions about using MD2 Models and Applying
Material.

I noticed in the LoaderMD2Test.as that it uses the:

var material : DefaultMaterialBase;

material = DefaultMaterialBase(_mesh.modelMaterial);

material.normalMap = new Norm().bitmapData;
material.specularMap = new Spec().bitmapData;
material.diffuseMethod = new EnvMapDiffuseMethod(_diffuseMap);

Is the DefaultMaterialBase inheriting the skin that is used on
the .MD2 model.

I added another MD2 model and changed the skins but I'm not getting
the skin to be applied.

When I removed the normalMap, Spec, & Diffuse it's basically just a
mesh with white.

Can anyone lead me to get just the blank mesh with the default skin
that is currently textured on it.

I tried just using:

var material : BitmapMaterial = new
BitmapMaterial(Texture().bitmapData, true, false, true);
material = BitmapMaterial(_mesh.material);
material.normalMap = new Norm().bitmapData;

Texture() is the class Embed associated with the regular texture. I'm
sure im doing this completely wrong.

Thanks,
-Andrew

Reply via email to