Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
F-Burning opened this issue Dec 25, 2022 · 8 comments
Open

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

F-Burning opened this issue Dec 25, 2022 · 8 comments
Labels

Comments

@F-Burning
Copy link

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
Copy link
Collaborator

RodneyBaker commented Dec 25, 2022

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
Copy link
Author

Hi @RodneyBaker, thank you for the help.

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

untitled1.mp4

@F-Burning
Copy link
Author

F-Burning commented Dec 25, 2022

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
Copy link
Collaborator

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
Copy link
Author

That make sense, thank you!

Hmm...tha's a problem

@RodneyBaker
Copy link
Collaborator

RodneyBaker commented Dec 27, 2022

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
Copy link
Author

F-Burning commented Dec 27, 2022

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
Copy link
Collaborator

Transferring this to Opentoonz Docs as a known issue.

@RodneyBaker RodneyBaker transferred this issue from opentoonz/opentoonz Jan 1, 2023
@RodneyBaker RodneyBaker added FX and removed question labels Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants