Set Transparency

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
Post Reply
User avatar
Thierry
Site Admin
Posts: 2780
Joined: 07 Jan 2013, 08:28

Set Transparency

Post by Thierry »

Following a discussion we had a few weeks ago, here a panel that restore an old TVPaint 10 feature about setting the Opacity of a layer.
set_transparency.tvpx
(9 KiB) Downloaded 492 times

There are 2 buttons in this panel:
transparency.PNG
transparency.PNG (2.64 KiB) Viewed 7049 times
When you click on either of them, a pop-up will appear:
transparency2.PNG
transparency2.PNG (2.15 KiB) Viewed 7049 times
Asking you a value for the transparency.

The first button will apply the value you entered to the current layer only, and the second button will apply it to the layers of the same color group as the current layer.
User avatar
Peter Wassink
Posts: 4436
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Set Transparency

Post by Peter Wassink »

Thank you thierry for this.

i am now trying to make it even more failproof and easy for animators
i want buttons to set the right opacity for groups in one click

so say we need always to have the layers of group 4 (GroupColor 4) be opacity (LayerDensity) 50%
how would i make a button that does that?

i see this command:|

script: set_transparency.grg

this pops up a requester but i dont know how to simply have it a fixed value
and how do i acces this script?
the embeded george script is empty, its not clear how that part of the edit custompanel actions works.
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
Post Reply