Tag Archives: Blender

Using Non-Linear Animation (NLA Features) in Blender 2.8

Many animation apps have an exciting feature that lets us re-use a group of keyframes in a more convenient way to build larger and more complex animations. They’re commonly referred to as non-linear editing. A popular example includes setting up an action as keyframes once, and then looping it using an NLA bock of sorts (like a walk cycle). Better yet, animations can be combined and transitioned without interruptions or ugly pops. We can even overlay several actions, such as a walk cycle, an eye blink and a waving hand gesture.

Blender has these features, and while difficult to grasp at first, they’re surprisingly simple to use once you grasp the concept:

  • setup an animation using regular keyframes, or import it from a service like Mixamo
  • turn this group into an Action Strip (that’s what Blender calls an NLA block)
  • add this Action Strip onto an NLA track, repeat it or combine it with other strips
  • add transitions in between blocks to seamless motion
  • add tracks to combine animations

Here’s how it works for me. This might not be 100% accurate, but it’s good enough to build seriously cool animations with ease. I’m using Blender 2.82 for this example, and I’m expanding on principles I’ve briefly touched on in my previous article about looping walk animations.

Continue reading Using Non-Linear Animation (NLA Features) in Blender 2.8

Switching between Cameras in Animations with Blender 2.8

If you have multiple cameras in your scene, chances are that you may want to cut to another one during the course of an animation. I’ve often wondered how to do that, but only finding outdated material on the internet, I decided to poke around myself. Half an hour later I had it sussed out – here’s how it works.

I have three cameras in my scene, named Cam 1, Cam 2 and Cam 3. Shorter names are preferred, as Blender will show these names at the bottom of the timeline. All we have to do now is to

  • select the camera we want to switch to
  • position our playhead in the timeline
  • and the hit CTRL + B at the bottom of our timeline.

This will create markers like these:

The trick is to find the spot at which to click. It’s not very intuitive as of Blender 2.82, but essentially the space marked dark grey in the screenshot above is where you need to hover your mouse while pressing CTRL + B. This will create a marker. When you now scrub through the timeline, you’ll see the cameras switch to your choice at the marks you’ve set.

To delete a Camera Marker, select it then press X as usual.

More about Markers

What we’ve setup here are special Camera Markers. Notice the little camera icon next to them. We can create regular markers too, just by hovering anywhere in the timeline and pressing M. Those do not have a camera icon, and we can rename them as we see fit (by selecting them, then hitting CTRL + M). The latter command also works on Camera Markers, but they cannot be renamed.

Regular Markers come in handy for notes and other special places we need to remember.

There’s a special Marker menu in the timeline, from which we can do all kinds of other things to those little gadgets, including jumping and duplicating. This works with both regular and Camera Markers. Sadly there’s no default shortcuts for marker navigation as far as I know.

Final Thoughts

I had always assumed that switching cameras in Blender was a bit of a nightmare, especially if you do a lot of cuts. While that may have been the truth in 2.79 and below, the current implementation couldn’t be easier to use. It’ll open up the door to easy multi-camera animations, as well as static scenes that need to be rendered from various angles.

If you think that setting a Camera Marker should be possible by hovering anywhere in the timeline, rather than only at the un-intuitive bottom 10%, you’re not the only one: it’s a known issue, and the folks are working on it. As of 2.82 this feature is not implemented.

How to render with the current Viewport Shading in Blender

Although I like Eevee, sometimes I’d like something even faster for animatic previews. Eevee still requires lights to be setup, whereas with the regular “material preview” setting in the viewport, we can see things just fine before we bring in our lights. It would be nice if there is a way to use the same shading style for real renders, be that for a quick still image, or a whole animation.

Thankfully there is! Let me show you how to use it.

Rather than picking a render engine as usual in the Rendering Properties tab on the right, head over to the top of your regular 3D Viewport and select View – Viewport Render Image.

This will render an image with image size specified in Render Properties, but it’ll use whatever is currently selected as a shading mode in your viewport. It’s genius really, albeit perhaps not very intuitive (like the rest of Blender).

The same principle can be used for animations, and keyframes of an animation (i.e. you’ll get a single frame at each camera keyframe). It’ll take a fraction of the render time, and more importantly, you’ll get to see how something works before you’ve setup any lights.

Note that all overlays will be present. It’s exactly like what you see in the viewport right now, just at a higher (or lower) resolution. To disable those, use the little dual-circle icon at the top right of your viewport (it says “Show Overlays” when you hover over it).

Rendering with Transparency in Blender

I’ve encountered a small puzzle recently in regards to rendering the alpha channel of PNG images with transparency. I didn’t quite understand the complex setups I’ve read about, nor could I reproduce the results. Thanks to some hive-mind thinking, we could figure it out on my Discord Server.

Here’s how to do it, both for Eevee and Cycles.

Continue reading Rendering with Transparency in Blender

