Consistent mapping boundaries of brush textures #109201

Closed
opened 2023-06-21 12:49:57 +02:00 by Julien Kaspar · 3 comments
Member

Issue

This is based on some recent changes and #106895.
There were two different approaches in the recent past of fitting or filling the texture within a brush radius.
Whenever a brush falloff shape is changed between a circular and square shape, the texture mapping is either clipped or repeats.

(Example image attached)

Both cases can be undesirable, the right one especially because of the repeating. But the left one is more expected and leads to a consistent brush behavior.

Solution

Based on discussions between @JulienKaspar and @DanielBystedt.
The ideal beahvior is the one on the left. The mapping of brush textures needs to be updated so the texture always fits into the outer edges of the full diameter of the circular brush radius, which is the same as the outer edges of the square brush radius.

A lot of shared brush textures online already conform to a circular radius. So it's good to keep following this standard.

For the use case where the full square texture needs to be user, the user needs to change the tip roundness to be 0.0 in the brush settings.

## Issue This is based on some recent changes and #106895. There were two different approaches in the recent past of fitting or filling the texture within a brush radius. Whenever a brush falloff shape is changed between a circular and square shape, the texture mapping is either clipped or repeats. ![(Example image attached)](https://projects.blender.org/attachments/f6e82ad6-2be1-4b05-a1ee-165c8fc13169) Both cases can be undesirable, the right one especially because of the repeating. But the left one is more expected and leads to a consistent brush behavior. ## Solution Based on discussions between @JulienKaspar and @DanielBystedt. The ideal beahvior is the one on the left. The mapping of brush textures needs to be updated so the texture always fits into the outer edges of the full diameter of the circular brush radius, which is the same as the outer edges of the square brush radius. A lot of shared brush textures online already conform to a circular radius. So it's good to keep following this standard. For the use case where the full square texture needs to be user, the user needs to change the tip roundness to be 0.0 in the brush settings.
Julien Kaspar added this to the 4.0 milestone 2023-06-21 12:49:57 +02:00
Julien Kaspar added the
Type
To Do
label 2023-06-21 12:49:57 +02:00
Julien Kaspar added this to the Sculpt, Paint & Texture project 2023-06-21 12:49:59 +02:00
Author
Member

@brecht Maybe you have an opinion on this? I don't think this change would disrupt any other part of Blender.

@brecht Maybe you have an opinion on this? I don't think this change would disrupt any other part of Blender.
Author
Member
@JosephEagar

I don't mind seeing the default changed. It will affect other cases like modifiers, where you might want repetition of tiled images textures, but it's not obvious that is the right default anyway.

I don't mind seeing the default changed. It will affect other cases like modifiers, where you might want repetition of tiled images textures, but it's not obvious that is the right default anyway.
Julien Kaspar added the
Priority
High
label 2023-07-12 13:44:59 +02:00
Julien Kaspar changed title from Change default repeating on textures to Consistent mapping boundaries of brush textures 2023-08-01 14:51:22 +02:00
Sergey Sharybin self-assigned this 2023-08-01 14:55:24 +02:00
Blender Bot added the
Status
Resolved
label 2023-08-09 11:40:07 +02:00
Julien Kaspar removed this from the Sculpt, Paint & Texture project 2023-10-02 17:39:12 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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
2 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#109201
No description provided.