dalboris / vpaint

Experimental vector graphics and 2D animation editor
http://www.vpaint.org
Apache License 2.0
736 stars 51 forks source link

select lines with the same color - useful for cleanup #34

Open blurymind opened 9 years ago

blurymind commented 9 years ago

Tvpaint has this feature and it is a must have for traditional animation. I wrote about it at drawpile and the developer implemented it: https://github.com/callaa/Drawpile/issues/191

In a vector application, you can find it in inkscape. To try it in such a workflow there:

  1. Sketch a drawing with blue color lines - use the calligraphy tool (or any other color different from black).
  2. Draw on top of it with black color lines - to ink it (on the same layer)
  3. select one of the sketch blue lines
  4. Right click> select same by color, hit delete key

now all the sketch blue lines are gone and what you are left with is the clean lineart ink black lines

dalboris commented 9 years ago

This is interesting, I can see how it can be useful, but wouldn't it make more sense to create a new layer for inking? I feel that the feature encourage a behaviour which is not right in the first place ;-)

blurymind commented 9 years ago

it simplifies the workflow by reducing a lot of the steps in the cleanup process. It comes from the traditional animation workflow where cleanup artists used a red pencil and a blue pencil for the first passes of drawing and then the black pencil. Then the xerox photo copying machine would only pickup the black pencil lines and produce the clean artwork. https://en.wikipedia.org/wiki/Clean-up

it would be useful to have both :) until a layer system is implemented I am assuming that this can also be easier to implement - as it is vector software. Check out the select same command in inkscape.

Animators will be able to sketch and cleanup their animation in vpaint in a way that has been done for decades

blurymind commented 9 years ago

it will only take a single command to implement this workflow - "select all lines with the same color".

Might be useful for other scenarios than cleanup as well

dalboris commented 9 years ago

I see. It might be generally useful, so I don't see a reason not to implement it. but you would really really want to create a new layer for that in VPaint, as it computes intersectionS and auto-snapping with existing strokes, to create the connectivity that allow painting with the paint bucket. Doing the workflow you suggest in VPaint would really mess up your document ;-)

blurymind commented 9 years ago

might be usefull to do before applying any tweening. Yeah, you are right, it would make absolutely no sense to keep the blue lines on a layer where you do tweening.

On Mon, Aug 31, 2015 at 8:10 PM, Boris Dalstein notifications@github.com wrote:

I see. It might be generally useful, so I don't see a reason not to implement it. but you would really really want to create a new layer for that in VPaint, as it computes intersectionS and auto-snapping with existing strokes, to create the connectivity that allow painting with the paint bucket. Doing the workflow you suggest in VPaint would really mess up your document ;-)

— Reply to this email directly or view it on GitHub https://github.com/dalboris/vpaint/issues/34#issuecomment-136430946.

wraybowling commented 9 years ago

http://wiki.blender.org/index.php/Doc:2.4/Manual/Modeling/Objects/Selecting#Description_4 It's useful. I use it in Blender all the time. Despite the fact that object may be organized on X, Y, Z, Layer, and Grouping, it's handy to be able to collect objects by Color for the same reason it's useful to collect them by any other criteria.

dalboris commented 9 years ago

Ok, cool, that's interesting, I've never used things like that :-)

blurymind commented 9 years ago

vpaint currently can not hold a drawing for more than one frame. That actually makes it impossible to do key poses first pass of an animation in it.

dalboris commented 9 years ago

I was about to say: "as a workaround, you can just motion-paste the frame", but then I realized that it is not a suitable solution since it doesn't allow you to easily modify all "identical frames from the hold" at once. I think that's a very important point you raised, I will think about the best way to implement this.

A temporary solution, super easy to implement, is to add a feature to play on 2s, 4s, 8s, etc. (it is standard and have to be implemented anyway), but only works if you are consistently drawing on 2s, 4s, 8s, etc. I'll think about how to address the more general worklow allowing different key poses to be hold for different duration.