Book Image

Blender 3D Cookbook

By : Enrico Valenza
Book Image

Blender 3D Cookbook

By: Enrico Valenza

Overview of this book

Table of Contents (21 chapters)
Blender 3D Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting templates with the Image Empties method


In this recipe, we'll set the character's templates by using Image Empties.

Getting ready

For this and the following recipes, there is no need for any particular preparations. Anyway, it is handy to prepare the two Empties to have markers in the 3D view for the 2.5 meters height of the character; so we'll do the following:

  1. Start a brand new Blender session and delete the already selected Cube primitive.

  2. Select the Lamp and Camera and move them on a different layer; I usually have them on the sixth layer, in order to keep free and empty both the first and second rows of the left layer's block.

  3. Add an Empty to the scene (Shift + A | Empty | Plain Axes).

  4. Duplicate it and move it 2.5 units up on the z axis (Shift + D | Z | 2.5 | Enter).

  5. Go to the Outliner and click on the arrows on the side of the names of the two Empties (Empty and Empty.001), in order to make them gray and the Empties not selectable.

  6. Save the file as Gidiosaurus_base_mesh.blend.

How to do it…

So, now we are going to place the first Image Empty in the scene:

  1. Add an Empty to the scene (Shift + A | Empty | Image; it's the last item in the list).

  2. Go to the Object Data window in the main Properties panel on the right-hand side of the Blender UI; under the Empty subpanel, click on the Open button.

  3. Browse to the templates folder and load the gidiosaurus_front.png image.

    The Add pop-up menu and the Image Empty added to the 3D scene, with the settings to load and set the image

  4. Set the Offset X value to -0.50 and Offset Y to -0.05. Set the Size value to 2.830:

    The Offset and Size settings

  5. Rotate the Empty 90 degrees on the x axis (R | X | 90 | Enter).

  6. Go to the Outliner and rename it Empty_gidiosaurus_front.

  7. Duplicate it (Shift + D), rotate it 90 degrees on the z axis, and in the Outliner, rename it as Empty_gidiosaurus_side.

  8. In the Empty subpanel under the Object Data window, click on the little icon (showing 3 users for that data block) on the right-hand side of the image name under Display, in order to make it a single user. Then, click on the little folder icon on the right-hand side of the image path to go inside the templates folder again, and load the gidiosaurus_side.png image.

  9. Reselect Empty_gidiosaurus_front and press Shift + D to duplicate it.

  10. Go to the Empty subpanel under the Object Data window, click on the little icon (showing 3 users for that datablock) on the right-hand side of the image name under Display, in order to make it a single user. Then, click on the little folder icon on the right-hand side of the image path to go inside the templates folder again, and this time load the gidiosaurus_back.png image.

  11. Go to the Outliner and rename it Empty_gidiosaurus_back.

How it works…

We have used one of the most underrated (well, in my opinion) tools in Blender: Empties, which can show images! Compared to the Images as Planes add-on, this has some advantages: these are not 3D geometry and the images are also visible in the 3D view without the Textured Solid option enabled (under Shading) and in Wireframe mode.

The Image Empties appear as textured also in Wireframe viewport shading mode

Exactly, as for the imported Planes of the former recipe, the visibility in the 3D view of the Image Empties can be toggled on and off by clicking on the eye icon in the Outliner.