Page MenuHome

GPencil: Better sampling limits
ClosedPublic

Authored by YimingWu (NicksBest) on Jun 13 2022, 1:48 PM.

Details

Summary

The problem with T98683 is that sampling interval can be set to very small, resulting in very dense points. This patch attempts to optimize that a little bit.

I don't think I can pin point an exact value that's appropriate, but I found the UI limit of 0.01 is still somewhat needed to create some dotting effect in default geometry scale with a reasonably thin line art set up. I changed the UI limit to 0.05 (which looks nicer in default thickness on a default monkey) and set an absolute minimum of 0.005. Very small value would cause the algorithm to run very slow anyway so probably not a very good idea.

Diff Detail

Repository
rB Blender

Event Timeline

YimingWu (NicksBest) requested review of this revision.Jun 13 2022, 1:48 PM
YimingWu (NicksBest) created this revision.
This revision is now accepted and ready to land.Jun 13 2022, 3:21 PM
This revision was automatically updated to reflect the committed changes.