awd export submesh | material id support ?

Software: Away3D 4.x

nitacawo, Newbie
Posted: 09 January 2015 10:36 AM   Total Posts: 2

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.

 

File Attachments
question.zip  (File Size: 425KB - Downloads: 128)
   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X