Sculpt persistent mesh state management #77738
Labels
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
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#77738
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Layer Brush has a "Set Persistent Base" operator that stores a copy of the mesh coordinates and normals using the sculpt API. This is needed for that brush to be usable, but it has some problems:
Furthermore, this same concept is needed in other tools to fix some important limitations:
As this is a concept similar to shape keys which will probably be similar to sculpt layers, there are still a lot of design decisions to be made to have a final solution for this:
Proposal
As having a workaround for this could improve a lot some of the tools, the sculpt API could implement a ##SCULPT_vertex_get_persistent_co## function. The function will use the same implementation as the current layer brush, so it will return the data stored in the persistent base if available. This will mean than tools like the cloth brush and the pose brush will have a "persistent" and "set persistent base" properties and operators available. Once a more polished management system is in place, it should only be necessary to change the implementation of that function to return the data from the current persistent base wherever it is stored.
This issue was referenced by
a3e6b7c2ce
To me it seems persistent base as used by the layer brush should be a temporary state in sculpt mode, that you can create or discard as easily as a mask. Maybe sculpt layers can eventually replace it, if it's convenient enough to create and sculpt on a temporary layer that you then merge into the layer below.
I wouldn't go in the direction of using persistent base for something like a T pose or undeformed mesh shape. For that I think shape keys or sculpt layers are the correct solution.