Remesh modifier after a Geometry Nodes modifier destroys the material #96499

Closed
opened 2022-03-15 18:01:03 +01:00 by kursad k · 16 comments
Member

System Information
Operating system: Win 10
Graphics card:

Blender Version
Broken: 3.2.0 fc259d4c30

Short description of error
Adding a Remesh modifier destorys the materials either coming from a geonodes material assigment or from the object's own material assignments, makes itt impossible to assign a material.

blender_z5bz6pFiOX.mp4

Load the attached .blend file
Enable and disable the remesh modifier to see what happens with the material

no_mat_15032022_1156_53.blend

**System Information** Operating system: Win 10 Graphics card: **Blender Version** Broken: 3.2.0 fc259d4c30cb **Short description of error** Adding a Remesh modifier destorys the materials either coming from a geonodes material assigment or from the object's own material assignments, makes itt impossible to assign a material. [blender_z5bz6pFiOX.mp4](https://archive.blender.org/developer/F12928951/blender_z5bz6pFiOX.mp4) Load the attached .blend file Enable and disable the remesh modifier to see what happens with the material [no_mat_15032022_1156_53.blend](https://archive.blender.org/developer/F12928952/no_mat_15032022_1156_53.blend)
Author
Member

Added subscriber: @kursadk

Added subscriber: @kursadk
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Thanks for the report. This is basically a performance tradeoff with the remesh modifier. It doesn't transfer attributes to its result.
However, this isn't noted at all in the documentation, so I'll call this a bug that can be fixed by adding that information to the manual page.

Thanks for the report. This is basically a performance tradeoff with the remesh modifier. It doesn't transfer attributes to its result. However, this isn't noted at all in the documentation, so I'll call this a bug that can be fixed by adding that information to the manual page.
Author
Member

This seems to be an issue if the materials applied to at the data block rather than the object level.

This seems to be an issue if the materials applied to at the data block rather than the object level.
Member

Changed status from 'Confirmed' to: 'Needs Triage'

Changed status from 'Confirmed' to: 'Needs Triage'
Member

Hmm, yeah, I think I jumped to that conclusion a bit too fast. This would work if the remesh node transferred material indices, but there might be another reason it doesn't work too.

Hmm, yeah, I think I jumped to that conclusion a bit too fast. This *would* work if the remesh node transferred material indices, but there might be another reason it doesn't work too.

Added subscriber: @iss

Added subscriber: @iss

From what I can see, after geometry nodes, there is no material assigned to mesh. Set Material node does assign material to faces. Therefore remesh modifier does not have any material to transfer to new mesh.

So I think the original conclusion was correct.

From what I can see, after geometry nodes, there is no material assigned to mesh. Set Material node does assign material to faces. Therefore remesh modifier does not have any material to transfer to new mesh. So I think the original conclusion was correct.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

@HooglyBoogly hi, isn't this issue same as the other report: #93455 (Set Material Node does not reuse existing empty slot)

@HooglyBoogly hi, isn't this issue same as the other report: #93455 (Set Material Node does not reuse existing empty slot)

Added subscriber: @PJYG

Added subscriber: @PJYG

I don't know if it's helping, but on the "user" side of things a quick workaround seems to be adding a second geometry node after the remesh to set the material.2022-03-18 20-08-30.mp4

I don't know if it's helping, but on the "user" side of things a quick workaround seems to be adding a second geometry node after the remesh to set the material.[2022-03-18 20-08-30.mp4](https://archive.blender.org/developer/F12933644/2022-03-18_20-08-30.mp4)
Member

Oh yes, it is! The "Set Material" node adds the material and uses material_index=1. The remesh modifier doesn't transfer material_index, so the result uses the default value of 0.

Oh yes, it is! The "Set Material" node adds the material and uses `material_index=1`. The remesh modifier doesn't transfer `material_index`, so the result uses the default value of 0.
Member

Closed as duplicate of #93455

Closed as duplicate of #93455
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
5 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#96499
No description provided.