Draw on repeated frames

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: 526
Joined: 14 Jan 2011, 11:15
Contact:

Draw on repeated frames

Post by Lukas »

When the end of a layer is set on 'repeat' it would be cool to still be able to draw in the frames if you're outside of the actual frames. It would animating cycles even easier :)

See attached picture:
Attachments
drawingcycle.png
drawingcycle.png (53.16 KiB) Viewed 26230 times
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
Paul Fierlinger
Posts: 8100
Joined: 03 May 2008, 12:05
Location: Pennsylvania USA
Contact:

Re: Draw on repeated frames

Post by Paul Fierlinger »

Just stretch the last frame out to the clip's end as a single instance (I have a plugin with which I can do this in one click of a button)and using the Faux Fix you'll be able to do what you are asking for.
Paul
http://www.slocumfilm.com
Desktop PC Win10-Pro -64 bit OS; 32.0 GB RAM
Processor: i7-2600 CPU@3.40GHz
AMD FirePro V7900; Intuos4 Wacom tablet
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Draw on repeated frames

Post by Lukas »

Paul Fierlinger wrote:Just stretch the last frame out to the clip's end as a single instance (I have a plugin with which I can do this in one click of a button)and using the Faux Fix you'll be able to do what you are asking for.
Hmmm. But when you draw in a Faux-Fixed frame it also breaks and creates a new instance, or am I doing something wrong?
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Draw on repeated frames

Post by Svengali »

why would it be cooler to draw after the end frame to modify the first frame rather than just to go back to the first frame and continue modifying the existing frame? I'm not following the advantage here.

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Draw on repeated frames

Post by Lukas »

Svengali wrote:why would it be cooler to draw after the end frame to modify the first frame rather than just to go back to the first frame and continue modifying the existing frame?
Simply because you wouldn't need to go back to the first frame :)

Now I often create a new 'first frame' at the end of a cycle, and copy it over the original first frame of the cycle and fix the inbetweens that became messed up. This way that wouldn't be necessary anymore.

Of course this would also work if you'd draw on frame 34, the instance on frame 5. (In the case of the image I attached in the first post). The Light Table works if you're on those frames, which gives the illusion you can draw there, but if you do, it breaks the cycle.
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Draw on repeated frames

Post by Svengali »

I have to confess I don't really understand, but if you (and the developers) believe that the time saved in not having to go back to the first frame is worth it then I guess that's a feature that needs to be added.

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
Paul Fierlinger
Posts: 8100
Joined: 03 May 2008, 12:05
Location: Pennsylvania USA
Contact:

Re: Draw on repeated frames

Post by Paul Fierlinger »

I need to pitch in here and reiterate what Sven says, which is that programming takes a lot of time and making such frivolous demands on the time of the development team is in my opinion inconsiderate not just towards the developers but also towards other users who are waiting in line for much more serious improvements to get to the top of the list.
Paul
http://www.slocumfilm.com
Desktop PC Win10-Pro -64 bit OS; 32.0 GB RAM
Processor: i7-2600 CPU@3.40GHz
AMD FirePro V7900; Intuos4 Wacom tablet
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Draw on repeated frames

Post by Elodie »

Well, if I am not wrong , if you just need something do draw loop animations, you can use the post and pre behaviors + light table. It should.do the job.
User avatar
Paul Fierlinger
Posts: 8100
Joined: 03 May 2008, 12:05
Location: Pennsylvania USA
Contact:

Re: Draw on repeated frames

Post by Paul Fierlinger »

I think Lukas wants to draw where there is no "paper" to draw on -- in other words in the space after the layer ends.
Paul
http://www.slocumfilm.com
Desktop PC Win10-Pro -64 bit OS; 32.0 GB RAM
Processor: i7-2600 CPU@3.40GHz
AMD FirePro V7900; Intuos4 Wacom tablet
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Draw on repeated frames

Post by Lukas »

Of course it does the job :)
I've done many many cycles with the current tools.

