Page 1 of 2
empty frames
Posted: 14 Jan 2022, 15:24
by slowtiger
Does TVP know whether a frame contains pixels or not? If so: I'd like to have the option to make empty frames (instances) visually different from others. Maybe grayed out, or with a horizontal line, like in old X-sheets.
Discuss?
Re: empty frames
Posted: 14 Jan 2022, 16:48
by Svengali
slowtiger wrote: ↑14 Jan 2022, 15:24
Does TVP know whether a frame contains pixels or not? If so: I'd like to have the option to make empty frames (instances) visually different from others. Maybe grayed out, or with a horizontal line, like in old X-sheets.
Discuss?
george command to test for empty frame - a short script could test all frames in layer and somehow mark those found (change those frame-names to"empty" maybe).
tv_imagegetbound ["format" "xyxy"|"xywh"]
Get the bounding box of the image content
[PARAMETERS]
"format" "xyxy"|"xywh" enum The bounding box format
_ "xyxy": X1 Y1 X2 Y2
_ "xywh": X Y Width Height (default)
[RETURN]
"empty" string An empty image
[RETURN]
oX1 oY1 oX2 oY2
oX1 oY1 int int The top-left corner of the bounding box
oX2 oY2 int int The bottom-right corner of the bounding box
[RETURN]
oX oY oW oH
oX oY int int The top-left corner of the bounding box
oW oH int int The size of the bounding box
[ERROR]
-1 int No valid format
Re: empty frames
Posted: 14 Jan 2022, 18:55
by Xavier
slowtiger wrote: ↑14 Jan 2022, 15:24
Does TVP know whether a frame contains pixels or not? If so: I'd like to have the option to make empty frames (instances) visually different from others. Maybe grayed out, or with a horizontal line, like in old X-sheets.
Discuss?
Technically yes, it is possible to know if a frame is blank
Re: empty frames
Posted: 21 Jan 2022, 14:23
by Peter Wassink
slowtiger wrote: ↑14 Jan 2022, 15:24
Does TVP know whether a frame contains pixels or not? If so: I'd like to have the option to make empty frames (instances) visually different from others. Maybe grayed out, or with a horizontal line, like in old X-sheets.
Discuss?
Yes! a form of grey-out would be usefull, especially with the increased project resolution of today,
it is often very hard to tell if a frame contains a drawing.
Re: empty frames
Posted: 20 Feb 2022, 15:37
by D.T. Nethery
slowtiger wrote: ↑14 Jan 2022, 15:24
Does TVP know whether a frame contains pixels or not? If so: I'd like to have the option to make empty frames (instances) visually different from others.
Maybe grayed out, or with a horizontal line, like in old X-sheets.
+1. I think this would be a good feature to add to the Timeline to tell at a glance when a frame (instance) is blank .
Re: empty frames
Posted: 02 Mar 2022, 17:28
by Xavier
Hi, here's a tentative. What do you think ?
I wonder if this should be implemented as a setting or as a layer option. What would you say ?
Re: empty frames
Posted: 02 Mar 2022, 21:16
by tribute27
Xavier wrote: ↑02 Mar 2022, 17:28
Hi, here's a tentative. What do you think ?
TVPaint_empty_frames.webm
I wonder if this should be implemented as a setting or as a layer option. What would you say ?
That looks great! For me I think I would prefer it as a setting in the preferences like what was shown. My only concern is when someone is zoomed out enough, it might be confused as a red Image Mark. If possible, maybe the red color could be extended to one of the little squares? Otherwise though, it's awesome. Thank you!
Re: empty frames
Posted: 02 Mar 2022, 22:41
by slowtiger
I think it should be a middle gray instead.
Re: empty frames
Posted: 02 Mar 2022, 23:00
by Peter Wassink
I like that we get this extra information, i'm for it.
I'm not sure about the Red color though, could it be done with grey?
because what happens when a layer has a red colorgroup active? so i think a color neutral solution would be better.
Re: empty frames
Posted: 02 Mar 2022, 23:16
by Peter Wassink
since the empty frames are transparent
maybe a checkerboard as symbol?
the checkers as a symbol of the digital tabula rasa
i think it would work to convey those frames are empty
in this example i show a content on a checkerboard BG in the project view as a worst case... just to see if that would be confusing.
since th timeline also displays the BGcheckerboard when tthis is selected in the layerpanel BGcolor option.
so as soon as you would draw on an empty (no content) frame.
the timeline will change from the checkerboard symbol to the current image (in this case: a red line on a checkerboard BG)
if the project BG option is set to color... then off course that would also show up in the timeline.
again i did both in this example because it could happen and it would still have to work.
i think it does
- empty- symbol.png (43.34 KiB) Viewed 9543 times
Re: empty frames
Posted: 02 Mar 2022, 23:28
by Peter Wassink
when extending it could simply extend this checker pattern.
the colors should probably have to be different from the default checkerpattern colors(the A&B BackGround colors)
- test.png (49.91 KiB) Viewed 9540 times
Re: empty frames
Posted: 03 Mar 2022, 12:48
by Xavier
slowtiger wrote: ↑02 Mar 2022, 22:41
I think it should be a middle gray instead.
Peter Wassink wrote: ↑02 Mar 2022, 23:00
I like that we get this extra information, i'm for it.
I'm not sure about the Red color though, could it be done with grey?
because what happens when a layer has a red colorgroup active? so i think a color neutral solution would be better.
Ok, I understand that the mark colors should match the current color theme.
Like that ?
- Capture d’écran_2022-03-03_11-22-54.png (31.87 KiB) Viewed 9474 times
Re: empty frames
Posted: 03 Mar 2022, 13:48
by Xavier
Peter Wassink wrote: ↑02 Mar 2022, 23:28
when extending it could simply extend this checker pattern.
the colors should probably have to be different from the default checkerpattern colors(the A&B BackGround colors)
test.png
So it would be possible to draw a checker pattern. But, as you state, if we stick to the default pattern there's a risk to confuse the thumbnail with a background set to check. So it can't be A&B background colors.
Obviously it can't be colors A & B either !
Re: empty frames
Posted: 03 Mar 2022, 14:07
by Xavier
What if I do a checker pattern with the layer background color and the notes background color ?
I'd rather keep the vertical bar, because it remains visible even when you zoom out.
It is possible to use the color group when drawing the vertical bar. Would you agree with that ? for instance :
- Capture d’écran_2022-03-03_12-41-58.png (40.01 KiB) Viewed 9457 times
Re: empty frames
Posted: 07 Mar 2022, 22:52
by D.T. Nethery
Blank frame indicated with checkerboard , plus extended horizontal dotted line showing the duration of the blank frame would be ok.
I still like marking the blank frame with an
X and the extended horizontal dotted line showing the duration of the blank frame . It appeals to me because it hearkens back to ye olden days of Exposure Sheets where it was industry-wide usage to indicate a blank frame with an
X and a (vertical) line extended down the sheet to show the duration of the blank frame.
A quick glance at the Exposure Sheet shows where there are blank frames, indicated by X .