GPv3: Port Bucket Fill operator #114069

Open
opened 2023-10-23 19:01:40 +02:00 by Antonio Vazquez · 4 comments

This task is related to convert old Fill tool to GPv3. The conversion will include some redesign.

Main planned changes:

  • Remove Fill Brushes and move options to Tool. The Fill is not really a Brush and is not used in other 2D softwares, so it's logic remove it.
  • Cleanup Advanced parameters that now are not needed.
  • Simplify UI.
  • Remove weird hacks in the actual code as invisible strokes to close gaps.
  • Try to expose flood fill algorithm as Python API and separate from modal operator. This would make easier for Studios to create their own fill tools, but using the flood fill algorithm.
  • Try to use the extend algorithm used in extend modifier to use the actual curve direction and get smoother results in the closing lines.
This task is related to convert old Fill tool to GPv3. The conversion will include some redesign. Main planned changes: * Remove Fill Brushes and move options to Tool. The Fill is not really a Brush and is not used in other 2D softwares, so it's logic remove it. * Cleanup Advanced parameters that now are not needed. * Simplify UI. * Remove weird hacks in the actual code as invisible strokes to close gaps. * Try to expose flood fill algorithm as Python API and separate from modal operator. This would make easier for Studios to create their own fill tools, but using the flood fill algorithm. * Try to use the extend algorithm used in extend modifier to use the actual curve direction and get smoother results in the closing lines.
Antonio Vazquez added the
Type
To Do
label 2023-10-23 19:01:41 +02:00
Antonio Vazquez added this to the Grease Pencil project 2023-10-23 19:01:50 +02:00
Antonio Vazquez self-assigned this 2023-10-23 19:02:04 +02:00
Author
Member

@mendio you can subscribe to this task to work together in the design.

@mendio you can subscribe to this task to work together in the design.
Antonio Vazquez changed title from GPv3: Port Fill operator to GPv3: Port Bucket Fill operator 2023-10-24 09:55:21 +02:00
Member

@antoniov I can't reach the Blender chat at the moment (it's reloading 5 times per second...), so I reply in the task here. I would say it's safe for you to work on a port of the Bucket Fill.
I'm working on a geometry-based fill and I have a version that is working on pretty clean drawings. But as soon as the drawings become a bit more sketchy, the algorithm is still struggling. I might be able to fix that in some way, but I think a flood-fill based operator will always be more robust in those cases. So for feature-parity it's good to have a port of the Bucket Fill.

@antoniov I can't reach the Blender chat at the moment (it's reloading 5 times per second...), so I reply in the task here. I would say it's safe for you to work on a port of the Bucket Fill. I'm working on a geometry-based fill and I have a version that is working on pretty clean drawings. But as soon as the drawings become a bit more sketchy, the algorithm is still struggling. I might be able to fix that in some way, but I think a flood-fill based operator will always be more robust in those cases. So for feature-parity it's good to have a port of the Bucket Fill.
Author
Member

@pepe-school-land You can add any idea here :-)

@pepe-school-land You can add any idea here :-)
Antonio Vazquez removed their assignment 2024-01-08 16:40:05 +01:00
Lukas Tönne self-assigned this 2024-04-10 12:00:35 +02:00
Member

Implementation PR (WIP): #120693

Implementation PR (WIP): #120693
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 project
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#114069
No description provided.