Jump to content
3DCoat Forums

import OBJ not showing textures


vegan
 Share

Recommended Posts

  • New Member

Hello, I installed the free trial of 3D Coat. When I import an OBJ character (from iClone), using "File -> Import -> Model for Per Pixel Painting", I do not get the textures and normal maps, it is just grey. I saw a video doing the exact same thing, but the textures were all here.

I tried to manually import one of the textures using "Textures -> Import ..." and it worked.

How come the textures are not importing automatically? They are all next to the OBJ file.

Thank you

 

Link to comment
Share on other sites

  • Reputable Contributor

I am shooting in the dark here as you did not mention having a obj mtl file. More detail information always helps and please add your version of 3DC you are using.

Does iClone export a mtl file with the obj... It is in that file that the path to the textures are located. Either absolute or relative paths. 

When using a Wavefront (.obj) format, the material library file (MTL) is required to define materials and reference their textures.

An easy example Mtl file shown below. All mtl files can be opened with a text editor and edited.

You might have an mtl file but the textures are not referenced. You will have to check it. 

Example below... Remember this is just to show and only has two textures images referenced.

newmtl Default
Ns 100.000
d 1.00000
illum 2
Kd 1.00000 1.00000 1.00000
Ka 0.00000 0.00000 0.00000
Ks 1.00000 1.00000 1.00000
Ke 0.00000e+0 0.00000e+0 0.00000e+0
map_Kd Mongol_Albedo.png
map_bump Mongol_Normal.png

Edited by digman
Link to comment
Share on other sites

  • New Member

Hello thank you for the reply, yes iClone also correctly exported the mtl file, and the references are of the same type as your example (relative paths).

My version of 3D Coat is 3D-COAT 4.7.24(DX64)

Here is a sample of my mtl file (I also attached the full mtl file just in case):

newmtl Upper___Teeth
    Ns 35.000000
    d 1.000000
    Ka 0.196078 0.196078 0.196078
    Kd 1.000000 1.000000 1.000000
    Ks 0.898039 0.898039 0.898039
    map_Kd child 5_Default_21.jpg
    map_Bump child 5_Default_35.jpg
    map_Ks child 5_Default_34.jpg
newmtl Lower___Teeth
    Ns 35.000000
    d 1.000000
    Ka 0.196078 0.196078 0.196078
    Kd 1.000000 1.000000 1.000000
    Ks 0.898039 0.898039 0.898039
    map_Kd child 5_Default_31.jpg
    map_Bump child 5_Default_37.jpg
    map_Ks child 5_Default_32.jpg

 

You can find attached  a snapshot of part of the folder containing the relevant files.

Untitled.png

child 5.mtl

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...