Masking

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
User avatar
Lukas
Posts: 525
Joined: 14 Jan 2011, 11:15
Contact:

Masking

Post by Lukas »

I'd like to request the ability to mask a layer with another layer.

(I know we can draw in stencil mode, but that's not the same thing at all.)
  • Club Baboo
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Masking

Post by Fabrice »

this request need a picture to be understood.

"masks" uses to cover many things depending on the user country and software.
Fabrice Debarge
User avatar
Lukas
Posts: 525
Joined: 14 Jan 2011, 11:15
Contact:

Re: Masking

Post by Lukas »

Here's an example.

[qt]640,480,http://www.lukaskrepel.nl/temp/TVP/masking.mov[/qt]

Here I use 'Add' to mimic masking, but that doesn't work with multiple layers.
If I had a background, the yellow circle would also appear on the background (when using 'Add').

It would be nice if it would be possible to only have it visible on the chosen layer, in this case the red circle, while still having all the pixels of the original masked layer (if you'd use stencil mode, pixels outside the mask(/stencil) are not drawn.

It would be very usefull to have! It's pretty standard in most graphic design software.

Hope that's clear :)
  • Club Baboo
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
User avatar
slowtiger
Posts: 2894
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Masking

Post by slowtiger »

So you're only complaining about he result of a mask/stencil operation not visible while still editing it?
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Lukas
Posts: 525
Joined: 14 Jan 2011, 11:15
Contact:

Re: Masking

Post by Lukas »

I'm not sure what you mean Slowtiger.
My biggest problem with the current system is that you actually LOSE the pixels outside of the mask.
Here's how it works in Photoshop. The way it works there would be ideal in TVPaint.

[qt]640,480,http://www.lukaskrepel.nl/temp/TVP/masking2.mov[/qt]
  • Club Baboo
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
User avatar
slowtiger
Posts: 2894
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Masking

Post by slowtiger »

Now I understand: you want a clipping mask.

That's against the underlying concept of TVP, where each edit results in a newly rendered bitmap frame. Unless they change the paradigm, I'm afraid this feature will not come. (It's on the same level as having artwork outside the project window.)
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Trumpatrick
Posts: 34
Joined: 06 Dec 2011, 17:22
Contact:

Re: Masking

Post by Trumpatrick »

This would be a really fantastic feature, but I understand what slowtiger is saying. I have to ask though, wouldn't it be a smart move to change this part of TVpaint's underlying structure? Since all the other programs I use are capable of this kind of functionality, TVpaints limitations are slowly starting to make the program feel, well..., limited in comparison. But maybe this is an entirely different discussion.
Elodie
Posts: 13913
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Masking

Post by Elodie »

Ok, that makes sense. Anyway, I don't know if this kind of feature could be added in the current architecture of TVPaint.
User avatar
Lukas
Posts: 525
Joined: 14 Jan 2011, 11:15
Contact:

Re: Masking

Post by Lukas »

Elodie wrote:Ok, that makes sense. Anyway, I don't know if this kind of feature could be added in the current architecture of TVPaint.
I'm pretty sure it's possible, look at this file + video.

The only problem is, in this file the way layers are ordered don't make any sense, and there's some bizarre blending modes used.

We might need a new blending mode/masking tools or something to have this working in an intuitive way, I'm sure there are some smart programmers who can do this in the current architecture. :roll:

[qt]640,480,http://www.lukaskrepel.nl/temp/TVP/maskingworks.mov[/qt]

I attached the file (you need pro, because of the blending modes).
Attachments
maskingworks.tvpp.zip
(280.24 KiB) Downloaded 1282 times
  • Club Baboo
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
User avatar
Trumpatrick
Posts: 34
Joined: 06 Dec 2011, 17:22
Contact:

Re: Masking

Post by Trumpatrick »

Ow oh oh, it's magic!If this could be combined into one new kind of layer, that would be fantastic!
Elodie
Posts: 13913
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Masking

Post by Elodie »

Lukas wrote:I'm sure there are some smart programmers who can do this in the current architecture. :roll:
Unfortunately, I'm not a developper. I'm not even smart :lol:
User avatar
Trumpatrick
Posts: 34
Joined: 06 Dec 2011, 17:22
Contact:

Re: Masking

Post by Trumpatrick »

Does that mean you will ask the smarter guys from the TV paint team to program this for us? Because it would be a huge improvement to the software.
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Masking

Post by Fabrice »

It is not a problem of being smart or not ;)
Doing it in a resonable amount of time depends on our internal C++ code structure.

Also, a such feature can have a lot of consequences in the current workflow management.
It needs to be deeply studied before changing all the related code.
Fabrice Debarge
User avatar
Peter Wassink
Posts: 4292
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Masking

Post by Peter Wassink »

i think that if layers could be linked together in such a way that the blendmode they are on is only active on the linked layer(s)
that would be a tremendous step.

This way only the erase blendmode already opens up the possibility of non destructive masks and crossfades.
But apart from the coding side, very importantly some clear and workable UI has to be thought out for this

something along the lines of the PS layer mask maybe.
It could be as simple as adding a colomn in the layerpanel head.
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Masking

Post by Fabrice »

But apart from the coding side, very importantly some clear and workable UI has to be thought out for this

something along the lines of the PS layer mask maybe.
It could be as simple as adding a colomn in the layerpanel head.
yes, but this is coding too ;)
Fabrice Debarge
Post Reply