Mesh: Remove face map list, convert to integer attribute #108025

Merged
Hans Goudey merged 4 commits from HooglyBoogly/blender:mesh-remove-face-maps into main 2023-06-09 13:54:57 +02:00
Member

Face maps were added as a prototype of a new rigging solution during
2.8 development. Their storage is redundant with the newer generic
attribute system (specifically with integer face attributes), and
they were never used much. This commit removes the face map list
and converts the storage to an attribute with the name face_maps.
There is nowhere to store the face map names anymore, so those
are not kept.

It probably still makes sense to have a feature like mesh face gizmo
selection for rigging. But the design and implementation woulds likely
have to change significantly, including possibly changing the storage
type, and making use of the generic attribute system instead of a
special type.

See #105317 for more discussion.

Face maps were added as a prototype of a new rigging solution during 2.8 development. Their storage is redundant with the newer generic attribute system (specifically with integer face attributes), and they were never used much. This commit removes the face map list and converts the storage to an attribute with the name `face_maps`. There is nowhere to store the face map names anymore, so those are not kept. It probably still makes sense to have a feature like mesh face gizmo selection for rigging. But the design and implementation woulds likely have to change significantly, including possibly changing the storage type, and making use of the generic attribute system instead of a special type. See #105317 for more discussion.
Hans Goudey added 1 commit 2023-05-17 21:12:50 +02:00
1ce88b9020 Mesh: Remove face map list, convert to integer attribute
See #105317

Face maps were added as a prototype of a new rigging solution during
2.8 development. Their storage is redundant with the newer generic
attribute system (specifically with integer face attributes), and
they were never used much. This removes the face map list and
converts the storage to an attribute with the name `face_maps`.
There is nowehere to store the face map names anymore, so those
are not converted.

If it's preferred, the two features removed here (gizmo drawing
and edit mode select similar) could be reimplemented for integer
attributes). Personally I think it's better to wait for more
generic attribute editing/gizmo features though.
Hans Goudey added this to the 4.0 milestone 2023-05-17 21:12:55 +02:00
Hans Goudey added this to the Modeling project 2023-05-17 21:12:59 +02:00
Hans Goudey requested review from Campbell Barton 2023-05-17 21:13:06 +02:00
Contributor

Hello, I use face maps very frequently for creating face sets from edit mode, it is much more convenient to create face maps and turn them into face sets with one click instead of one-by-one. Does this change means I'll no longer be able to create and store face maps? What does this change look like from user perspective

Hello, I use face maps very frequently for creating face sets from edit mode, it is much more convenient to create face maps and turn them into face sets with one click instead of one-by-one. Does this change means I'll no longer be able to create and store face maps? What does this change look like from user perspective

Hello, I use face maps very frequently for creating face sets from edit mode, it is much more convenient to create face maps and turn them into face sets with one click instead of one-by-one. Does this change means I'll no longer be able to create and store face maps? What does this change look like from user perspective

From a user perspective yes, although the data could be accessed via Python.

Replied to #105317.

> Hello, I use face maps very frequently for creating face sets from edit mode, it is much more convenient to create face maps and turn them into face sets with one click instead of one-by-one. Does this change means I'll no longer be able to create and store face maps? What does this change look like from user perspective From a user perspective yes, although the data could be accessed via Python. Replied to #105317.
Contributor

Hello, I use face maps very frequently for creating face sets from edit mode, it is much more convenient to create face maps and turn them into face sets with one click instead of one-by-one. Does this change means I'll no longer be able to create and store face maps? What does this change look like from user perspective

From a user perspective yes, although the data could be accessed via Python.

Replied to #105317.

Oh well, but I guess I'm one of the very few who use that feature. This won't be missed if Vertex Group could have ability to store Edge and Face groups too as generic attributes, it would also help very much in Geometry Nodes. Thank you for replying.

> > Hello, I use face maps very frequently for creating face sets from edit mode, it is much more convenient to create face maps and turn them into face sets with one click instead of one-by-one. Does this change means I'll no longer be able to create and store face maps? What does this change look like from user perspective > > From a user perspective yes, although the data could be accessed via Python. > > Replied to #105317. Oh well, but I guess I'm one of the very few who use that feature. This won't be missed if Vertex Group could have ability to store Edge and Face groups too as generic attributes, it would also help very much in Geometry Nodes. Thank you for replying.
Hans Goudey added 1 commit 2023-05-19 20:12:37 +02:00
Hans Goudey added 1 commit 2023-06-03 03:40:44 +02:00
Hans Goudey added 1 commit 2023-06-08 23:18:57 +02:00
Campbell Barton approved these changes 2023-06-09 01:27:10 +02:00
Hans Goudey merged commit 46cf093270 into main 2023-06-09 13:54:57 +02:00
Hans Goudey deleted branch mesh-remove-face-maps 2023-06-09 13:54:58 +02:00
Sign in to join this conversation.
No reviewers
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
3 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#108025
No description provided.