Paint Mode: Pixel Brush Tool #98607

Open
opened 2022-06-05 10:50:42 +02:00 by Juanfran Matheu · 3 comments

This task design is about adding a pixel brush tool as a potential solution to the current limitation in texture paint mode to not being able to paint textures in a pixel art style not even able to paint single pixels.

Before looking into this solution let's check anothe non-pixel-brush-tool alternative and see the pros and cons of each one so we reach a conclusion.
Feedback and new ideas are welcome!

SOLUTION 1 - REFACTOR and EXTRA ADDITIONS:

  • Replacing current brush radius (which is strange IMHO) to brush size. This will make possible to have brushes with 1px size (diameter) to paint single pixels.
  • Add alternative squared paint cursor display over cursor settings to have a better feedback.
  • Add AA toggle as a unified paint setting to make possible paint in pixel art with any brush and size.
  • Add pixel grid overlay in the overlays panel.

CONS:

  • Cursor isn't aligned with pixel grid.
  • So much options user have to configure before doing pixel art. (cursor, AA, pixel grid...)

SOLUTION 2 - PIXEL BRUSH TOOL:

  • To have a dedicated pixel brush tool independent from current paint brush. This tool will behave differently.
  • To paint single pixels and blocks/chunks of 2x2, 4x4, ... pixels.
  • To paint pixel art patterns and gradients.
  • Dedicated pixel grid overlay which will be automatically enabled depending on zoom or pixel size in screen space.
  • Align brush automatically to the pixel grid.
  • No need to pre-configure anything.

CONS:

  • Align cursor to pixels in 3d viewport may be a lot of fun BUT extremely useful.

CONCLUSION:
In conclusion, having a separated tool will be most suitable as a pixel brush needs specific behaviours, as a squared cursor, aligned cursor, pixel grid overlay and no AA brushes.


Let's talk about the PIXEL BRUSH TOOL solution!

I've made a few prototypes in Python so I can give you all an idea of how it could behave:

• Pixel Grid Overlay

image.png A grid per pixel.

image.png A grid per chunks of 4x4 pixels (or whatever configured by user).

• Align Brush Automatically to the Pixel Grid
ezgif.com-gif-maker (15).mp4

• Pixel Brush Tool overview
ezgif.com-gif-maker (5).mp4

This task design is about adding a pixel brush tool as a potential solution to the current limitation in texture paint mode to not being able to paint textures in a pixel art style not even able to paint single pixels. Before looking into this solution let's check anothe non-pixel-brush-tool alternative and see the pros and cons of each one so we reach a conclusion. Feedback and new ideas are welcome! **SOLUTION 1 - REFACTOR and EXTRA ADDITIONS:** - Replacing current brush radius (which is strange IMHO) to brush size. This will make possible to have brushes with 1px size (diameter) to paint single pixels. - Add alternative squared paint cursor display over cursor settings to have a better feedback. - Add AA toggle as a unified paint setting to make possible paint in pixel art with any brush and size. - Add pixel grid overlay in the overlays panel. **CONS:** - Cursor isn't aligned with pixel grid. - So much options user have to configure before doing pixel art. (cursor, AA, pixel grid...) **SOLUTION 2 - PIXEL BRUSH TOOL:** - To have a dedicated pixel brush tool independent from current paint brush. This tool will behave differently. - To paint single pixels and blocks/chunks of 2x2, 4x4, ... pixels. - To paint pixel art patterns and gradients. - Dedicated pixel grid overlay which will be automatically enabled depending on zoom or pixel size in screen space. - Align brush automatically to the pixel grid. - No need to pre-configure anything. **CONS:** - Align cursor to pixels in 3d viewport may be a lot of fun BUT extremely useful. -------------------------------- **CONCLUSION:** In conclusion, having a separated tool will be most suitable as a pixel brush needs specific behaviours, as a squared cursor, aligned cursor, pixel grid overlay and no AA brushes. -------------------------------- ### Let's talk about the PIXEL BRUSH TOOL solution! I've made a few prototypes in Python so I can give you all an idea of how it could behave: **• Pixel Grid Overlay** ![image.png](https://archive.blender.org/developer/F13133415/image.png) A grid per pixel. ![image.png](https://archive.blender.org/developer/F13133417/image.png) A grid per chunks of 4x4 pixels (or whatever configured by user). **• Align Brush Automatically to the Pixel Grid** [ezgif.com-gif-maker (15).mp4](https://archive.blender.org/developer/F13133427/ezgif.com-gif-maker__15_.mp4) **• Pixel Brush Tool overview** [ezgif.com-gif-maker (5).mp4](https://archive.blender.org/developer/F13133428/ezgif.com-gif-maker__5_.mp4)
Juanfran Matheu self-assigned this 2022-06-05 10:50:42 +02:00

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

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

Added subscribers: @jfmatheu, @JulienKaspar

Added subscribers: @jfmatheu, @JulienKaspar

Added subscriber: @AndyCuccaro

Added subscriber: @AndyCuccaro
Juanfran Matheu changed title from Pixel Brush Tool to Paint Mode: Pixel Brush Tool 2022-06-06 16:05:25 +02:00
Julien Kaspar added this to the Sculpt, Paint & Texture project 2023-02-08 10:20:48 +01:00
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:18 +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
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#98607
No description provided.