OBJ importer - reflection map texture assigned to base color node during import #77801
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#77801
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: GeForce GTX 1060 6GB
Blender Version
Broken:
Blender 2.82 (sub 7) (hash 375c7dc4caf4 built 2020-03-12 15:41:08)
Short description of error
When importing .obj with materials (.mtl file) base color node is assigned to relfection texture map ('refl' option in mtl) instead of diffuse texture map('map_Kd' option in mtl).
Exact steps for others to reproduce the error
Import any obj file with .mtl with material such as:
In result base color of Black material will be matallic.jpg texture instead of base_color.jpg.
Problem seems to be in line 221 of [blender/blender@A/io_scene_obj/import_obj.py]], where refl map is saved as base_color_texture instead of metallic_texture as is specified in obj exporter [ https:*developer.blender.org/diffusion/BA/browse/master/io_scene_obj/export_obj.py | blender/blender@A/io_scene_obj/export_obj.py in line 119
I attached a zip file with sample obj that doesn't import properly sample_model.zip
Added subscriber: @ukito
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @aras_p
Changed status from 'Confirmed' to: 'Resolved'
The new C++ based .obj importer handles this correctly ("experimental" in the menu in 3.2, no experimental label in 3.3). The python based importer will likely get removed soon, and very unlikely to get fixes.