opentoonz / opentoonz_docs

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

Is there a way to achieve this? (Tile/Tile Iwa) #131

Open F-Burning opened 1 year ago

F-Burning commented 1 year ago

Ask a question related to OpenToonz

I have this drawing of 100x100 pixels, and it's rotating from it's center.

001

What I want is apply the Motion tile to the column to repeat the object along the screen, but each one rotating from it's center, and the result is this:

002

The rotation is applyed in all the canvas.

I tried applying the rotation to a peghole, and then attaching the peghole to the column, but it's the same. Another thing I tried was collapsing the column, but this is what happens:

a

RodneyBaker commented 1 year ago

I haven't tested this but... For many cyclic animations it is important to collapse the animation down into a subxsheet first and then apply the subxsheet column to the FX. This is a bit like a pre-comp in other software.

This is how I would for instance create a helicopters rotors... animate the spinning rotor as one whole motion... then collapse it down and add perspective or whatever.

You mention you tried collapsing the column. We likely need to know more about that. (It may be that your image is a rectangle but it needs to be square)

F-Burning commented 1 year ago

Hi @RodneyBaker, thank you for the help.

As I mentioned, I tried collapsing the column with the animation inside too. This is the file:

https://user-images.githubusercontent.com/74098734/209480456-a49b7e1f-3bc8-44b7-bf81-8aa9f6174cd4.mp4

F-Burning commented 1 year ago

Now I see the problem.

b

The object is moving up and down, and that means 2 things:

It's not a perfect circle (it should be) The pivot is not in the center (it should be)

I will continue trying

WolfInABowl commented 1 year ago

I believe the issue is due to the bounding boxes of the circles rotating

You can see that these two circles line up as expected when not rotated image

But as the circles are rotated, and their bounding boxes are rotated with them, they end up moving further apart image

This is because the distance from corner-to-corner is greater than the height or width. So the distance from the center of one circle to the next will increase when approaching 45º image

F-Burning commented 1 year ago

That make sense, thank you!

Hmm...tha's a problem

RodneyBaker commented 1 year ago

There is surely an easier way to do all of this but I just tested a hack using Tile FX which where I animated the distance of the margin to allow for the change in margin while rotating...

I just eyeballed it so there is still some undesireable offsetting.

animatedmargin

image

F-Burning commented 1 year ago

I made a test it in After Effects, and works fine.

untitled5

I think the problem is that Opentoonz don't repeat the drawing, so the canvas, but I'm not sure about this. In other words, After Effects simply repeat what "see" on the canvas, and don't take other information.

Thank you for take the time @RodneyBaker, it's an aproximation.

RodneyBaker commented 1 year ago

Transferring this to Opentoonz Docs as a known issue.