YEEK! this should be recoded! Shape key loss! #84180

Open
opened 2020-12-27 18:23:41 +01:00 by Thomas Larsson · 15 comments
Member

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: Quadro K2200/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 385.54

Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: 0f45cab862
Worked: (newest version of Blender that worked as expected)

Short description of error
I have a HD mesh with a shapekey. The HD mesh was generated in DAZ Studio with 3 subd levels, Catmark subdivision. Then I add a multires modifier and rebuild subdivisions. Three levels are rebuilt but the shapekey is lost, with the following error message in the terminal:

ERROR (bke.mesh_convert): C:\b\buildbot-worker-windows\windows_291\blender.git\source\blender\blenkernel\intern\mesh_convert.c:1656 BKE_mesh_nomain_to_mesh: YEEK! this should be recoded! Shape key loss!: ID 'MEgeometry_HD'
Info: 3 new levels rebuilt
yeek.blend

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: Quadro K2200/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 385.54 **Blender Version** Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: `0f45cab862` Worked: (newest version of Blender that worked as expected) **Short description of error** I have a HD mesh with a shapekey. The HD mesh was generated in DAZ Studio with 3 subd levels, Catmark subdivision. Then I add a multires modifier and rebuild subdivisions. Three levels are rebuilt but the shapekey is lost, with the following error message in the terminal: ERROR (bke.mesh_convert): C:\b\buildbot-worker-windows\windows_291\blender.git\source\blender\blenkernel\intern\mesh_convert.c:1656 BKE_mesh_nomain_to_mesh: YEEK! this should be recoded! Shape key loss!: ID 'MEgeometry_HD' Info: 3 new levels rebuilt [yeek.blend](https://archive.blender.org/developer/F9532195/yeek.blend)
Author
Member

Added subscriber: @thomasl-3

Added subscriber: @thomasl-3
Member

Added subscribers: @dr.sybren, @lichtwerk

Added subscribers: @dr.sybren, @lichtwerk
Member

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

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

Can confirm it happens.

This sounds like a TODO though, not sure how to classify.
@dr.sybren: since you added this in c0dd355926, mind sharing your thoughts?

Can confirm it happens. This sounds like a TODO though, not sure how to classify. @dr.sybren: since you added this in c0dd355926, mind sharing your thoughts?

Added subscribers: @Sergey, @JosephEagar

Added subscribers: @Sergey, @JosephEagar

The message wasn't mine, but was copied from DerivedMesh.c. It originated in a37bcf93ef by @JosephEagar, 10 years ago.
I don't know whether maintaining shapekeys is actually supported when working with multires this way. @Sergey probably knows more about this.

The message wasn't mine, but was copied from `DerivedMesh.c`. It originated in a37bcf93ef by @JosephEagar, 10 years ago. I don't know whether maintaining shapekeys is actually supported when working with multires this way. @Sergey probably knows more about this.

Think rebuild subdivisions should handle shapekeys in a similar manner how edit mode is doing it. It will be lossy, but probably still better than fully loosing the keys.

Think rebuild subdivisions should handle shapekeys in a similar manner how edit mode is doing it. It will be lossy, but probably still better than fully loosing the keys.

Removed subscriber: @dr.sybren

Removed subscriber: @dr.sybren

In that case I'll step down from this task, I'm not involved in multires editing.

In that case I'll step down from this task, I'm not involved in multires editing.

Added subscriber: @PabloDobarro

Added subscriber: @PabloDobarro

Is not really multires, but the multires-rebuild, which sounds related, but is a special piece of code.

@PabloDobarro think it's something for you?

Is not really multires, but the multires-rebuild, which sounds related, but is a special piece of code. @PabloDobarro think it's something for you?
Member

I can take a look if there is something wrong in unsubdivide that may be causing the warning, but I don't think I'm going to be able to make it work.
As a general comment regarding all Multires + shape keys reports (there are quite a lot of them), the issue is that is not clear what those operation should do if they were working as expected.
If we take this report as an example, when unsubdivide runs on a mesh with shape keys, it will dissolve vertices in the original mesh and then reshape the result. After that operation, what information is supposed to be stored in the shape keys in order for it to be useful?
I think that a unsubdivide operation with shape keys support should output the level 0 base mesh after the reshape and a CD_MDISP datalayer per shape key, so they can be stored in something like tangent space sculpt layers. This is not supported at all, so any workaround for these kind of issues will be confusing in one way or another.

I can take a look if there is something wrong in unsubdivide that may be causing the warning, but I don't think I'm going to be able to make it work. As a general comment regarding all Multires + shape keys reports (there are quite a lot of them), the issue is that is not clear what those operation should do if they were working as expected. If we take this report as an example, when unsubdivide runs on a mesh with shape keys, it will dissolve vertices in the original mesh and then reshape the result. After that operation, what information is supposed to be stored in the shape keys in order for it to be useful? I think that a unsubdivide operation with shape keys support should output the level 0 base mesh after the reshape and a CD_MDISP datalayer per shape key, so they can be stored in something like tangent space sculpt layers. This is not supported at all, so any workaround for these kind of issues will be confusing in one way or another.

@PabloDobarro think of it as if it was a user who was dissolving vertices in edit mode and then used Reshape button.

@PabloDobarro think of it as if it was a user who was dissolving vertices in edit mode and then used Reshape button.
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

I'll tag this as a known issue. This probably won't be worked on for a while until bigger improvements for multires get worked on.

I'll tag this as a known issue. This probably won't be worked on for a while until bigger improvements for multires get worked on.
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:12:04 +01:00
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
6 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#84180
No description provided.