getting g tag (group name) from mesh

Software: Away3D 4.x

pool338, Jr. Member
Posted: 13 October 2011 06:42 AM   Total Posts: 37

Hi @all,
im using away3d V4 to load obj files, wich contain several models. The models are grouped into several groups (g tag in obj file).

I use “AssetEvent.MESH_COMPLETE” event to set the materials mesh by mesh. But i dont know how to get the name of the group the current mesh belongs to. I need this to set diferent materials, depending on group.

Thanks to everyone who has an idea or a solution.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X