Blender Tips

These are some quick and dirty Blender instructions.

Manipulating Objects

You can translate, rotate and scale selected objects by typing G, R or S repsectively. The G stands for "grab". Right click or type escape to put the object back. Left click or type enter to accept the change.

There are a few modifiers worth mentioning. Once you have typed G, R, or S:

Examples

After selecting an object:

Duplicating Objects

After selecting the object you wish to duplicate:

Properties Editor

You will find the properties editor on the right of the default screen layout beneath the scene outline. Most of these buttons are really useful, so I've provided the image below with names of each.

Blender Properties

Multi-Colored Material

  1. Switch to mesh mode (TAB)
  2. Select some nodes (b for border select or right click for individual nodes)
  3. Create a new material for the object
  4. Hit the "Assign" button to assign the material to the selection.

Painting an Object

UV Unwrap the object

  1. At the top of blender there is a drop down menu to the left of the word "Default"
  2. Select "UV Editing" from the menu.
  3. Switch to mesh mode (TAB)
  4. From the mesh menu at the bottom of the right window select "UV Unwrap..." -> "Smart UV Project"
  5. Hit OK on the dialog that pops up.

Create the image texture

  1. On the left window, click the "New" button.
  2. Change the name of the image in the dialog that pops up.
  3. Use the scroll wheel to so you can see the whole image and projection.
  4. Type A to select all.
  5. Type S to scale the projection to fit in the image (the black square). You can also use G to move and R to rotate the projection.
  6. In the Image menu, select "Save As..." and give the image a name.
  7. Don't forget to save the image as you work on it.
  8. You can also export the UV pattern as an image by going to the UV's Menu and selecting "Export UV layout" and then work on it in a paint program.

Paint on the object

  1. On the right window where the selection box says "Edit Mode" and choose "Texture Paint".
  2. You can now use the paint tools to select colors and draw on the object.

Set the texture of the object

  1. Switch from "UV Editing" view to "Default" view at the top.
  2. In the right pane, select the material button and then click the "New" button.
  3. In the right pane, select the texture button (see image above) and then click the "New" button.
  4. Set "Type" to "Image or Movie"
  5. Click the "Open" button and select the image.
  6. Scroll down to the "Mapping" section.
  7. Set "Coordinates" to "UV"

Combine two objects

  1. Add two meshes in the scene.
  2. Select one.
  3. Click the Modifiers button in the panel on the right (it looks like a wrench).
  4. Click "Add Modifier"
  5. Select "Boolean"
  6. Choose the operator e.g. "Intersect"
  7. Select the other object in the drop down.
  8. Click "Apply"
  9. You can delete the second object by selecting it and typing X.

Setting up the OGRE exporter

You only have to do this once.
  1. From the File menu choose "User Preferences"
  2. Type "OGRE" in the search box.
  3. If the Ogre exporter shows up, check the box on the right to enable it.
  4. If there are no results, click the "Find in File..." button at the bottom. Find the file called "ogremeshexporter.py", on our workstations it has been installed in /usr/lib/blender/scripts. For your own computer it can be downloaded from MindCalamity's bitbucket site.

Export to OGRE

  1. Make sure you are in Object mode (TAB).
  2. Type A once or twice to select everything. This is important if you are going to use the entire scene. If you are only going to use one mesh, you only need to select it.
  3. In the File menu, choose "Export" and the choose "Ogre3D".

Editing by extrusion

  1. Start with a simple object like a cube, or even a circle.
  2. Type TAB to switch to mesh mode.
  3. Deselect all of the vertices by typing Shift-A.
  4. Select vertices around an individual face. There are a number of ways to do this:
  5. Type E to extrude the side. Note once you hit E the side is extruded if you don't move it anywhere it is still additional faces.
  6. Use G, S, R as usual to manipulate the new face.