OBJ Parser / Asset name issue

Software: Away3D 4.x

Avatar
Jeff, Newbie
Posted: 08 August 2011 07:50 PM   Total Posts: 30

Hi,

I’m using AssetLibrary to manage my assets, getAsset method works fine with 3DS files, but not with OBJ format.

By default, OBJParser assign mesh name like this :
Line 276 : mesh.name = “obj” + meshid

resulting to unknown asset if you search by getAsset(‘mymeshname’);

I have solved the problem by :
Line 276 : mesh.name = groups[g].name;

I’m exporting from 3DSmax

Regards,

Jeff

 

   

EFFalcon, Jr. Member
Posted: 08 August 2011 11:22 PM   Total Posts: 44   [ # 1 ]

See this thread: http://away3d.com/forum/viewthread/437/

   

Avatar
Jeff, Newbie
Posted: 09 August 2011 07:22 AM   Total Posts: 30   [ # 2 ]

Hi EFFalcon,

Thank you for your help ... perfect link, I didn’t find it ...

Seems OBJ format is not so clear ... I’m currently using OBJ format because I have a file containing only mesh data ( vertices & UVs ).

When I export to 3DS with 3DSmax , I get material information too plus a bad ZY orientation and I didn’t find a way to control these parameters.

Regards,

Jeff

 

 

 

 

 

 

 

 

 

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X