Blender 3.5 Gltf fails to export materials on GN objects #104516

Closed
opened 2023-03-31 11:43:43 +02:00 by Pratik Borhade · 6 comments
Member

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.41

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender 3.5 fails to export materials on GN objects

Exact steps for others to reproduce the error

  1. Open the attached .blend file
  2. Select ExportCubes object and export it in the FBX/gltf file format
  3. Import the ExportCubes FBX/gltf back into Blender
    Result: Assigned materials are missing and the imported object has no material slots
    Expected: The imported object contains the material slots which were supposed to be exported.

Authored by @Rawalanche : #106317

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.41 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender 3.5 fails to export materials on GN objects **Exact steps for others to reproduce the error** 1. Open the attached .blend file 2. Select ExportCubes object and export it in the FBX/gltf file format 3. Import the ExportCubes FBX/gltf back into Blender Result: Assigned materials are missing and the imported object has no material slots Expected: The imported object contains the material slots which were supposed to be exported. Authored by @Rawalanche : #106317
Pratik Borhade added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-03-31 11:43:44 +02:00
Member

I think I can see the problem. The Geometry Nodes modifier entirely replaces the materials of the Mesh/Object, but the materials of the original Object are what are used in the export.

@Rawalanche To work around this issue, you can manually add the correct materials to the GN Object prior to exporting.

I think I can see the problem. The Geometry Nodes modifier entirely replaces the materials of the Mesh/Object, but the materials of the original Object are what are used in the export. @Rawalanche To work around this issue, you can manually add the correct materials to the GN Object prior to exporting.
Pratik Borhade changed title from Blender 3.5 FBX fails to export materials on GN objects to Blender 3.5 fails to export materials on GN objects 2023-04-05 13:01:48 +02:00
Author
Member

So far this issue appears to happen with most of the export formats except .obj
cc @mont29
cc @JulienDuroure

So far this issue appears to happen with most of the export formats except .obj cc @mont29 cc @JulienDuroure
Pratik Borhade added
Status
Confirmed
Interest
Nodes & Physics
and removed
Status
Needs Triage
labels 2023-04-05 13:12:54 +02:00
Member
For glTF, there is some WIP experiments here: https://github.com/KhronosGroup/glTF-Blender-IO/pull/1783 and https://github.com/KhronosGroup/glTF-Blender-IO/pull/1786
Member

PR made for the FBX exporter #104530

PR made for the FBX exporter https://projects.blender.org/blender/blender-addons/pulls/104530
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-04-12 11:27:05 +02:00
Bastien Montagne changed title from Blender 3.5 fails to export materials on GN objects to Blender 3.5 Gltf fails to export materials on GN objects 2023-04-12 11:53:05 +02:00
Bastien Montagne added
Status
Confirmed
and removed
Status
Resolved
labels 2023-04-12 11:53:14 +02:00

Reopening since only the FBX case was addressed in 893100d8e3.

Reopening since only the FBX case was addressed in 893100d8e3.
Bastien Montagne added
Type
To Do
and removed
Type
Report
labels 2023-04-12 11:54:37 +02:00

Infact, there was already a TODO task for this actually, see #96721.

Infact, there was already a TODO task for this actually, see #96721.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-04-12 11:57:01 +02:00
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#104516
No description provided.