Improved Rake functionality #98070

Open
opened 2022-05-12 10:16:29 +02:00 by Julien Kaspar · 23 comments
Member

For now it would be best to focus this implementation on Sculpt Mode, since this will be the basis of the upcoming Paint Mode.

Issue

When using an image texture in a brush you can enable the option "Rake" so that the texture rotation is following the direction of the stroke.
This has a huge issue that it stamps the entire texture repeatedly which makes it impossible to create a smooth curved texture that accurately follows the stroke.

F13080487

F13080519

Proposal

Essentially we need to implement a way to split up the brush texture into many thin slices and apply them to the stroke incrementally.
This way it will have the visible effect of putting the texture on a paint roller and rolling it over a surface.
This would also make it possible to assign a very wide texture to a brush and paint it in a curved way on the surface.

roll brush mockup.mp4

Adjusting the texture size should help to redefine how stretched the used texture is:

Size = 1
F13080507

Size = 0.25
F13080509

Size = 2
F13080511

Open Questions

It still needs to be discussed how this setting will be exposed and how it relates to the mapping, stroke and rake setting.

For now it would be best to focus this implementation on Sculpt Mode, since this will be the basis of the upcoming Paint Mode. ## Issue When using an image texture in a brush you can enable the option "Rake" so that the texture rotation is following the direction of the stroke. This has a huge issue that it stamps the entire texture repeatedly which makes it impossible to create a smooth curved texture that accurately follows the stroke. ![F13080487](https://archive.blender.org/developer/F13080487/image.png) ![F13080519](https://archive.blender.org/developer/F13080519/image.png) ## Proposal Essentially we need to implement a way to split up the brush texture into many thin slices and apply them to the stroke incrementally. This way it will have the visible effect of putting the texture on a paint roller and rolling it over a surface. This would also make it possible to assign a very wide texture to a brush and paint it in a curved way on the surface. [roll brush mockup.mp4](https://archive.blender.org/developer/F13080440/roll_brush_mockup.mp4) Adjusting the texture size should help to redefine how stretched the used texture is: Size = 1 ![F13080507](https://archive.blender.org/developer/F13080507/image.png) Size = 0.25 ![F13080509](https://archive.blender.org/developer/F13080509/image.png) Size = 2 ![F13080511](https://archive.blender.org/developer/F13080511/image.png) ### Open Questions It still needs to be discussed how this setting will be exposed and how it relates to the mapping, stroke and rake setting.
Joseph Eagar was assigned by Julien Kaspar 2022-05-12 10:16:29 +02:00
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar

#98182 was marked as duplicate of this issue

#98182 was marked as duplicate of this issue

Added subscriber: @Harti

Added subscriber: @Harti

Added subscriber: @Vyach

Added subscriber: @Vyach
Author
Member

Closed as duplicate of #98182

Closed as duplicate of #98182
Author
Member

Changed status from 'Duplicate' to: 'Confirmed'

Changed status from 'Duplicate' to: 'Confirmed'
Author
Member
Added subscribers: @DanielBystedt, @JosephEagar, @lichtwerk, @Grady, @luischerub, @TheRedWaxPolice, @Jeroen-Bakker
Author
Member

@DanielBystedt I merged your design task into this one. The visual examples are extremely helpful! Thanks

@JosephEagar If you already have any technical information to add, feel free to edit the task further.

@DanielBystedt I merged your design task into this one. The visual examples are extremely helpful! Thanks @JosephEagar If you already have any technical information to add, feel free to edit the task further.

Added subscriber: @Zeekar

Added subscriber: @Zeekar
Member

During sculpt/texture module meeting 2022-05-18 we agreed that the best solution is to add this feature as a new stroke method called roll. This will be the best solution looking forward to the planned brush management.

Attendees:
Jeroen Bakker (dev)
Ramil Roosileht (dev)
Julien Kaspar (artist)

image.png

During sculpt/texture module meeting 2022-05-18 we agreed that the best solution is to add this feature as a new `stroke method` called `roll`. This will be the best solution looking forward to the planned brush management. Attendees: Jeroen Bakker (dev) Ramil Roosileht (dev) Julien Kaspar (artist) ![image.png](https://archive.blender.org/developer/F13087335/image.png)
Author
Member

The additional advantages to making it a stroke method are also that it is easier to select & use and that there are other potential brush effects:
If a texture or the falloff itself is applied over thin slices along the direction of the stroke, it would be easier to achieve sharp cuts like with the Draw Sharp brush.

The additional advantages to making it a stroke method are also that it is easier to select & use and that there are other potential brush effects: If a texture or the falloff itself is applied over thin slices along the direction of the stroke, it would be easier to achieve sharp cuts like with the Draw Sharp brush.

Added subscriber: @Nico-Cook

Added subscriber: @Nico-Cook

Added subscriber: @Michael-Colina

Added subscriber: @Michael-Colina

here is some bug occurring here, not my post here is the original https://blenderartists.org/t/the-big-blender-sculpt-mode-thread/1150731/10031
Screenshot 2022-05-23 173944.jpg

here is some bug occurring here, not my post here is the original https://blenderartists.org/t/the-big-blender-sculpt-mode-thread/1150731/10031 ![Screenshot 2022-05-23 173944.jpg](https://archive.blender.org/developer/F13101549/Screenshot_2022-05-23_173944.jpg)

Added subscriber: @tiagoffcruz

Added subscriber: @tiagoffcruz
Contributor

Added subscriber: @robin-4

Added subscriber: @robin-4

Added subscriber: @Yuro

Added subscriber: @Yuro

Removed subscriber: @Michael-Colina

Removed subscriber: @Michael-Colina

Added subscriber: @Tilapiatsu

Added subscriber: @Tilapiatsu
Author
Member

Since this is targeted for 3.5 I'll raise the priority.

Since this is targeted for 3.5 I'll raise the priority.
Member

I just tried the temp-sculpt-roll-mapping branch. I think the deformation of the alpha texture along the stroke works great! Well done! The only issue I can find is when the angle is set to 90. The stroke only becomes thin, straight streaks perpendicular to the stroke

image.png

Attaching example file for quick testing

blender roll test.blend

I just tried the temp-sculpt-roll-mapping branch. I think the deformation of the alpha texture along the stroke works great! Well done! The only issue I can find is when the angle is set to 90. The stroke only becomes thin, straight streaks perpendicular to the stroke ![image.png](https://archive.blender.org/developer/F14086871/image.png) Attaching example file for quick testing [blender roll test.blend](https://archive.blender.org/developer/F14086874/blender_roll_test.blend)
Member

I just tested the latest build
Blender 3.5.0 - temp-sculpt-roll-mapping from December 31, 00:54:28

That build of blender still has the issue when setting the angle to 90 described in my last post

I just tested the latest build Blender 3.5.0 - temp-sculpt-roll-mapping from December 31, 00:54:28 That build of blender still has the issue when setting the angle to 90 described in my last post
Julien Kaspar added this to the Sculpt, Paint & Texture project 2023-02-08 10:48:53 +01:00
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:27 +01:00
Julien Kaspar added a new dependency 2023-05-08 12:10:35 +02:00
Julien Kaspar removed a dependency 2023-05-08 12:10:56 +02:00
Joseph Eagar was unassigned by Hans Goudey 2024-02-13 16:29:40 +01:00
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
12 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#98070
No description provided.