How to loop Walk Animations with Blender’s NLA Editor

In my previous article I’ve explained how to import Synty characters into Blender, and how to apply animations from Mixamo. Now that we have an animation in there, we may want to play it more than once. In a walk cycle, we’d have to play the walk loop multiple times to create the illusion of walking. I’ll cover how to do that in this article before I forget again.

PS: These are just notes, not exactly a tutorial. I’ve only just discovered the basics of the NLA Editor, so if I’m mis-describing anything and you know better, or something isn’t working, please leave a comment so I can correct this article.

Here’s what we’ll do:

  • if necessary, remove the forward motion from the current animation
  • turn the keyframe animation into an Action Strip (that’s an NLA Block)
  • add the Action Strip to an NLA Track (that’s a special timeline)
  • modify the Action Strip to repeat
  • apply forward motion with two keyframes

The concept of the NLA Editor is similar to aniBlocks in DAZ Studio, or the NLA blocks in Carrara. We start with regular keyframes, turn them into a block (or Action Strip as Blender calls them), and then we mix and match them on a special timeline called the NLA Editor. If you’re curious, NLA stands for Non Linear Animation. Action strips can be mixed and matched to blend in, so there’s no popping when one animation ends and one begins.

The NLA Editor can be used in conjunction with regular keyframes. For walk cycles, it is common to exclude the forward motion from the Action Strip and instead replace it with a linear motion. If the forward motion is included in the Action Strip, the character would reset to the beginning rather than continuously move forward. Hence I’ll use a combination of the two.

Continue reading How to loop Walk Animations with Blender’s NLA Editor

Using Synty Characters with Mixamo and Blender

I’ve just worked out how to import Synty characters into Blender via Mixamo. It’s a somewhat complex process with a few pitfalls, and while it’s all fresh in my mind, I thought I’d best write it down somewhere. The workflow is similar for both the SimplePeople and the Polygon City characters, and I would imagine other Synty characters will probably work with these instructions just as well.

Note that I’m only using Blender and Mixamo, no other plugins or game engines. I’ll also explain how to add textures while we’re in the process, because that’s not exactly intuitive. Here’s the step-by-step outline:

  • import Synty character into Blender (as FBX)
  • correct pose and apply texture
  • export as FBX (see settings below)
  • import into Mixamo
  • apply desired animation and export (as FBX)
  • import into Blender and see the animation
Continue reading Using Synty Characters with Mixamo and Blender

How to D-NOISE an image sequence in Blender

I had an image sequence rendered on one of my nodes, and sadly my D-NOISE add-on did not kick in as expected. This was entirely my fault, and I thought I could perhaps just denoise the sequence rather than re-render it. Turns out it works, even though it does not match the results of a regular denoised render.

Be that as it may, let me show you how to use Blender’s mysterious Compositor to denoise a sequence of images automatically.

Continue reading How to D-NOISE an image sequence in Blender

How to make wheels turn in Blender 2.8

I’ve recently built a little animation during a live stream, and Rod’s suggestion was to add NASA’s Curiosity Rover into the scene. It’s a freely available blend file, and I thought it was a great idea. It added a lovely character to the otherwise deserted alien landscape, and I quickly animated it into position.

Trouble was, the little guy was essentially an afterthought, and when I was watching the animation back, it became obvious that its wheels needed to be turning as it was driving around. While I was keen to do this, I had no idea what mechanism I should use for such an Endeavor (har har), or what Blender had to offer in this regard.

My first thought was to simply animate the wheels with keyframes, but this would be a lot of work, and if the rover’s speed were to change I’d have to probably animate those wheels again. There being six and all, I discovered a better way to make the wheels turn, using something called a Driver.

Continue reading How to make wheels turn in Blender 2.8

How to replicate an object along another mesh in Blender

A while ago I wrote an article about how to grow grass on a place in Blender 2.79 using the Particle Emitter system. This process has changed since Blender 2.80, and since it was never intuitive to begin with, we’re all a little confused as to how it works in the new version. While I still remember, let me jot down a note for everyone’s benefit.

Continue reading How to replicate an object along another mesh in Blender

How to replace an object with another mesh in Blender

I’ve been wondering if there was a way to replace dummy objects I’ve placed in Blender with other meshes. Say we do a particle simulation, and during rehearsal it’s all about speed – but for the real render, we need higher resolution meshes that might take a while to render in the viewport.

Thankfully it’s super easy to do this in Blender, here’s how. Let’s replace the default cube with Suzanne.

  • select the object you’d like to replace
  • head over to the Object Data Properties (green triangle icon)
  • at the top of the tab, left of the name of your object, click the drop down and choose browse mesh data to be linked

This brings up a list of items in your scene. Pick the one you would like to use as a replacement – and that’s it.

Note that this will only link the geometry and materials, it will not take across any modifiers.

Thanks to Christina for this tip 🙂