How to draw freehand curves in Blender

Since 2.78 Blender has had the amazing capability to draw freehand curves. Here’s how you do it:

-Add a curve object (shift+ A –> curve –> bezier)
-Take it to edit mode and delete the default curve there
-Go to the “create” tab (in the left hand toolbar) and click “draw”
-You can now use your mouse to draw amazing freehand curves

Restore a WordPress site with just the Mysql-database file

Here’s how to restore a WordPress site to a new WordPress installation, perhaps at another web host:

1. Create a database, a database user and assign the user to the database. If this is too much trouble, you can use a one click installer as long as you then delete the WordPress installation files (keep a copy of the wp_config-file though) via FTP and drop all the tables from the database (doing this will give you the basic database setup).

2. Download WordPress, unzip and upload the files to the server

3. Go to your web-address and run the installation

4. OPTIONAL: If you have a backup of your old theme, upload the theme folder into the wp-content –> themes -folder and upload the “uploads” folder inside “wp-content” as well.

5. You site should now be up and running!

Activate camera fly mode in Unity

Here’s how to easily fly around your scene by using the standard wasd-keys and your mouse (like in a game):

1. Hold down the right mouse button
2. Press one of the wasd keys to move and move your mouse to turn

Importing alpha-mapped planes from Blender to Unity

This tutorial shows you how you can bring alpha mapped planes into Unity while keeping the transparency intact:

1. Import the 3d-model as an asset
2. Import the texture as an asset and toggle the “Alpha is transparency” checkbox on. Apply.
3. Drag the 3d-model to your scene
4. Drag and drop the texture on top of the 3d-model
5. Select the object and open it’s shader in the inspector. Change the rendering mode from “opaque” to “fade” or “transparent”

Rendering via the VSE

Using the VSE editor to render out multiple sequences can be helpful. You can easily queue up different sequences for a single render and you can do nice effects like time remapping as well. But it’s usually recommended to use a separate scene for all the VSE stuff so that you don’t run into weird problems. The question becomes, how do you control the render settings: is it from the linked scene render settings or from the VSE scene render settings? Here’s a quick rundown:

-The resolution of both scenes will affect the outcome: if your animation scene has a resolution of say 10 x 10 and you VSE scene has a resolution of 1920 x 1080, then the image will be stretched from 10 x 10 to 1920 x 1080 and the result will be incredibly blurry. If you do it the other way around so that the animation scene has a big resolution and the VSE sequence has a smaller resolution, then you are wasting render time because Blender will render the larger number and the scale it down for the VSE.

-The sampling and light path settings will be taken from the animation scene (not the VSE scene)

-The file output location will be taken from the VSE scene

-Motion blur will (thankfully) be taken from the animation scene (the motion blur setting in the VSE scene won’t affect anything)

Strategies for multi-scene workflows

I have been trying to find a workflow for animating in Blender that makes it possible to keep tweaking the model after the animation process has already started. An ideal solution would allow the user to link the same object into multiple scenes and animate them separately in each one of those scenes, without messing up any other scenes. Editing the mesh in one scene should automatically ripple into all scenes. This, however, is unfortunately not easily achieved in Blender. Here are some approaches that I have tried and their pros and cons:

Option 1: Separate file for the model and the use of proxies

This first option goes basically like this:

-Create your model and armature in a separate .blend file, say a file called “Character”
-Select all parts of your model and the armature and group them together (ctrl+G)
-Create a new .blend file called something like “Animation”
-Use the file –> link option to link the group from the “Character” file to this “Animation” file
-In order to actually select or animate the armature, go to object –> make proxy and choose the armature from the list
-Now you can animate the armature

Pros:
+ Changes to the “Character” .blend file will automatically reflect to all other .blend files linking to it

Cons:
– Sometimes laggy
– Changing things like shape keys need complicated driver setups (shape keys need to be driven by the armature)
– You can’t make any changes to the mesh without making it also a proxy and making the mesh object a proxy will lose all the modifiers it might have had

Option 2: Sharing armature and mesh data between scenes

This option works in the following way:

-Create your object and rig in Scene 1
-Animate your rig in Scene 1
-Create a new Scene (Scene 2) using the “link objects” option
-In Scene 2, create a new armature (call it Scene 2 Armature) and then link the original armature to it in the “object data” settings (the very first option there “armature data” allows you to link to other armatures). You have now the same exact armature, but without the animation
-In Scene 2, create a new mesh object and in the “object data” tab link the original mesh from Scene 1 to it
-Select the new object, then shift select the original object and transfer the vertex groups by clicking on the little black triangle in the vertex group settings and choose “copy vertex groups to linked”.
-Add the armature modifier to the new mesh object and point it to the Scene 2 Armature -object
-You have now the exact same setup from scene 1, but without the animations

Pros:
+ Changes to the armature or mesh in Scene 1 will automatically update to all other scenes

Cons:
– Takes some time to setup every time you create a new scene
– Shape keys won’t work independently: animating a shape key in Scene 1 will create the same shape animation in all scenes. In my opinion this renders the workflow useless.

Option 3: Make full copies out of the scenes but manually link the mesh data when you update the mesh

This option works like this:

-Create your mesh and rig in Scene 1. Name your mesh object something like “Character Master”
-Animate it in Scene 1
-Create Scene 2 and use the “full copy” option
-This will give you all the same objects and positions and animations from Scene 1 but you can now manually edit them and the changes won’t reflect back to other scenes
-When you update your character design in Scene 1, you do the following procedure in all the other scenes:
*Select the object that needs to be updated
*Go to the “object data” tab and link it to the original mesh (Character Master), this will update the mesh.
*Severe the link immediately by clicking on the little number next to the name filed (in order to make a single user copy). This will make sure that animating things like shape keys in Scene 1 won’t show up in Scene 2.

Pros:
-You have full control over everything: shape keys, the armature, modifiers etc
-There is no danger of messing up things in other scenes
-Fast to setup

Cons:
-You need to manually update your meshes in all scenes when you make changes to the master mesh in one scene
-If your mesh in Scene 2 had shape key animations, you lose them in the update. You can remedy it a little bit by copying the shape key keyframes in the dope sheet and pasting them back to the updated object. Note that you need to first hit the i-key once over the shape key slider to get the appropriate animation channels (otherwise you will get an error when trying to paste).

Corrective shape keys for meshes transformed by armatures

Sometimes it might be handy to use shape keys in order to smooth out problematic bone driven distortions in a mesh.

The trouble is that when you try to edit a shape key, the mesh will jump into edit mode without the armature distortion taken into account.

The solution is really simple: select the mesh, go to it’s modifiers tab and activate the “display modifier in edit mode” for the armature modifier! Now you can see the deformed mesh in edit mode which makes creating corrective shape keys much easier!