Shearing

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Yosemite Sam
Posts: 501
Joined: Thu May 05, 2011 2:05 am
Location: Las Vegas, NV

Shearing

Post by Yosemite Sam »

Hey guys, I have a question. I understand that Moho works in a 3D environment, but is there a way to Rotate and Shear image layers without them being effected by camera movements? I know this can be done with points, but what about layers? I'm working on a big project with a team that primarily uses Flash and Toon Boom, and they are constantly ask me to use Shearing for layers (I'm guessing this can be done in those programs and not effected by camera moves), but is there any way to do this in Moho.

I have many image based props where this would be incredibly handy.

Thanks!
Jimmy Mills

Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
User avatar
synthsin75
Posts: 9935
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Shearing

Post by synthsin75 »

If you're not animating the image, you could set it, or it's group, immune to camera.

But more likely, you're animating them. You could export and reimport an image sequence of the shear/rotate animation. That would work if camera animation was done on a final pass, where it wouldn't mess up interactions with props. Another options would be to track the camera back far enough (and zoom in to compensate) that you don't notice the parallax of sheared/rotated layers.
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Shearing

Post by Víctor Paredes »

It requires an extra step, but you could use a mesh to distort the layers.
You can use this tool over the mesh:
viewtopic.php?f=12&t=22441
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
User avatar
synthsin75
Posts: 9935
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Shearing

Post by synthsin75 »

D'oh, smart mesh. Perfect, Victor.
User avatar
Yosemite Sam
Posts: 501
Joined: Thu May 05, 2011 2:05 am
Location: Las Vegas, NV

Re: Shearing

Post by Yosemite Sam »

Víctor Paredes wrote:It requires an extra step, but you could use a mesh to distort the layers.
You can use this tool over the mesh:
viewtopic.php?f=12&t=22441
Thanks for the link Victor!
Jimmy Mills

Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
User avatar
Yosemite Sam
Posts: 501
Joined: Thu May 05, 2011 2:05 am
Location: Las Vegas, NV

Re: Shearing

Post by Yosemite Sam »

synthsin75 wrote:D'oh, smart mesh. Perfect, Victor.

Yeah I was looking to avoid meshes because of time, but yeah that's def a solution. I will check out that script Victor linked!
Jimmy Mills

Some of my Moho Pro work.
My Demo Reel: https://youtu.be/_kSCno4Wd3c?si=gNT7d27R7sM4jjqq
Buddies Ep 4: https://youtu.be/f8Zbzo2mpHA?si=4EyxhBOrgOxkDoSO
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Shearing

Post by slowtiger »

Had that problem, solved it by first animating without camera movement, then re-imported the sheared layers again and continued.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Shearing

Post by Greenlaw »

I don't know if it helps in this case but sometimes I just mute the camera's motion.
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Shearing

Post by Víctor Paredes »

Oh, wait! there's a way I used some time ago.
Put your layers into a group and scale that group in Z to a very small value, like 0.001 (but not 0, because that can break the project). Now you can rotate the internal layers in 3D, but since the group is flat, they won't suffer any distortion when the camera moves.
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Shearing

Post by Greenlaw »

While we're at it, another trick is to set your view to Front View. The camera has no effect in any of the orthographic views and you will see the artwork completely 'flat on'. (In fact, you can see the camera as an independent item from this view and other 'non-camera' views in Moho.)

Naturally, this assumes you haven't rotated the layer in Z-space.

Another tip: you can set you project to have two views, one in camera view and one in Front (or any of the other views.) Sometimes it can be helpful to view the project from two or more angles simultaneously.

Hope this helps.
Post Reply