WIP: Issue Sculpt Mode: Cavity Inverted consistency #102437 #105718

Draft
ProCrow wants to merge 1 commits from ProCrow/blender:my-feature into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
First-time contributor

Sculpt Mode: Cavity Inverted consistency #102437

As requested, Cavity (inverted) Is no longer a toggle and is now a sub-setting of Cavity now named Inverted. Adhering to the UI design it functions in the same way Occlusion does under View Normal in the Auto-Masking panel.

The Pie menu has not been changed. Although, if Cavity (Inverted) is selected, both it and Cavity are enabled as it is now a sub-setting and no longer a toggle.

Sculpt Mode: Cavity Inverted consistency #102437 As requested, `Cavity (inverted)` Is no longer a toggle and is now a sub-setting of Cavity now named `Inverted`. Adhering to the UI design it functions in the same way `Occlusion` does under `View Normal` in the Auto-Masking panel. The Pie menu has not been changed. Although, if `Cavity (Inverted)` is selected, both it and `Cavity` are enabled as it is now a sub-setting and no longer a toggle.
ProCrow added 1 commit 2023-03-13 13:39:41 +01:00
Brecht Van Lommel added this to the Sculpt, Paint & Texture project 2023-03-17 12:43:52 +01:00
Brecht Van Lommel requested review from Joseph Eagar 2023-03-17 12:44:07 +01:00
Brecht Van Lommel requested review from Julien Kaspar 2023-03-17 12:44:07 +01:00
Julien Kaspar added the
Module
Sculpt, Paint & Texture
label 2023-03-28 20:06:35 +02:00
Julien Kaspar requested changes 2023-04-07 21:01:40 +02:00
Julien Kaspar left a comment
Member

Thanks for working on the PR! I tested it and it sort of works like expected. But now getting to use it, it reveals some issues with the design:

Having the "Cavity" & "Cavity (inverted)" exposed as a sub-setting AND toggling it like a mutually exclusive setting is very confusing.
Toggling the "Inverted" settings when the "Cavity" toggle is disabled is not ideal
This also leads to additional steps in the pie menu interaction.

I think overall the previous behavior was more intuitive.
So I have two suggestions:

A:
Do not toggle the "Inverted" sub-setting when "Cavity" is toggled.
It's also important that the pie menu items stay mutually exclusive and are not enabled at the same time. This would mean that the pie menu and the panel settings behave fundamentally different, which could be harder to achieve in the code and confusing a bit confusing in the UI.

B:
I also talked with @pablovazquez and agreed on radio buttons, so that the options can remain mutually exclusive both in the panel and pie menu, without breaking UI conventions.
This would also push the button to create a cavity mask further down because of lack of space.
(See mockup below. Note that I used the naming convention of "Ridge" & "Valley" fronm the Cavity Shading. Ridge in this case is the equivilant of Inverted cavity)

Sorry for the wait and for a bit of an unclear design. I hope this answer gives some clearer direction and options if suggestion A doesn't work out.

Thanks for working on the PR! I tested it and it sort of works like expected. But now getting to use it, it reveals some issues with the design: Having the "Cavity" & "Cavity (inverted)" exposed as a sub-setting AND toggling it like a mutually exclusive setting is very confusing. Toggling the "Inverted" settings when the "Cavity" toggle is disabled is not ideal This also leads to additional steps in the pie menu interaction. I think overall the previous behavior was more intuitive. So I have two suggestions: A: Do not toggle the "Inverted" sub-setting when "Cavity" is toggled. It's also important that the pie menu items stay mutually exclusive and are not enabled at the same time. This would mean that the pie menu and the panel settings behave fundamentally different, which could be harder to achieve in the code and confusing a bit confusing in the UI. B: I also talked with @pablovazquez and agreed on radio buttons, so that the options can remain mutually exclusive both in the panel and pie menu, without breaking UI conventions. This would also push the button to create a cavity mask further down because of lack of space. (See mockup below. Note that I used the naming convention of "Ridge" & "Valley" fronm the Cavity Shading. Ridge in this case is the equivilant of Inverted cavity) Sorry for the wait and for a bit of an unclear design. I hope this answer gives some clearer direction and options if suggestion A doesn't work out.
Member

Hey @ProCrow did you get a chance to look into this? Thanks!

Hey @ProCrow did you get a chance to look into this? Thanks!
Daniel Bystedt changed title from Issue Sculpt Mode: Cavity Inverted consistency #102437 to WIP: Issue Sculpt Mode: Cavity Inverted consistency #102437 2024-04-16 16:51:37 +02:00
This pull request has changes conflicting with the target branch.
  • source/blender/makesrna/intern/rna_sculpt_paint.c

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u my-feature:ProCrow-my-feature
git checkout ProCrow-my-feature
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 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#105718
No description provided.