What String Keywords/Tags Does The OBJ importer look for In DAZ?

Hello everyone, I've been playing around with importing objs into DAZ with their textures intact. I've noticed that when importing the normal map will be ignored. Here is an example of one of the mtl lines. This was from 3DS Max.

//////////////////////////////////////////////////////////////////////////

newmtl Test

Ns 46.4386

Ni 1.5000

d 1.0000

Tr 0.0000

Tf 1.0000 1.0000 1.0000 

illum 2

Ka 0.0000 0.0000 0.0000

Kd 1.0000 1.0000 1.0000

Ks 0.2000 0.2000 0.2000

Ke 0.0000 0.0000 0.0000

map_Ka I:\Imports\PNG\Diffuse_Test.png

map_Kd I:\Imports\PNG\Diffuse_Test.png

norm I:\Imports\PNG\Normal_Test.png

//////////////////////////////////////////////////////////////////////////

From this the "Diffuse" will import correctly but the "Normal Map" will be left empty. Now if I use "Bump" instead of "norm" the texture will be applied to the "Base Bump" in DAZ. I've tried entering other tags like "map_n" "Normal_Map" and "Normal" in hopes the tag will be detected and place the texture in the correct slot. No luck so far. I was hoping that there maybe some sort of cheat sheet showing what tags DAZ looks for when Importing objs. This will be a great help when trying to import large scenes with multiple materials. I did try to reverse it by filling in the slots in DAZ and than exporting as an OBJ, but it makes the mtl super simple.

//////////////////////////////////////////////////////////////////////////

newmtl Test
d 1
Kd 1.00000001 1.00000001 1.00000001
map_Kd I:\Imports\PNG\Diffuse_Test.png

//////////////////////////////////////////////////////////////////////////

Thanks for taking the time to read this and I hope that perhaps someone out there will also benfit from this question being asked.

Comments

  • crosswindcrosswind Posts: 9,574
    edited October 2023

    'norm' belongs to PBR extension for vendor specific alternation in OBJ format. DS has not supported PBR texture maps imp / export so far for OBJ, while 3dsMax, Maya, Blender, MD, Pt, etc. can...  So nowadays we have to manually assign some maps in DS...

    Post edited by crosswind on
  • BejaymacBejaymac Posts: 1,942

    The OBJ importer is built into the Poser Importer, as a result it's really only going to import settings you would find in Poser, the "simple" material setup (AKA Poser 4 /ProPack surface settings).

  • Aw that is a shame to hear, thanks for taking the time to answer my question folks. Hopefully they update the importer in the future because adding normal maps manually to so many materials sucks.

  • WendyLuvsCatzWendyLuvsCatz Posts: 40,101

    I have had normal maps import, in the bump channel mind you but they did import

    depends entirely on the obj AND mtl file, the way they are set out if paths in quotations etc

    a hell of a lot of variation and I have utterly no idea why some work either 

Sign In or Register to comment.