GPencil: New bézier stroke type #85754
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#85754
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status:
In development
.Team
Commissioner: @antoniov
Project leader: @filedescriptor
Project members: @pepe-school-land, @mendio
Description
Big picture: The goal is to make a bézier-curve-based workflow possible that covers all areas in grease pencil (Drawing, Editing, Sculpting, etc.).
Work plan
**{icon check-circle color=green} Milestone 1 - Remove Curve Editing toggle Remove the curve editing-related UI elements and code (like the keymap).{icon check-circle color=green} Milestone 2 - Selection operators **
Adapt the selection operators to work for curves and strokes simultaneously. Some of the selection code might need a refactor as well.
Additional changes:
**{icon check-circle color=green} Milestone 3 - Conversion operators **
To convert between the two types we need a "Set Stroke Type" operator.
**{icon check-circle color=green} Milestone 4 - Transform **
The transform code will have to be implemented. The
TransData
can no longer be separated for strokes and curves and will have to take both into account.Note: The code is implemented and has been tested, but there could still be some bugs. Needs more thorough testing.
Milestone 5 - Editing operators and modifiers
Operators
Adapt/implement all the editing operators. Some of these might only need minor changes like checking if a stroke is a curve and then calling the right function (the bulk has already been implemented).
Note: This can be more efficient and more 'correct' if we project the curve points instead of the stroke points
)Note: The conversion could use the curve data to make it more efficient and accurate
)Modifiers
Adapt modifiers to work with Bezier type.
deformStroke
todeformPolyline
. (ccbe9d7ab15f)deformBezier
. (fa7c2b6b22aa)This modifier is not using deformStroke callback
)This modifier uses deformStroke but the strokes are not editable, so no changes needed.
)This modifier is not using deformStroke callback
)Milestone 6 - Sculpting, weight painting and vertex painting
Sculpting curves is similar to sculpting strokes. In fact, the only difference is that with curves, we sculpt the stroke points and then refit the curve after the operation. In order to make this work properly though, we need to be able to do partial curve refitting.
Sculpting
BKE_gpencil_stroke_editcurve_update
to handle partial updates.BKE
to do partial curve updates.Weight painting
Vertex painting
brush_blur
,brush_average
,brush_smear
,brush_replace
Milestone 7 - Drawing curves
To make curves part of all areas, we need at least one way to create curves directly in Draw Mode. There are multiple ideas:
Branch:
temp-gpencil-bezier-stroke-type
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @filedescriptor, @mendio, @antoniov, @pepe-school-land
Added subscriber: @SimplSam
GPencil: Next steps for curve editingto GPencil: New bézier stroke typeAdded subscriber: @laurelkeys
Added subscriber: @Gabi_love
Do you believe this will be included in 3.0?
Added subscriber: @ok_what
Added subscriber: @hamza-el-barmaki
any update for 3.3 or 3.4 ? or waiting for new curve structure data block and then ....?
Changed status from 'Confirmed' to: 'Archived'
@hamza-el-barmaki This project is now being replaced by a more general proposal. See https://devtalk.blender.org/t/developer-discussion-new-grease-pencil-data-structure-proposal .