obj import & the mtl file

Software: Away3D 4.x

beers, Member
Posted: 22 July 2013 12:31 AM   Total Posts: 53

away builder alpha used to import the obj & mtl file as well and apply the textures to the meshes, however later releases including gold seem to ignore the mtl file and just map the usual checkerboard. Textures show up in the texture list, but the material list is empty.


Is this a bug?

beers

   

Avatar
80prozent, Sr. Member
Posted: 22 July 2013 04:09 PM   Total Posts: 430   [ # 1 ]

hi beers

yes, that might be a bug. i will look into it.

afaik there has not been any changes to the obj-parser, lately.

Are you shure that the same obj+mtl was loading fine in the older awayBuilder ?
or could it be that its just this obj+mtl that is failing ?

 Signature 

sorry…i hope my actionscript is better than my english…

   

beers, Member
Posted: 22 July 2013 05:19 PM   Total Posts: 53   [ # 2 ]

Thanks for the reply -

Yes i tested all the AwayBuilder releases and the alpha release is the only one that applied the materials to the mesh in the viewport. All later releases just map a default checkerboard.

Ive used Maya 7 & Maya 2013 to export the obj/mtl files and tried different models/materials as well with the same results.

AwayBuilder must be reading the mtl file to some degree, because in all AwayBuilder versions the textures & texture paths show up in the texturelist - so *that* works, but the material list is always empty and as a result the checkerboard is applied to the models in the viewport. So it seems there is something going wrong with the material creation.

All the materials I created in Maya are basic lambert with a png texture in the diffuse color slot. I tried blinn materials as well; also tried jpg as well, all give the same result.

Thanks,
beers

   

Avatar
80prozent, Sr. Member
Posted: 22 July 2013 05:49 PM   Total Posts: 430   [ # 3 ]

Hi again

can you send me one of this objs+mtl+ textures ?

80prozent[a]differentdesign.de

cheers

 Signature 

sorry…i hope my actionscript is better than my english…

   

beers, Member
Posted: 22 July 2013 09:12 PM   Total Posts: 53   [ # 4 ]

Sent.

I’m surprised no one else has encountered this issue. I wonder if it has something to do with the way Maya creates/formats the obj/mtl files.

beers

   

Avatar
80prozent, Sr. Member
Posted: 22 July 2013 09:26 PM   Total Posts: 430   [ # 5 ]

yeah
i am surprised too.

i found the bug - in the next update of awaybuilder your mtls from maya should load fine….

 Signature 

sorry…i hope my actionscript is better than my english…

   

beers, Member
Posted: 22 July 2013 09:31 PM   Total Posts: 53   [ # 6 ]

Sounds good - thanks

beers

   
   
‹‹ Is animation supported?

X

Away3D Forum

Member Login

Username

Password

Remember_me



X