But it would be even easier with the behaviour I suggested ;)
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Draw on repeated frames

Post by Elodie »

I dont think so. As Paul en svengali said, it would be long to develop to win what ? A quarter of second ? The time developers would spend on it wouldn't worth it.

Imo, it would really disturbing for newcomers.
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Draw on repeated frames

Post by Lukas »

Here's a movie showing the current behaviour. Honestly I don't see how my suggestion won't be usefull to anyone if you see what happens in the video. Especially with the Light table on, you'd just expect to be able to animate there.

I'm not the one to judge how much time anything is worth to code. Just requesting this because I think it would improve TVP, that's all.

[qt]640,480,http://www.lukaskrepel.nl/temp/TVP/cycle.mov[/qt]
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Draw on repeated frames

Post by Svengali »

I can sort of see what you are talking about now. And I understand your argument and why you make it.

Frankly, you are drawing in an area (beyond the last frame) that I just don't see and haven't seen for several years now. Why?

Because I've written a little script for the left and right arrows which simply loops me at the extremes of the current layer. If I get to the last frame and I press next frame (right arrow) again, it takes me to the first frame.
If I am jumping back and reach the first frame and press previous frame (left arrow) it takes me to the last frame. So, I've never had to deal with being in no man's land or seeing the ghost light-table frames...

Here's the simple code that does that. Actually I use a slightly more sophisticated pair of scripts that keep me on head frames and which does a number of other, conditional things as well.

One additional tip which you may or may not have run across before. If you also set the start of your layer to Repeat, the light table images wrap as well. So, at the final frame, you can see the first, second, third frame as well and the first frame lets you see back into the last few frames of the layer - helpful for drawing effective looping sequences.

Sven

Code: Select all

tv_LayerCurrentID
parse result LayerNumber									// Identify current layer

tv_LayerInfo LayerNumber
parse result d d d d LayerType LayerStart LayerEnd d d d	// Get Type, Start and End info for current layer



// assign this script section for Next Frame ONLY

tv_LayerGetImage
parse result ThisFrame										// BEFORE advancing cursor to next Head-frame test cursor-frame status


IF ThisFrame == LayerEnd || ThisFrame < LayerStart			// Is cursor on Layer-end or in front of First-frame?
	ThisFrame = LayerStart									// Wrap or set cursor to Layer-start
	tv_LayerImage ThisFrame
	EXIT
END


ThisFrame = ThisFrame + 1
IF ThisFrame > LayerEnd										// Is cursor beyond Layer-end?
	ThisFrame = LayerEnd
END

tv_LayerImage ThisFrame									// set cursor to Layer-end


// assign this script section for Previous Frame ONLY

tv_LayerGetImage
parse result ThisFrame										// BEFORE advancing cursor to next Head-frame test cursor-frame status

IF ThisFrame == LayerStart || ThisFrame > LayerEnd			// Is cursor on LayerStart or past LayerEnd?
	ThisFrame = LayerEnd									// Wrap or set cursor to Layer-end
	tv_LayerImage ThisFrame
	EXIT
END

ThisFrame = ThisFrame - 1
IF ThisFrame < LayerStart									// Trap if we've moved beyond First-frame of layer
	ThisFrame = LayerEnd									// Wrap to last frame
END

tv_LayerImage ThisFrame
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Draw on repeated frames

Post by Lukas »

Very nice script Svengali, I'll be using them instead of the regular arrow keys when animating a cycle! :D

I still think the feature request would improve TVP though, because that way...
  • ...it would also work when navigating the timeline with the mouse
  • ...you can always adjust the cycle to the new circumstances when the background is changing over time or when other characters are crossing paths etc.
  • ...you wouldn't need two sets of arrow keys (your scripted arrow keys and the non-scripted default arrow keys) ;)
But thanks for sharing your script! Even though it's a workaround, it works great! :D
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Draw on repeated frames

Post by Svengali »

What ever works for you my friend. If they change the way things work I don't think my scripts will be affected, so good luck to you. 8)

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Post Reply