Color pick current layer only

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
Post Reply
User avatar
TVPUSER
Posts: 99
Joined: 30 Jan 2021, 02:29

Color pick current layer only

Post by TVPUSER »

I was recently showed a photoshop plugin that allows us to set the sampling mode for the color picker.
LKCbHnDeKu.png
LKCbHnDeKu.png (11.31 KiB) Viewed 3770 times
It simply makes so much sense especially for those of us who like to use layer modes for lighting effects..
Setting the color picking mode to current layer samples the normal color info regardless of layer mode!

Tvpaint already has a similar feature when sampling for color filling
1R8o2zz5Yv.jpg
1R8o2zz5Yv.jpg (17.32 KiB) Viewed 3770 times
Perhaps it is a little bit of a niche ask but I think this is an easy productivity boost for many.

Video in action:
Last edited by TVPUSER on 18 Apr 2024, 22:53, edited 1 time in total.
TVPaint 11.7.3, 12.0.1 Pro 64, Windows 10 H
i7-8700k, 48GB, RTX 2080 8G Desktop, Cintiq Pro 24 (3840x2160)
Ryzen 9 5900HS,16GB, RTX 3060 6G Laptop, Wacom ONE 13 Touch (1920x1080)
User avatar
Peter Wassink
Posts: 4436
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Color picker sample layer options

Post by Peter Wassink »

I remember Mark Chong (Lemec) once built an elaborate colorpicker for TVPaint that looked just like that.
Perceptual Palette.

If i remember correct it no longer worked in the 64bits version...
anyway i don't have it anymore. Not sure if Marc is still around?
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
TVPUSER
Posts: 99
Joined: 30 Jan 2021, 02:29

Re: Color picker sample layer options

Post by TVPUSER »

Peter Wassink wrote: 14 Mar 2024, 21:30 I remember Mark Chong (Lemec) once built an elaborate colorpicker for TVPaint that looked just like that.
Perceptual Palette.

If i remember correct it no longer worked in the 64bits version...
anyway i don't have it anymore. Not sure if Marc is still around?
There it is!
msedge_4DGjkdA56p.png
msedge_4DGjkdA56p.png (38.36 KiB) Viewed 3722 times
You're right it isn't compatible with 64-bit :cry:
Perhaps there is a way to achieve this in george script?
I do like the notion of it being a toggle, though I don't think you can do that with the scripting.
TVPaint 11.7.3, 12.0.1 Pro 64, Windows 10 H
i7-8700k, 48GB, RTX 2080 8G Desktop, Cintiq Pro 24 (3840x2160)
Ryzen 9 5900HS,16GB, RTX 3060 6G Laptop, Wacom ONE 13 Touch (1920x1080)
User avatar
Jeremy Richard
Posts: 53
Joined: 16 Oct 2021, 01:44
Contact:

Re: Color pick current layer only

Post by Jeremy Richard »

TVPUSER wrote: 15 Mar 2024, 01:50 Perhaps there is a way to achieve this in george script?
I don't know if it's exactly what you are looking for, but with Svengali's script you can select the actual colour on the active layer even if you are using blending modes.

Code: Select all

tv_LockMouse 4
tv_WaitButton
parse result ButtonState X Y
tv_GetPixel X Y
parse result R G B A
tv_UnLockMouse
IF A > 0
    tv_SetAPen R G B A
ELSE
     tv_warn "no pixel color found"
END
User avatar
TVPUSER
Posts: 99
Joined: 30 Jan 2021, 02:29

Re: Color pick current layer only

Post by TVPUSER »

Jeremy Richard wrote: 22 May 2024, 16:49
TVPUSER wrote: 15 Mar 2024, 01:50 Perhaps there is a way to achieve this in george script?
I don't know if it's exactly what you are looking for, but with Svengali's script you can select the actual colour on the active layer even if you are using blending modes.

Code: Select all

tv_LockMouse 4
tv_WaitButton
parse result ButtonState X Y
tv_GetPixel X Y
parse result R G B A
tv_UnLockMouse
IF A > 0
    tv_SetAPen R G B A
ELSE
     tv_warn "no pixel color found"
END
Brilliant! This is the functionality i'm looking for! hope some official option comes along but setting a hotkey to the script will suffice!
TVPaint 11.7.3, 12.0.1 Pro 64, Windows 10 H
i7-8700k, 48GB, RTX 2080 8G Desktop, Cintiq Pro 24 (3840x2160)
Ryzen 9 5900HS,16GB, RTX 3060 6G Laptop, Wacom ONE 13 Touch (1920x1080)
Post Reply