opentoonz / opentoonz_docs

OpenToonz User Manual
http://opentoonz.readthedocs.io
28 stars 26 forks source link

How can I change keyframe's level? #186

Open hatwearingdumb opened 1 year ago

hatwearingdumb commented 1 year ago

Ask a question related to OpenToonz

And I'm not talking about the "Replace level" options, I need to transfer all of my level's frames onto their own levels. This had became a big issue when I tried to change the color of a Toonz Raster Level, and then realised that my other columns are affected too, since I was originally doing the whole thing on fewer of them.

image

It would be really handy if there was an option, for automatic column-to-level separation. So, for example, when I move or copy a frame from Col1 to Col2, the keyframe changes from being on the A level, to being on the B level automatically. Or at least give me an option to transfer all selected frames to another level.

DarrenTAnims commented 1 year ago

When you talk about keyframes, is it right that you're not talking about keys from the animation tool? On first reading, I thought you was referring to animation tool keys. It's not likely to have automatic moving of drawings from one level to another. If you want drawings to be in a different level then you should just copy them with the selection tool.

RodneyBaker commented 1 year ago

We can use Cells > Clone Cells in the menu to create new (independent) copies of levels. If it's something done often we can set a shortcut key to that. Alt + C works well as an assignment there.

image

Added: We can also use Merge (Merge TLV for TLV levels) to transfer to a new level in a column. That new column will nee to have empty frames in most cases.

hatwearingdumb commented 1 year ago

We can use Cells > Clone Cells in the menu to create new (independent) copies of levels. If it's something done often we can set a shortcut key to that. Alt + C works well as an assignment there.

image

Added: We can also use Merge (Merge TLV for TLV levels) to transfer to a new level in a column. That new column will nee to have empty frames in most cases.

The newly cloned cells still aren't on the same level though. image

Also Darren, I meant levels as if the .tlv files. I want to move existing drawings to them, and not to new collumns.

RodneyBaker commented 1 year ago

I'm still not fully tracking but we are getting there. Keep in mind that multiple 'levels' can be inside the same column. (in time but not in space*) A 'column' simply being a container for levels. I see in your image that you have a D level and a B level i nthe same column (separated in time by frames).

To 'merge' columns there are several means... We can actually merge them in a number of ways...using Merge TLV or Merge... depending on the level type. We can copy/paste. We can collapse columns containing levels into a sub-xsheet column that contains all those columns and levels we have purposed to collect into that column. We can render out various levels/columns and use that combined set of levels as a single level.

*In short, two independent levels cannot be the same level unless we merge them in some fashion.

I suppose we could add a means to automate the copy/paste process a little more so that we could select any number of cells and Opentoonz would interatively move through those frames and copy/paste them all into either the first or last frame selected. Copy/Merging is a destructive process vs collapsing into subxsheet is not.

Unless columns are collapsed, different levels cannot occupy the same cell of a column (e.g. row in Timeline).

Note: I have not mentioned various means of combining levels/columns with FX as I don't think that is of primary interest to you.

RodneyBaker commented 1 year ago

Short of something we are missing I'll guess your best way forward is to use Merge TLV levels. This because you want to retain the ability to adjust colors in a way that only TLV (toonz raster) levels will allow. Methods of copy/paste would work as well since we are dealing with TLV levels as both source and target.

hatwearingdumb commented 1 year ago

To 'merge' columns there are several means... We can actually merge them in a number of ways...using Merge TLV or Merge...

Both are grayed out when I select a column.

hatwearingdumb commented 1 year ago

Okay I just figured out how to do what I wanted to:

image image image

Basically, I want to do that, but automatically when I move a frame to another collumn (so every collumn has only one level assigned to it).

RodneyBaker commented 1 year ago

If grayed out that is simply an indicator that some criteria for merger is not present. Also, we are merging levels contained in columns so the levels need to be in columns that you want to combine.

There are some specific things we want to do when merging... and different level types have slightly different criteria.

With toonz raster (TLV) we usually want to Save All first before merging because merging is a destructive process and we might want to keep the old levels that are being merged in case we want to return to them.

Importantly, we need to select columns that need to be merged. Selecting cells will usually result in an error message suggesting selection of columns. Selecting columns that contain different level types will result in the option being grayed out... but I don't think that is your issue because you are only using TLV levels.

RodneyBaker commented 1 year ago

As we can sense a feature request here we'll add a feature request label. The more information on what success would look like the better.

hatwearingdumb commented 1 year ago

Well, I don't know what else to add, except for showing off my desired result: image

artisteacher commented 1 year ago

Are you trying to clone the cells from multiple levels in a single column and have them automatically create a single cloned level in a new column?

hatwearingdumb commented 1 year ago

I am trying to move the cells from multiple levels to a single column and have them moved automatically to a single level, that was previously assigned to that column.

RodneyBaker commented 4 months ago

I'm not sure if this is still an issue. This report appears a likely candidate for transferring to Opentoonz Documentation so that others can lock down the specifics of workflow both current and desireable.

hatwearingdumb commented 4 months ago

Hah, I just happened to reinstall the program today, I'll be sure to test it :)

hatwearingdumb commented 4 months ago

I think the issue back then was I expected each column to be assigned to a single level, so you wouldn't end up with A, B and C in a single column. It's still the case, since there are no downsides to it, besides the timeline looking a little messy.

What bothered me more, was how once you remove all the key frames of a level, from the timeline, its name is not assignable anymore, due to it still existing in the scene's directory.

2024-07-13-28_OpenToonz 2024-07-13-29_explorer

So not a real problem, but rather a wake to my inner pedantic.