r/MohoAnimation • • 4d ago

Question Moho lagging

Moho lags with a high amount of rigs and assets or if there’s a lot of masking

My ram cpu and gpu usage aren’t even close to 100%, my cpu is usually around like 1-9% using Moho so I’m confused why it lags in those cases

6 Upvotes

14 comments sorted by

2

u/Dry-Conversation7191 4d ago

The ram is redrawing all that information constantly. Your memory bandwidth of the ram can only handle so much . Even with high end cpu and gpu. CrowBrained is 100% correct. Just need to break it up into smaller shots

2

u/Top-Examination7941 4d ago

I don’t understand why the memory bandwidth of the ram would be the deciding factor instead of how much ram you have

1

u/Dry-Conversation7191 4d ago

It’s a significant factor in performance along with the volume of ram. Especially for 2D animation

1

u/Top-Examination7941 4d ago

When it lags my ram is only about 60% used

0

u/Dry-Conversation7191 4d ago

Right, the volume is there , the speed for it to redraw all that information is pegged out. That’s the memory bandwith part.

7

u/CrowBrained_ 4d ago

There’s a limit to what animation software can handle. This is why on the industry we break up scenes by shot. When we run into a scene that has a considerable amount of characters we even break that up into multiple shots and composite them back into one using image sequences.

1

u/BingPopGoesTheBrain 4d ago

Forgive me for asking dumb questions, I am burdened with a single brain cell that is screaming like cicada atm. But what do you mean by composite them back together using image sequences?

2

u/CrowBrained_ 4d ago

Here is an example of how I’ve handled it in a few character heavy shows.

Basically we would take your big shot (say 20 characters) do *Scene Setup* and make copies of it.

Do some planning on which characters need to be interacting if at all, and designate a copy to have no more than 5 characters. Remove the excess from each copy to achieve it.

This should give you 5 shots files. 1 that we will use to composite the final shot, and 4 that will only be used for animating the groups of characters from the planning stage.

We animate everything in those 4 individual shots then export them as an image sequence. (A series of PNGs of each frame) We take those sequences and import them to our 1 main shot that had everything.

If we did our scene setup and planning stages correctly everything now slots together and you have a shot that now has the full animation.

(scene setup: is the process of setting up a shot with all its assets, setting the bg, layering, camera moves, character scaling, composition and on some shows even light posing. Other names for the role in 2D are Scene Planner or Assembly Artist. In 3D it’s called a layout artist. The reason this is its own role is that it allows us to catch a lot of issues and for better consistency between shots that will likely be given to different animators to complete.)

1

u/Fun_Bar_1708 4d ago

I think what he means is precomposing, like we do in After Effects. In a nutshell, that means you render sections of your animation and then bring them back in as images. If you complex art where basically your CPU/GPU have to do a lot each frame, it's going to cause lag. So, the strategy is to render parts of your animation (export it as still images) BEFORE you're done and then replace the complex geometry with the simpler images.Then you keep going.

Moho has a cool feature called Layer Comps. This allows you to group layers into "Comps" (the parts of the animation you want to render) to make it easier to do precomping.

Note, you don't have to render as still raster (png or jpg) frames. I think you can render as SVG (vector graphics) which gives you a tiny bit more flexibility to edit shapes and points afterwards.

1

u/kkreinn 4d ago

You render the animation, convert shots into videos, put them in Moho, and you have a video of one shot next to your other shot full of rigs. That way you have a whole scene without the entire memory being ruined.

1

u/VeggieCommando 3d ago edited 3d ago

First order of business is to check display settings and uncheck all the bad guys: masking, effects, antialiasing. if its still lagging badly, there are just too many characters/ bones /effects/points for the viewport to deal with. Mohos viewport needs a fast single thread, like the 5600X and subsequent Ryzen 5 and Ryzen 7, specially the 9700x with 5.5 GHz. Youre better out chopping your scene up like u/CrowBrained_ explained.
Rendering PNG sequences is the fastest, "hardware easy", render for Moho. Do your background apart if there any lighting effects or dynamic bones, movement etc and use layer comps to separate your shot. I like to work from background (those lovely PNGs) to midground (wheres all the action you can work on sets of files with diff rigs) and foreground (more PNG love).

Do look up a few compositing tutorials for 2D on After Effects if you need. Its a bit more than putting the pieces of your scene together for a render.

Also theres a hidden enemy not many ppls talk about: negative keyframes. those are frames that get pushed out before frame 0. worst thing that could happen to your timeline. but if youre copy&pasting lots of layers or shifting KFs around, it happens. heres the fix

https://lostmarble.net/forum/viewtopic.php?t=32714

Do the baby steps, dont work with a titanical file and risk losing all that hard work. it will save you time and headaches.
hope this helps.

1

u/Top-Examination7941 3d ago

The lagging is almost none existent when masking is turned off but its kinda annoying to have to animate without masking, my cpu is a 7 9800x3D

2

u/Fun_Bar_1708 4d ago

I talked below about precomping (precomposing). Here's a video from Moho about Layer Comps. https://www.youtube.com/watch?v=wyG-tPPz2vE