Page MenuHome

Material bug in export OBJ
Closed, ResolvedPublic

Description

  1. Blender MTL File: 'None'
  2. Material Count: 1

newmtl Material
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.0 0.0 0.0
Ni 1.450000
d 1.000000
illum 2
map_Kd -s 0.000000 0.000000 0.000000 map1b_floor1.psd

Recent builds write some values to the material and not 1 editor does not read the texture.

map_Kd map1b_floor1.psd It works, but with some digits nothing is read.

Event Timeline

  1. Blender MTL File: 'None'
  2. Material Count: 1

newmtl Material
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.0 0.0 0.0
Ni 1.450000
d 1.000000
illum 2
map_Kd map1b_brick_floor.psd

This normal in 2.81.8

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Oct 7 2019, 11:41 AM

Please follow our submission template and guidelines, also read these tips about bug reports, and make a complete, valid bug report, with required info, precise description of the issue (only ONE issue per report!), precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.
Also explained here: https://www.youtube.com/watch?v=JTD0OJq_rF4

Please follow our submission template and guidelines, also read these tips about bug reports, and make a complete, valid bug report, with required info, precise description of the issue (only ONE issue per report!), precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.
Also explained here: https://www.youtube.com/watch?v=JTD0OJq_rF4

Ok.
1 Version blender 2.81.14
Build Last blender-2.81-4707f1982ddb-windows64.
2 Run Blender 2.81.14
3 Create you modell

or primitive i use cobe.
4 Сreate material and texture for your model.
5 Can export in OBJ file format.

6 Make an import in any editor.
7 You can open file MDL and see this:

8 As You can see this string in mdl file, this no read all 3d editor.
9 I create all action in 2.81.8 and i no can see this value. What this value?
10 this import cube in 3ds max i no can see texture, only black cube.

11 Replay all in blender 2.81.8 Create cube and add material and texture and export in obj file.

12 result in mdl file this normal job in all 3d editor.

13 As you can see this string has nothing but a texture name.
14 Import this in 3ds max.

Thanks for the details, but if we are asking for a .blend file to reproduce the issue, there is a reason…

Tried to reproduce here with current master, and got expected MDL (the one without the NULL scaling, the -s 0.0000 0.0000 0.0000 part).

Might also be that you are using an older version of the exporter, mapping node changed a few weeks ago, so we had to also update all the IO add-ons…

Thanks for the details, but if we are asking for a .blend file to reproduce the issue, there is a reason…
Tried to reproduce here with current master, and got expected MDL (the one without the NULL scaling, the -s 0.0000 0.0000 0.0000 part).
Might also be that you are using an older version of the exporter, mapping node changed a few weeks ago, so we had to also update all the IO add-ons…

Build blender-2.81-a856c5eccffb-windows64.zip no change. This last build.


This adds nothing new to the problem.

For the last time, please attach here an archive with the exact .blend file you are exporting, the image texture, and the whole .obj and .mtl that it produces.

This adds nothing new to the problem.
For the last time, please attach here an archive with the exact .blend file you are exporting, the image texture, and the whole .obj and .mtl that it produces.

Bastien Montagne (mont29) raised the priority of this task from Needs Information from User to Confirmed, Medium.Oct 9 2019, 8:29 PM

Aaaaah, now I can reproduce and confirm the issue, thanks.

Aaaaah, now I can reproduce and confirm the issue, thanks.

For a temporary solution, I replaced the file node_shader_utils.py from the old assembly and it became normal.