Hello ,
I use 3ds max 2012 and awd exporter(https://code.google.com/p/awd/)
I am exporting an animated model, which is one poly object with several cubes inside. Cubes have different material ids.
Is it possible to assign different color materials in away3d last build ?
I ‘ve searched the forum and tried several methods like this:
trace("mesh.submeshes " + mesh.subMeshes.length);
trace(mesh.geometry.subGeometries.length);
for each (var model_submesh:SubMesh in mesh.subMeshes)
{
trace(model_submesh.material.name);
}
but it always returns only 1 object. Are material-ids or access to different meshes supported at all?
I’ve included clean code and 3ds max files help would be really appreciated.