How to Optimise Viewport Playback in Blender

Фильм және анимация

While animating your 3D character in Blender, it is very important to have real-time interactive feedback. At the same time it is equally important to be able to playback and preview the animation in real-time at a minimum of at least 24 fps.
In this video we look at the various things that can slow down playback speed and how to go about fixing them while still having a character model that provides enough visual feedback while animating.
CHAPTERS
-------------------------
00:00 Opening
00:51 Intro
01:03 Blender Versions
01:34 Hardware Bottleneck
02:01 Subdivisions
02:40 Hiding Objects
03:17 Active Modifiers
04:06 Proxy Objects
05:11 Viewport Colour
05:52 Outro

Пікірлер: 42

  • @JohnTitor-yh7gu
    @JohnTitor-yh7guАй бұрын

    That tip about frame dropping on the timeline was a game-changer for me. Iit keep displaying '11 fps,' but even so, now it's running smoothly at 1:1 second. I no longer have to wait 2 seconds in real-time to see just 1 second of animation in my viewport. Now, even at 11 fps, I can clearly observe the animation progress and the timing between objects and events. Thanks a bunch!

  • @antgib

    @antgib

    Ай бұрын

    You're welcome, good to hear it was helpful and on a side note, it's been very nice seeing this video get a good amount of views lately. It was a fair bit of work and I was pretty happy with how it all turned out, but the first few months on release was rather disappointing. Now, it's one of my top videos.

  • @apraxas
    @apraxas Жыл бұрын

    another tip. Hiding objects like that (clicking the eye or hitting h) doesn't stop blender from performing the calculations. In order to actually get the performance boost, you have to disable the objects from the viewport. Check the filter dropdown to enable that button

  • @antgib

    @antgib

    Жыл бұрын

    Yup, I did note in the video that hiding doesn't stop the calculations, and instead disabled selected modifiers to speed things up. But you are right, I missed the outliner filter for disable in viewport which would be a faster/better way to totally eliminate the object as a whole from having any impact. Which maybe the better option. Thanks for the feedback.

  • @robbie_

    @robbie_

    7 ай бұрын

    @@antgib Where is the "outliner filter" for disable in viewport?

  • @antgib

    @antgib

    7 ай бұрын

    @@robbie_ Assuming a fairly recent version of Blender, the disable option is hidden by default. To turn it on, click the little arrow on the Filter icon of the outliner panel, it looks like a small funnel in the line just above "Scene Collection". You will then see the words "Restriction Toggles' and a group of icons right below it. The icon that looks like a PC monitor is the viewport disable option. Once selected ever item in the outliner will now have that extra toggle option to disable it in the viewport, which will totally turn off all display and background processing for that object/collection, etc.

  • @robbie_

    @robbie_

    7 ай бұрын

    @@antgib Got it, thanks.

  • @HeavyLightAnimations

    @HeavyLightAnimations

    7 күн бұрын

    Thanks for this! you saved me losing my mind and thinking I needed to upgrade my CPU. was getting 1 FPS with my animation and thought the same as in the video, by hiding that it would stop the calculation. after doing what you said and actually disabling everything else I have went up to 26 FPS :D thanks very much

  • @LondonTessaAngelit
    @LondonTessaAngelit2 ай бұрын

    Very nice video. I have been all over and your video had probably the most info by far on this topic.

  • @etienneadam6181
    @etienneadam61814 ай бұрын

    The Simplify option made it out for me, thanks ! :)

  • @vladislavbondarenko7067
    @vladislavbondarenko70673 ай бұрын

    Damn, i can't even imagine how much just switching to newer version could boost up fps. Thank you for the advices

  • @antgib

    @antgib

    3 ай бұрын

    Yup, a new release can have a big impact. To be fair this usually doesn't happen with every new release, but sometimes the Devs do pull a significant performance improvement out of the hat. So if possible, it doesn't hurt to check out the latest stable release.

  • @vladislavbondarenko7067

    @vladislavbondarenko7067

    3 ай бұрын

    i was on 3.0 until yesterday and after switching to 4.0 it was a huge difference to me@@antgib

  • @monsterhunter3683
    @monsterhunter3683 Жыл бұрын

    You can also use frame dropping in the timeline's playback dropdown. It'll produce perceivably identical results to 30fps even if the viewport is only showing 12fps.

  • @antgib

    @antgib

    Жыл бұрын

    True, you can use frame dropping, which would likely be OK if one was looking at broad movement and checking sync to audio. However, I still think if you are trying to adjust and refine an animation where one is likely moving keys just one or two frames or changing the in and out curves for slow/faster motion, then the closer to real-time playback with all frames showing the better.

  • @bonecoseoutrascoisas-leiri1131
    @bonecoseoutrascoisas-leiri1131 Жыл бұрын

    Good! Thank you!

  • @rj_enoz
    @rj_enoz8 ай бұрын

    Thanks for the video, help me to be able to solve the problem~

  • @antgib

    @antgib

    8 ай бұрын

    That's great news, always nice to know the videos are useful.

  • @loudertv8676
    @loudertv86767 ай бұрын

    Thank you

  • @ForgetfulHatter
    @ForgetfulHatter6 күн бұрын

    ah. it was sub division lol. thank you. :)

  • @antgib

    @antgib

    5 күн бұрын

    Usually all it takes is one thing to have a big impact, nice to hear the video was useful, thanks for watching.

  • @eddieandersson5570
    @eddieandersson55707 ай бұрын

    I'm having massive issues with animating and getting a decent FPS on most Blender rigs. Rain, Vincent and many others are really sluggish. And I don't know how to setup proxies. I have never had issues with any Maya rig, there has always been ways to make them work. I find most Blender rigs don't come with options to make them as light as possible. Also I've learned that disabling object from the viewport is not enough, you have to not separate object into collections and then turn off the whole collection, but how do I do that when all the characters meshes are in one collection. I should add I know very little what happens or might happen to a rig if I just start moving parts around in the outline? So any info on this topic would be great.

  • @antgib

    @antgib

    7 ай бұрын

    It's always tricky trying to mess around with other peoples stuff, working out exactly how it is all put together. I just downloaded the Rain v2.4 rig to have a quick look and see how it performs. Most of the things that could slow it down, like subdivision modifier appear to be disabled in viewport by default. In general I found pose interaction to be fast and responsive and on doing a very quick/simple animation, I could get viewport playback speed at 50fps. On looking at the overall mesh for Rain, it's not really all that dense, any proxy version wouldn't be much different. I also wouldn't advise pulling things apart, while collections really only just group stuff together to make it easier for humans, you still never know what exactly maybe going on in the background. So something else must be going on. First make sure that for anything in the viewport, you are in fact disabling it (using the little monitor icon), be it a specific modifier or the whole object. Clicking the little eye icon in the outliner just hides objects, they are still being fully processed in the background and hence impact FPS. Only disable fully turns things off. My next question would be which Blender version, the last couple have improved performance in some areas by a large degree. My test was with using 3.6.5 and of course the latest version of Rain. Third is the matter of hardware. While I'm using a 3080Ti that isn't the limiting factor. The reason playback tops out at around 50fps is totally due to my CPU (5900X) where Blender hits the limit of it's single core performance. A slower CPU would of course drop FPS even more and without totally dismantling the character and trying to find ways to reduce processing requirements, which in the end may make little difference if one still wants basically the same character.

  • @eddieandersson5570

    @eddieandersson5570

    7 ай бұрын

    @@antgib Thanks for your answers. Well my setup is Blender 3.6, CPU i7 4790K, 32 Gb DDR running at roughly 799 Mhz, and a super old GPU Gfx 660Ti 2Gb and a PSU 750W to power it all. Does Blender use a lot of virtual space on the HDD? Asking b/c my drives are becoming rather full. Reading your answer I think the problem is my hardware and if so that's something I just don't have the cash to do anything about atm.

  • @antgib

    @antgib

    7 ай бұрын

    No OS likes running out of disk space, but other then say caching fluid simulations and the like, Blender is really no more a heavy usage then anything else. For the most part, RAM matters more and you have plenty of that. By HDD do you mean an actual normal spinning disk or is it in fact a SSD. While likely not to make much difference to animation playback, just a basic SSD makes a PC overall that much faster and smoother. Having said that, yes, the overall hardware is very much the issue. I mean the CPU is almost a decade old now and since AMD launched Ryzen, the performance overall took a bit of a sudden jump (once Intel caught up). So while the first 5 years of that's CPU's life left it in OK shape, the past few years have resulted in current CPU's that just blow it away. And frankly even that GPU is somewhat borderline, not just in performance but in being able to run Blender at all. So yeah, one could mess around with the file and try to make it faster, but as you say, the main problem is the hardware.

  • @eddieandersson5570

    @eddieandersson5570

    7 ай бұрын

    @@antgib Another thing I'm not comfortable yet in Blender is linking rigs I find most of the time the rigs don't even work as they do as I just load the rig file. Scripts might not load and even if they do the options in the N panel don't work with overridden files? Or whatever they are called. I want to be able to reference/link rig files to keep my saves smaller. surely we're not suppose to re-save the rig ever singel time we've made a new animation action. I figure there's got to be a way to just save the animation AKA action and not the whole rig all the time. During a days job I might have saved the rig file 10 times or more and that slowly eats up HDD/SSD space?

  • @antgib

    @antgib

    7 ай бұрын

    Where possible I try to link data in through the whole process. My recent 3D Character Animation Production shows a few cases where I'll link the data. Not just the character, but layout, animation, etc. There are of course times when I just have to append the file as I need to mess around with it more then what library overrides will allow. Having said that, yes, it is possible for scripts not to work or options when linked. This can be due to two things. First, it just wasn't built and tested with linking and library overrides in mind and hence doesn't actually work. Or second, depending on what the script options are trying to change, you may in fact need to apply a library override again, at a lower level. For example, just apply select and content to the whole collection is likely enough for animation in pose mode. But if you have a script option to say adjust the subdivision level of a modifier on the boots of a character, another library override may need to be applied directly on the actual mesh object within the collection.

  • @Bingus_916
    @Bingus_9165 ай бұрын

    2:26 does this affect the render results?

  • @antgib

    @antgib

    4 ай бұрын

    No, it will still render just the same, as the Simplify panel has two independent options for both the Viewport and Render. As long as you only reduce the Max Subdivisions to 0 for Viewport and leave the setting for the Render section at the default 6, then unless you have a Subdivision Modifier at a setting higher then 6 for Rendering (which is unlikely, as that would be a very high setting), then any render result will be the same.

  • @sodytvlive310
    @sodytvlive310Ай бұрын

    oops the wig

  • @Goofyalt
    @Goofyalt10 ай бұрын

    Dosent work for me

  • @antgib

    @antgib

    10 ай бұрын

    Hi. Which part isn't working, as the video covers a number of techniques to help speed up viewport animation playback and they all build on each other for a total improvement. Also, keep in mind that it can only take one object with some heavy processing requirement to slow everything down. That object may not even be visible in the viewport, but if its modifiers are still active for the viewport, then the processing is still happening in the background and hence slow playback, even tho you can't actually see it.

Келесі