Problem loading 3ds file with multiple texture

Software: Away3D 4.x

amitm, Newbie
Posted: 01 February 2012 03:44 AM   Total Posts: 1

Hi,

I am new to away 3d and need some urgent help. I have purchased a 3d model online and it has come with one 3ds file and two jpgs for texture. I am unable to import and use them properly. I am attaching the zip file so that you can check.

I was using away3d_4_0_110915 version before and my code was

Loader3D.enableParser(Max3DSParser);
loader = new Loader3D();
loader.praseData(TableMesh, null, new AssetLoaderContext(false));

I have downloaded the latest version today away3d-away3d-core-fp11-143591d and see that loader.parseData is not available now and hence I am completely stuck.

Can anyone please help me out.

Thanks in advance.

 

File Attachments
3DS.zip  (File Size: 125KB - Downloads: 183)
3DS.zip  (File Size: 125KB - Downloads: 170)
   

Hector, Sr. Member
Posted: 01 February 2012 07:19 AM   Total Posts: 137   [ # 1 ]

I had the same problem with a 3ds file with multiple meshes and textures.
If you check Max3DSParser.as line 464-465 it says:
  if (obj.materials.length > 1)
  trace(‘The Away3D 3DS parser does not support multiple materials per mesh at this point.’);

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X