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.

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.
137 KiB
added this to the 4.0 milestone 2023-06-21 12:49:57 +02:00
added the label 2023-06-21 12:49:57 +02:00
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
Owner

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.
added the label 2023-07-12 13:44:59 +02:00
changed title from Change default repeating on textures to Consistent mapping boundaries of brush textures 2023-08-01 14:51:22 +02:00
self-assigned this 2023-08-01 14:55:24 +02:00
referenced this issue from a commit 2023-08-09 11:40:05 +02:00
added the label 2023-08-09 11:40:07 +02:00
referenced this issue from a commit 2023-09-12 17:37:20 +02:00
removed this from the Sculpt, Paint & Texture project 2023-10-02 17:39:12 +02:00
No Label
No Milestone
No project
No Assignees
2 Participants