Wavefront OBJ file export issue #47010

Closed
opened 2015-12-18 04:24:03 +01:00 by Leon Cheung · 11 comments
Member

System Intormation
Windows 8.1 | GTX680

Blender Version
Broken: 2.76.4 d970f02

Description
When exporting wavefront OBJ file, if overlapped UVs exist, the .obj file will not work as expected in many other softwares. Actually it seems the UV islands seems to be splitted into individual faces.

obj_export.png

export_obj.png

How to Repeat

Let's just unwrap a simple plane, then duplicate, and join them as a single mesh. Then export as .OBJ.

**System Intormation** Windows 8.1 | GTX680 **Blender Version** Broken: 2.76.4 d970f02 **Description** When exporting wavefront OBJ file, if overlapped UVs exist, the .obj file will not work as expected in many other softwares. Actually it seems the UV islands seems to be splitted into individual faces. ![obj_export.png](https://archive.blender.org/developer/F269114/obj_export.png) ![export_obj.png](https://archive.blender.org/developer/F269116/export_obj.png) **How to Repeat** Let's just unwrap a simple plane, then duplicate, and join them as a single mesh. Then export as .OBJ.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscribers: @xuekepei, @ZhangYu

Added subscribers: @xuekepei, @ZhangYu

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Firstly, which applications have issues with Blender's UV's?

I suspect this is caused by Blender sharing UV's between different vertices,
however this is allowed by the OBJ spec, so other applications should really handle this - so it becomes an issue of choosing how much to change our exporter to account for bugs/limits in other software.

This patch changes Blender's exporter not to share UV's between different vertices: P300
Could you see if this resolves the issue?

Firstly, which applications have issues with Blender's UV's? I suspect this is caused by Blender sharing UV's between different vertices, however this is allowed by the OBJ spec, so other applications should really handle this - so it becomes an issue of choosing how much to change our exporter to account for bugs/limits in other software. This patch changes Blender's exporter not to share UV's between different vertices: [P300](https://archive.blender.org/developer/P300.txt) Could you see if this resolves the issue?
Author
Member

It works now. like a magic! :D

(oh and applications include Maya, 3ds Max, Unfold3D, etc)

It works now. like a magic! :D (oh and applications include Maya, 3ds Max, Unfold3D, etc)

Added subscriber: @mont29

Added subscriber: @mont29

Well… ADesk is not really renown for it love and respect of standards… That said, changes are rather simple, but it means we'll have (much) bigger .obj files when exporting UVs…

Well… ADesk is not really renown for it love and respect of standards… That said, changes are rather simple, but it means we'll have (much) bigger .obj files when exporting UVs…
Author
Member

Then maybe implementing as a toggle named, for example, "Make Compatible"?

Then maybe implementing as a toggle named, for example, "Make Compatible"?

This issue was referenced by f0fe54fcdd

This issue was referenced by f0fe54fcddf6fdcfe4709fa6513c09a216d2d466

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Campbell Barton self-assigned this 2015-12-21 15:36:51 +01:00

Fixed f0fe54fcdd

Fixed f0fe54fcdd
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#47010
No description provided.