Blocky texture paint stroke interpolation #43571

Closed
opened 2015-02-05 09:32:02 +01:00 by WK Bong · 17 comments

System Information
Custom build linux OS
Win 8.1 64 bit
GTX 980

Blender Version
Broken: ALL
Working: When this is fixed

Short description of error
on fast painting strokes, lines are blocky

Exact steps for others to reproduce the error
BasePaint.blend1.png
just paint fast strokes, either long or short, stroke will be blocky
Update rate just too slow, reminded me of old PC mouse back in the days

**System Information** Custom build linux OS Win 8.1 64 bit GTX 980 **Blender Version** Broken: ALL Working: When this is fixed **Short description of error** on fast painting strokes, lines are blocky **Exact steps for others to reproduce the error** ![BasePaint.blend1.png](https://archive.blender.org/developer/F141150/BasePaint.blend1.png) just paint fast strokes, either long or short, stroke will be blocky Update rate just too slow, reminded me of old PC mouse back in the days
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @WeeKwongBong

Added subscriber: @WeeKwongBong
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Julian Eisel self-assigned this 2015-02-05 15:24:19 +01:00
Member

Hey @WeeKwongBong,
AFICS this is no bug, you can make this better by using the "Input Samples" value in the Stroke Panel.

So thanks for the report, but everything should work as expected :)

Hey @WeeKwongBong, AFICS this is no bug, you can make this better by using the "Input Samples" value in the Stroke Panel. So thanks for the report, but everything should work as expected :)
Author

It is still blocky even at high samples.
At sample of >10, the smoothing is causing too much lag for comfortable painting.
The line only smooth at 30 input samples with too much lag.
BasePaint.blend2.png
left to right, 10 samples (blocky), 20 samples (still blocky with noticeable lag), 30 samples (too lag, cannot paint)

It is still blocky even at high samples. At sample of >10, the smoothing is causing too much lag for comfortable painting. The line only smooth at 30 input samples with too much lag. ![BasePaint.blend2.png](https://archive.blender.org/developer/F141233/BasePaint.blend2.png) left to right, 10 samples (blocky), 20 samples (still blocky with noticeable lag), 30 samples (too lag, cannot paint)
Member

Added subscriber: @Psy-Fi

Added subscriber: @Psy-Fi
Member

Yeah, but I'm afraid we're touching the borders of our old OpenGL code there. Am I right @Psy-Fi?

Yeah, but I'm afraid we're touching the borders of our old OpenGL code there. Am I right @Psy-Fi?

It's actually an old issue that has to do with threading and small brush sizes:

If you use small brushes you might want to disable threading altogether by going to the performance panel and set threads to custom and 1.

See if that helps. I'll try to see if I can do something more for this issue.

It's actually an old issue that has to do with threading and small brush sizes: If you use small brushes you might want to disable threading altogether by going to the performance panel and set threads to custom and 1. See if that helps. I'll try to see if I can do something more for this issue.

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
Julian Eisel was unassigned by Antonis Ryakiotakis 2015-02-05 19:19:08 +01:00
Antonis Ryakiotakis self-assigned this 2015-02-05 19:19:08 +01:00

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Author

BasePaint.blend4.png
Performance: 1 thread only
Input Samples at 10
Pressure is off

Thin strokes, can see the blocky part. Similar on larger brush.

Similar results when done with mouse, not graphic tablet problem.

![BasePaint.blend4.png](https://archive.blender.org/developer/F141259/BasePaint.blend4.png) Performance: 1 thread only Input Samples at 10 Pressure is off Thin strokes, can see the blocky part. Similar on larger brush. Similar results when done with mouse, not graphic tablet problem.

Can you attach your test file here?

Can you attach your test file here?
Author

Blank file ready for painting.
BasePaintBR.blend

Blank file ready for painting. [BasePaintBR.blend](https://archive.blender.org/developer/F141262/BasePaintBR.blend)

I am not sure if this is a bug either. Very fast strokes usually means we don't sample the mouse very often. As far as I've seen Krita and Gimp also have the issue but they hide it with some line smoothing.

I'll wait for the file and if I can't see anything extremely laggy I'll close. Better interpolation is nice to have but I wouldn't count it as a bug but a feature request.

We also have the smooth stroke system but personally I don't find it very comfortable to work with.

I am not sure if this is a bug either. Very fast strokes usually means we don't sample the mouse very often. As far as I've seen Krita and Gimp also have the issue but they hide it with some line smoothing. I'll wait for the file and if I can't see anything extremely laggy I'll close. Better interpolation is nice to have but I wouldn't count it as a bug but a feature request. We also have the smooth stroke system but personally I don't find it very comfortable to work with.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Yep, can't see anything weird here, closing as TODO.

Yep, can't see anything weird here, closing as TODO.
Author

All the blocky grass part is caused by the same problem.
View1.blend.png
Smooth stroke cannot solve it. Start and end tapering by pen pressure are smooth out into dull ends.

Firealpaca has very nice way to taper line with smooth stroke. http://firealpaca.com/en
Mypaint also has very nice tapering, without smoothing. Very natural. (deevad/artpen is a good one)
Krita has the same problem as Blender texpaint (smoothing off). With "weighted smoothing," it becomes a joy to use. With nice tapering as well.

note: Fast strokes are useful to get nice smooth arc, slow strokes will get jaggy lines.

All the blocky grass part is caused by the same problem. ![View1.blend.png](https://archive.blender.org/developer/F141267/View1.blend.png) Smooth stroke cannot solve it. Start and end tapering by pen pressure are smooth out into dull ends. Firealpaca has very nice way to taper line with smooth stroke. http://firealpaca.com/en Mypaint also has very nice tapering, without smoothing. Very natural. (deevad/artpen is a good one) Krita has the same problem as Blender texpaint (smoothing off). With "weighted smoothing," it becomes a joy to use. With nice tapering as well. note: Fast strokes are useful to get nice smooth arc, slow strokes will get jaggy lines.
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#43571
No description provided.