Image degradation in keyframer

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Janet Perlman
Posts: 66
Joined: 07 Oct 2014, 03:35

Image degradation in keyframer

Post by Janet Perlman »

Hi TVPaint friends,

I have been getting blurry results with the key framer. I am adding a little weaving back and forth motion for a character floating in the sky. There is only a panning left and right motion, no zoom or rotation. The scene is at a much lower res than I normally would work at - 1280 X 720, which I won't go into, but it's a given, so maybe a higher resolution would not give such bad results. When I apply the move, every sixth or seventh frame is in focus, but the rest are unacceptably blurred. I see no correlation between what’s in focus and the particular drawing or position.
I am using TVPaint10 pro 64 bit, Mac OS Mountain Lion and Yosemite.
Here is an image of the original drawing, beside the blurred result. Why would the key framer do this, when the move only consists of panning?
Attachments
PastedGraphic-1-2.jpg
PastedGraphic-1-2.jpg (65.37 KiB) Viewed 11935 times
User avatar
slowtiger
Posts: 2950
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Image degradation in keyframer

Post by slowtiger »

The blurriness occurs because the keyframer calculates with sub-pixels.

Imagine moving some drawing over 10 pixels in 20 frames. The positions will be 0, 0.5, 1, 1.5, and so on. Usually the calculated positions will never be whole pixels. That's why a line which is exactly 3 px wide gets to be spread over 4 or even 5 px.

Usually you will not notice this in movement, especially not with coloured characters. I recommend to store the keyframer movement in the bin and re-do it with the coloured character for best result.

The pan tool uses positions on whole pixels only, so that may be an alternative, but then you'd do it by hand.
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
Janet Perlman
Posts: 66
Joined: 07 Oct 2014, 03:35

Re: Image degradation in keyframer

Post by Janet Perlman »

That perfectly answers my question. Thank you!
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Image degradation in keyframer

Post by Peter Wassink »

There are a couple of FX's available that you can add to the stack to undo this blurriness.
notably:
Keying > "Alpha control"

and here is a thread where an other method is discussed:
viewtopic.php?f=10&t=7157&hilit=sharpen&start=15#p64595" onclick="window.open(this.href);return false;

if you set this correct it will sharpen the line to its original appearance.


Generally its better to work in a higher resolution because when finished you can always easily render it out in any desired lower resolution.
This will also help minimize these subpixel blur effects.
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
slowtiger
Posts: 2950
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Image degradation in keyframer

Post by slowtiger »

Generally its better to work in a higher resolution because when finished you can always easily render it out in any desired lower resolution.
Recently I realized I maybe animate too small for my style and level of detail. But I have problems to draw bigger - always had, I was raised with only limited paper supply and hoarded even smallest pieces of paper to draw on, my characters were only thumbnail size (with pen & ink), and not until working in a studio I was forced to actually use broader strokes on bigger paper.

I experimented a lot with different combinations of project size and brush size, and found I'm quite comfortable with really broad brushes which give me a range between 1 and about 50 px for expression. Next I will test working in 4K (specifically UHD 3840 x 2160 px) - the computer's just powerful enough now for that.
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
Janet Perlman
Posts: 66
Joined: 07 Oct 2014, 03:35

Re: Image degradation in keyframer

Post by Janet Perlman »

Thanks Slowtiger and Peter. I would not choose to work at this resolution, but I am working on scenes that were already animated at this size. That alpha effect is very good, but in this case, the blurriness is to a different degree on every frame. But I found a solution. David Fine suggested that I upres the scene, then do the move, and then downres again. The whole level came out blurry, but not more blurry, but the blurriness was uniform. I then applied that alpha effect and now it looks fine. So thanks everybody.
Post Reply