Behind-the-Scenes with Firstborn  
Get an exclusive sneak peek inside innovative digital agency Firstborn.
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Plugins - Extensions / Maya OBJ import bug?
  RSS 2.0 ATOM  

Maya OBJ import bug?
Rate this thread
 
40732
 
Permlink of this thread   Subscribe to this thread
avatar
  • rasto
  • Posted: 14 March 2010 11:54 PM
  • Total Posts: 24
  • Joined: 22 August 2006 05:20 AM

OBJ import not importing textures to Maya, because there is bug.
It’s ignoring all map_K* file path parameters.

All: Please report it from Maya menu: Help - Report a Problem



CG Artist
http://www.toxik.sk

Replies: 0
avatar
  • n8skow
  • Posted: 15 March 2010 04:03 AM

Could you explain your issue in a bit more detail?
The .obj file itself will not contain texture files…



n8skow [FA]

Replies: 0
avatar
  • rasto
  • Posted: 15 March 2010 05:18 AM

Yes, *.obj file not contain texture files, you right.
But *.mtl file contain paths to textures in map_K* parameter.

And Maya not parsing map_K* parameters in *.mtl files correctly.

You can try export textured poly model with [file textures] from Maya to *.obj and then, import *.obj file back to Maya. And you can see, what i am talking about.

*.mtl - Material File Parameters
Ns = Phong specular component. Ranges from 0 to 200.
Kd = Diffuse color weighted by the diffuse coefficient.
Ka = Ambient color weighted by the ambient coefficient.
Ks = Specular color weighted by the specular coefficient.
d = Dissolve factor (pseudo-transparency). This is set to the internal face transparency value.
illum 2 = Diffuse and specular shading model.
map_Kd = Diffuse color texture map.
map_Ks = Specular color texture map.
map_Ka = Ambient color texture map.
map_Bump = Bump texture map.
map_d = Opacity texture map.



CG Artist
http://www.toxik.sk

Replies: 0
avatar
  • rasto
  • Posted: 28 May 2010 03:48 AM

This problem with Maya parsing of MTL-file i found in Maya 2008, 2009, 2010.
And in Maya 2011 is this bug again, but can be solved.

Check this link:
http://www.toxik.sk/maya2011-obj-import-with-textures/



CG Artist
http://www.toxik.sk

Replies: 0




   
  Settings Choose Theme color: