Broken: FBX Exporter will not export textures/shader tree with 2.8X #71429

Closed
opened 2019-11-08 15:36:52 +01:00 by Michael Klein · 12 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.12

Blender Version
Broken: version: 2.82 (sub 1), branch: master, commit date: 2019-11-07 20:36, hash: blender/blender@23e1fb365b
Worked: 2.79 e045fe53f1b0

Addon Information
Name: FBX format (4, 20, 2)
Author: Campbell Barton, Bastien Montagne, Jens Restemeier

Short description of error
Exporting FBX from Blender and importing into Maya 2019.2 works as intended with 2.79 latest build. It will give you a shader tree with connected textures and values like a diffuse color. In 2.8X it seems to be broken. Maya imports the geometry with a neutral while shader node. No textures.

Exact steps for others to reproduce the error
I will attach a screen recording later. Steps are:

  • Load scene
  • Select object with textures to export
  • Export FBX with selected only
  • Import to Maya 2019.2

Result:
2.79 export shows a correct shader tree reference
2.81 / 2.82 latest builds of today gives just a neutral white shader without textures.

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.12 **Blender Version** Broken: version: 2.82 (sub 1), branch: master, commit date: 2019-11-07 20:36, hash: `blender/blender@23e1fb365b` Worked: 2.79 e045fe53f1b0 **Addon Information** Name: FBX format (4, 20, 2) Author: Campbell Barton, Bastien Montagne, Jens Restemeier **Short description of error** Exporting FBX from Blender and importing into Maya 2019.2 works as intended with 2.79 latest build. It will give you a shader tree with connected textures and values like a diffuse color. In 2.8X it seems to be broken. Maya imports the geometry with a neutral while shader node. No textures. **Exact steps for others to reproduce the error** I will attach a screen recording later. Steps are: - Load scene - Select object with textures to export - Export FBX with selected only - Import to Maya 2019.2 Result: 2.79 export shows a correct shader tree reference 2.81 / 2.82 latest builds of today gives just a neutral white shader without textures.
Author

Added subscriber: @Renderbicks

Added subscriber: @Renderbicks
Author

I have found more info. So it's not a bug. Just a missing feature.

Missing
Some of the following features are missing because they are not supported by the FBX format, others may be added later.

Object instancing – exported objects do not share data, instanced objects will each be written with their own data.
Material textures
Vertex shape keys – FBX supports them but this exporter does not write them yet.
Animated fluid simulation – FBX does not support this kind of animation. You can however use the OBJ exporter to write a sequence of files.
Constraints – The result of using constraints is exported as a keyframe animation however the constraints themselves are not saved in the FBX.
Instanced objects – At the moment instanced objects are only written in static scenes (when animation is disabled).

I have found more info. So it's not a bug. Just a missing feature. **Missing** Some of the following features are missing because they are not supported by the FBX format, others may be added later. Object instancing – exported objects do not share data, instanced objects will each be written with their own data. **Material textures** Vertex shape keys – FBX supports them but this exporter does not write them yet. Animated fluid simulation – FBX does not support this kind of animation. You can however use the OBJ exporter to write a sequence of files. Constraints – The result of using constraints is exported as a keyframe animation however the constraints themselves are not saved in the FBX. Instanced objects – At the moment instanced objects are only written in static scenes (when animation is disabled).

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Could you provide a simple file and provide steps that do not involve the use of external software?
That would save developers time.

Could you provide a simple file and provide steps that do not involve the use of external software? That would save developers time.
Author

Here's a simple 2.79 scene. If you export the scene to FBX with the latest 2.79 I will get a shader tree with textures in Maya 2019.2. If I use the exporter in the latest 2.81 the import to Maya will ignore textures.

But what's interesting: This comes not from the Principled shader tree. There must be something else in this scene with two textures connected. This is what I realized. The scene comes from Evermotion and was converted into Blender from a 3DMAX scene using Vray.

But anyway. Fact is that the 2.79 FBX will give me a tree with two textures in Maya and the correct green diffuse color while the 2.81 will give me just a neutral shader without the original green diffuse color. Just a standard white diffuse.

Chair_for_FBX_v01.zip

Here's a simple 2.79 scene. If you export the scene to FBX with the latest 2.79 I will get a shader tree with textures in Maya 2019.2. If I use the exporter in the latest 2.81 the import to Maya will ignore textures. But what's interesting: This comes not from the Principled shader tree. There must be something else in this scene with two textures connected. This is what I realized. The scene comes from Evermotion and was converted into Blender from a 3DMAX scene using Vray. But anyway. Fact is that the 2.79 FBX will give me a tree with two textures in Maya and the correct green diffuse color while the 2.81 will give me just a neutral shader without the original green diffuse color. Just a standard white diffuse. [Chair_for_FBX_v01.zip](https://archive.blender.org/developer/F8053006/Chair_for_FBX_v01.zip)

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Thanks for the report. From what you say, the sample file could still be simplified further. Could you find a way to nail it down to a face with one material, simplified ui, …? That increases the chance of a developer being able to work on this considerably.

Thanks for the report. From what you say, the sample file could still be simplified further. Could you find a way to nail it down to a face with one material, simplified ui, …? That increases the chance of a developer being able to work on this considerably.
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Aaron Carlisle self-assigned this 2020-02-14 22:31:23 +01:00
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Author

I will test it again.

I will test it again.
Author

The exporter will ignore nodes plugged into the Principled shader. There's a green RGB node connected to the Base Color. Removing it and changing the color will give me the result in Maya. All othe texture nodes will be ignored.

The exporter will ignore nodes plugged into the Principled shader. There's a green RGB node connected to the Base Color. Removing it and changing the color will give me the result in Maya. All othe texture nodes will be ignored.
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#71429
No description provided.