First of all, of course you need to have your 2D drawing that you are going to animate. And you need to have all the elements that move individually as seperate images, saved as .PNG files with transparency. Be sure to name the .PNG files clearly.
To save the PNG's from Photoshop with transparency, I have all the elements for the character as seperate layers in Photoshop, and simply turn off the other layers, then save as .PNG. This will save it with transparency around the painted part. Do this for all the layers.
Exporting the layers as PNG files from Photoshop |
Next, you import them in Blender. Create a new project, remove the standard cube, light and camera by selecting them (right-click) and deleting them (Del or "X" key).
If Blender is not responding correctly to these commands, make sure "emulate 3-button mouse" is turned on in the Preferences, as well as "Select with Right".
Correct mouse settings in Blender |
Import Images as Planes add-on |
Settings to import images on planes with transparency |
Make sure your viewport shows textures! |
Freshly imported images on planes with transparency |
The planes are all exactly on the same place in the Y-axis, we need to give them a small amount of space in between each other, otherwise it will "flicker" a bit when rendering. Place the objects on the Y-axis in a logical way, so the right objects are in front of the others.
Sideview of the planes |
Setting the pivot point of the legs |
Parenting everything to an Empty |
When you've finished this, you've done the hard part! Now you can select individual parts and see how they move, with the R (rotate) and G (move) keyboard shortcuts.
Now you can start animating. It might be easiest depending on what kind of character you've set up, to do the big movements first (for example, moving from left to right) by grabbing the Empty and moving everything at once with this. You can then go back and animate the legs and arms. Animating is easy now: just move the parts in the position you want, and press "i" to make a keyframe. Choose "LocRotScale" from the keyframe menu. Move to another position in time on the timeline (bottom part of your viewport), create a new pose and press "i" (LocRotScale) again. And so on! Check your animation by playing it back with the play buttons below the timeline or just press ALT+A to play and pause.
Adding a keyframe by pressing "i" and selecting "LocRotScale". |
If you want to record this incredible masterpiece, just add a camera with SHIFT+A (choose "Camera", obviously). Do this in the front orthographic view so it already points the right way. Move the camera back in a perspective view or a side view. Set up another window as the camera view so you know what it's seeing. To do this, just click and drag left on the little triangle corner in the top right of the view. This will open another view. Press "0" (zero) to change this to the Camera view.
You might need to make the "lens" of the camera longer to emulate an orthographic view. Do this by selecting the camera, and go to it's data tab (has a little camera icon) in the properties on the right side of the screen. Change the focal length: the default is 35mm, something like 100mm to 200mm will probably work better, depending on your scene. Check the camera viewport until it looks good.
Making the lens "longer" to flatten the Camera image (click to enlarge). |
Watch the final animation here:
Let me know if you have any questions, if anything is unclear! Hope you enjoyed this written tutorial.
Possible trouble:
- An object renders completely black: Make sure "Shadeless" is turned on in the object's material settings.
- The transparency doesn't look the way it did in the 2D software (like Photoshop): Try changing the transparency in the object's material settings from "Premultiplied" to "Straight".
- There's no transparency in the viewport: Make sure you are in "Blender Render". If that doesn't work, try "Blender Game". If that does nothing, check your Image Plane import settings, you need to turn on "Shadeless", "Premultiplied", "Use Alpha" and "Z-transparency".
Useful keyboard shortcuts:
Set pivot to 3D cursor: SHIFT+ALT+CTRL+C (do you have enough fingers?)
Create something new: SHIFT+A (then select what you need)
Parent an object to another object: CTRL+P (select one, then SHIFT+select the other then hit CTRL+P)
Remove parent: ALT+P
Set a keyframe: I (i)
Select: right-click
Delete; X
Move: G
Scale: S
Front view: 1
Camera view: 0
Toggle orthographic / perspective view: 5
Play/pause timeline: ALT+A
You can follow R&C on Facebook, follow me on Twitter, or hang out on our R&C Forum!
Download Blender here.
Very useful tutorial. Lots of good info here!
ReplyDeleteHappy that you like it.
DeleteEcxelent!! nice tutorial, thanks!
ReplyDelete