Area :: Header
Meet the Experts Webinar
Learn how Black Forest Games rebooted the classic C64 platform game “Giana Sisters” from 1987 using Autodesk 3ds Max®.
Discussion Groups

Maya General

Posts: 23
Registered: ‎02-20-2006

Importing A|W objects properly???

16 Views, 3 Replies
12-28-2010 09:06 AM
I'm trying to import an OBJ with an insane amount of materials yet no matter how I edit the material list file, maya just will NOT assign my textures to the appropriate channels:

What am I doing wrong?

Here's what a majority of them are setup as:

# generic46
newmtl generic46
illum 4
Kd 1.00 1.00 1.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd generic46.jpg
Ni 1.00

Any help please?

Btw, others have said to reassign the textures manually within maya which is totally out of the question since there is around 4000 (very small)textures total.
Please use plain text.
Posts: 23
Registered: ‎02-20-2006

Re: Importing A|W objects properly???

12-28-2010 09:37 AM in reply to: illincrux
Well after 3 days of trying everything I could do by hand, I just happened to stumble across this little gem a few minutes ago which has solved my biggest problem with the massive material import...but has also given rise to others which can easily be fixed with a macro script:

I have yet to study how it fixed it, but it appears my material list file was definitely correct...On the other hand, the original object file will need to be scrutinized and compared with the one that was generated by meshlab...

Perhaps I spoke a little too soon here, but maybe this will help others...

Btw, my tool of choice for automating repetitive tasks is Workspace Macro Pro which is very intuitive and easy to operate for us non/semi-programmers.
Please use plain text.
New Member
Zeeshan Anjum
Posts: 2
Registered: ‎07-28-2008

Re: Importing A|W objects properly???

12-28-2010 11:10 AM in reply to: illincrux
You should try fbx format.
Please use plain text.
Posts: 23
Registered: ‎02-20-2006

Re: Importing A|W objects properly???

12-28-2010 02:23 PM in reply to: illincrux
Proprietary formats isn't an option for the application I'm exporting from and I personally believe that the FBX format is only serving to complicate the market with a false sense of...

...Collada is a much more acceptable solution to resolving the issue with producing a universal format - I believe. Plus, it's in a widely acceptable human readable language(XML) which makes it very easy to evaluate and edit weather it be by hand or code. Even though you could export your scenes in a human readable FBX format (ascii), it's not very intuitive nor can you use a fully featured editor like XMLSpy to edit it with while also ensuring that it's completely valid with a validator...such as an XML validator.

Aside from that, it appears that if you don't have both your texture vertices (vt) and faces (f) assigned to a material then Maya will not assign the textures themselves to the materials that they are assigned to already within the material list. Which is kind of redundant and totally surprising since the devs. of Maya were the ones to initially come out with the format that is so universally embraced...One would figure they wouldn't make their importer so overly nit-picky?

All is well though thanks to meshlab! =]
Please use plain text.