= Getting Started With Blender = In this tutorial you will learn the basics of working with the 3d-modeling program Blender within one hour. Using Blender can be very confusing, especially if you have never worked with 3d-modeling software before. But don't be discouraged, once you have learned the peculiar function of the mouse in Blender and remember the most important hotkeys, you will be able to create complex scenes and objects in no time. At the end of this tutorial you will have created a simple model of a house. One more thing before you start: if you are stuck, do not hesitate to ask for help. If no help is around, write an email, use Google or check the Blender manual online for quick reference. == The User Interface == After starting Blender, you will see two large docked windows and the main menu bar at the top of the screen. The larger window is the 3D-View. Here you will see the models you create. Below there is the Buttons Window, where you can adjust properties, create different materials or render the scene. For now, some basics about using the two docked windows will be enough: ||Left-click the border between two windows to adjust the size of them. Every window has a header containing some content-related controls. By right-clicking into the header, you can select its position in a small menu. You can also hide the header, but this is not recommended for the beginner.||[[Image(button1.png, right)]]|| ||With the small drop-down menu at the very left in a window's header, you can change the type of the window. Right now, you have 3D-View and a Buttons window; this is the combination you will use most of the time. Anyway, try to play with the view menus and adjust your windows the way you want them. You may also use more than one window of a kind.||[[Image(button2.png, right)]]|| ||You can also split a window to create a new window or you can join two windows to reduce the number of windows. To do this, click the border of a window with the middle mouse button. In the appearing menu, you can select whether you want to Join or Split windows.||[[Image(split.png, right)]]|| == 3D-View == We will now concentrate on the 3D-View, the large window showing your scene and your models. The Blender 3d-world has three cartesian coordinate axes: the x-axis (red), the y-axis (green) and the z-axis (blue). In the lower left corner of the 3D-View, you see the current orientation of the three axes. Using the number pad of your keyboard, you can adjust the view. Hit 2/4/6/8 to rotate the view in a predefined direction. Hitting 7 jumps to top view, 1 to side view and 3 is for the front view. 5 toggles between perspective view and orthonormal view. 0 on the number pad switches to camera view. Here, you will see three rectangles marking the cameras view. You will not be able to rotate in camera view, since our camera is still a static object, so you better switch back to normal with 7/1/3. With +/-, you can zoom in or out. You can undo all changes to your objects by pressing Ctrl + Z. ||'''Selection'''[[BR]]Use the right mouse button to select an object in 3D-View, for example the cube, which has been there from the beginning. It will be marked with a pink border. Initially it might be confusing to select an object with the right mouse button. Practice it a few times and hopefully you will soon get used to it. This is a frequent point of criticism against the Blender GUI.||[[Image(select.png, right)]]|| ||'''3D-Cursor'''[[BR]]Left-clicking in empty space sets the 3D-Cursor coordinates. The 3D-Cursor is used for many things, for example to place new objects.[[BR]][[BR]]Remember that you can only specify two coordinates, so you might have to repeat this from another point of view.||[[Image(cursor.png, right)]]|| ||'''Adding Objects'''[[BR]]To add a new object, set the 3D-Cursor to a point of your choice and hit the space bar. In the appearing menu, select Add -> Mesh -> ... to ad a new geometric object to your scene. It will be created at the position of the 3D-Cursor.[[BR]][[BR]]Blender will probably switch into Edit mode automatically, but we don't want that for now, so hit TAB to exit Edit mode. We will discuss Edit mode later.[[BR]][[BR]]'''Note:''' You can delete a selected Object by pressing X.||[[Image(add.png, right)]]|| == Translation, Rotation and Scaling of Objects == ||'''Moving Objects'''[[BR]]To move an object, select it and hit G (grab). You can now move the object freely with your mouse. If you hit G and X, Y or Z afterwards, moving the object will be limited to this specific axis. Hitting G and Shift + X/Y/Z afterwards will lock the specified axis, so your object will move only parallel to the other two axes.[[BR]][[BR]]Left-Clicking on the red triangle in the header of the 3D-View makes the three grab controls appear in the object center (colored arrows). You can also use these controls to move an object directly, by dragging these arrows with the mouse.[[BR]][[BR]]'''Gesture:''' Alternatively pressing the left mouse button and drawing a straight line away or towards the object is the same as pressing G.||[[Image(grab.png, right)]]|| ||'''Rotating Objects'''[[BR]]It is just as easy to rotate an object. First, you can select an object and hit R (rotate). You may also hit R and X/Y/Z afterwards to rotate only along the specified axis.[[BR]][[BR]]Second, you can also click the small green circle in the header. The rotate controls (colored rings) will appear. Use the mouse on them to rotate along one axis.[[BR]][[BR]]'''Gesture:''' Alternatively pressing the left mouse button and drawing a line along the object is the same as pressing R.||[[Image(rotate.png, right)]]|| ||'''Scaling Objects'''[[BR]]To scale an object, select it and hit S (scale). Now you can scale it freely in all dimensions. To scale only in one dimension, hit S and X/Y/Z afterwards. To scale in two dimensions, hit S followed by Shift + X/Y/Z .[[BR]][[BR]]Alternatively, click the blue square in the header to bring up the scaling controls (colored arrows with square heads). Drag them with your mouse to scale in a specific dimension.[[BR]][[BR]]'''Gesture:''' Alternatively pressing the left mouse button and drawing a straight line away and then towards the object is the same as pressing S.||[[Image(scale.png, right)]]|| ||'''Numerical Input'''[[BR]]Sometimes, it may be convenient to modify an object in discrete steps. You can hold Ctrl while doing any of the above transformations to alter the model in discrete steps. While transforming, three numbers in the header of the 3D-View indicate current translation length, rotation angle or scaling factor, according to which transformation you are doing.[[BR]][[BR]]Furthermore, it might be useful to enter numerical values or to check how big your object is. Press N to bring up a small window labeled "Transformation Properties". The displayed numbers indicate location, rotation and size of the selected Object.||[[Image(transform.PNG, right)]]|| == Edit Mode == You now know how to transform objects in the so called Object Mode. The same transformations will also be used when we modify parts of an object. For example, we might move only one corner of an object. Select an Object and hit TAB to switch from Object mode to Edit mode. You can do this to toggle between Object and Edit mode at (almost) all times. ||'''Vertices, Edges, Faces'''[[BR]]When you enter Edit mode, your object will look different. Hit A to deselect all, if portions of your object appear to be selected (yellow). You can now see, that a model consists of[[BR]][[BR]]''vertices'' (the corners of an object marked with pink dots),[[BR]]''edges'' (black lines)[[BR]]and ''faces'' (blue areas).[[BR]][[BR]]You can select vertices by right-clicking them. They will turn yellow. Hold Shift to select multiple vertices. Selected edges will turn yellow also. To select a face, select the vertices on its border. It will turn pink. By hitting A, you can deselect all or select all.||[[Image(editmode.PNG, right)]]|| ||'''Changing the Selection Mode'''[[BR]]Pressing Ctrl + TAB in Edit mode brings up a menu to choose whether you want to select vertices, edges or faces. You still use the right mouse button to select the elements.[[BR]][[BR]]You can modify your selection in Edit mode just like you learned it above for objects. Use G/R/S or the controls in the object center. Try to move, rotate or scale groups of vertices.||[[Image(select3.PNG, right)]]|| == Extrusion Modeling == Extrusion Modeling is a simple but powerful technique to create apparently complex models. You start with a simple geometric object and extrude its faces to create more vertices. Modify the vertices and extrude more until your model has the desired shape. To benefit from extrusion technology we need three more tools. You must be in Edit mode to be able to access the right commands. ||'''Extrude'''[[BR]]Extrusion is something you do with faces: it will create a copy of the face and connect every vertex of the original face with the corresponding vertex of the copy. To extrude a face, select it and hit E. You can now move the new face freely.[[BR]][[BR]]'''Note:''' Hold Ctrl for discrete steps.[[BR]][[BR]]Normally, you will extrude along the normal of the original face, but in some cases it might be useful to extrude only along one axis. To do this, hit E and X/Y/Z afterwards.||[[Image(extrude.PNG, right)]]|| ||'''Subdivide'''[[BR]]To create finer subdivisions of a face or edge or to modify only a small part of them, it might be necessary to subdivide a face or edge into parts. First, select the parts (edges or faces) of your model, that you want to divide. Then, hit W and choose Subdivide in the appearing menu. Your selection will be subdivided.[[BR]][[BR]]'''Note:''' Hit W and choose Subdivide Multi to split in more than two parts. The W-Menu also gives you more useful functions, when working with your mesh.||[[Image(subdivide.PNG, right)]]|| ||'''Merge'''[[BR]]Sometimes, the two functions above create vertices, that you don't want. It is a good idea to remove them by joining them with another vertex. Like this, you can create a pointed shape, for example. Select the vertices that you want to join. Press W and select Merge. Blender will ask you where to merge the vertices. You have several options:[[BR]][[BR]]''Merge Center'' will merge at the geometrical center[[BR]]''Merge First'' will merge at the first vertex you selected[[BR]]''Merge Last'' will merge at the last vertex you selected[[BR]]''Merge Cursor'' will merge at the position of the 3D-Cursor[[BR]]''Collapse'' will merge each part of your selection at its center||[[Image(merge.PNG, right)]]|| == A First Model == ||Now you will create your first model, a simple house without further details. You will need most of the functions you have just learned about. Start with a cube as it is shown in the picture and select it.||[[Image(hut1.PNG, right)]]|| ||Hit TAB to enter Edit mode. Adjust the dimensions of the cube and extrude it to get a shape that looks similar to the one on the left.||[[Image(hut2.PNG, right)]]|| ||Use the Merge function to merge the vertices on the top. They will form the top of the roof. You might want to get something similar to the picture at the right.||[[Image(hut3.PNG, right)]]|| ||Extrude both sides of the roof the same length. Then, scale them, so that they make up a good roof between them. Merge vertices that belong together. If there are vertices left inside your model, select them and delete them with X.[[BR]][[BR]]Feel free to add more detail to you house like a chimney, doors, windows...||[[Image(hut4.PNG, right)]]|| == Using Modifiers == Creating a symmetric model can save a lot of time. You do not have to model two symmetric halves, you can model one half of the model and mirror it to get the desired symmetric result. This is done using Blender's mirror modifier. There is also a modifier for making your model smoother, called Subdivision Surface Modifier (short subsurf). You'll learn how to use these modifiers, but there are many more, of course. ||Although latest space ships are not all symmetric, we will create a symmetric one here. Start with a 1x2x2 cude and subdivide it once.||[[Image(ship1.png, right)]]|| ||Extrude faces in x-, y- z- and -x-direction as shown in the picture.||[[Image(ship2.png, right)]]|| ||Adjust the edges a little bit to form tip, cockpit and some kind of wing stubs. Of course, this is still much too blocky and doesn't look like a space ship at all yet, that's why we will use modifiers.||[[Image(ship3.png, right)]]|| ||To use the mirror modifier, it is best to first remove all faces in the mirroring plane. Otherwise, mirroring will result in a mesh with faces inside, a non-manifold mesh. This is something we don't want, so select the faces in the x-z-plane and erase them by hitting X and selecting ''Faces''.||[[Image(ship4.png, right)]]|| ||Exit Edit mode with TAB and make sure you see the Editing menu in the buttons window (F9). Select your ship. It should by now look like this. You can clearly see the big hole in its side, where you deleted the faces||[[Image(ship5.png, right)]]|| ||In the ''Modifiers'' tab of the Editing menu, click ''Add Modifier'' and add the ''Mirror'' modifier. Check ''Y'' and uncheck ''X'' to mirror along the y-axis. [[BR]][[BR]]If your model looks crappy, make sure, the object center lies in the mirror plane. You can do this by setting the 3d-Cursor accordingly and clicking ''Center Cursor'' in the ''Mesh'' tab.||[[Image(mirror.png, right)]]|| ||Next, add the ''Subsurf'' modifier. Note, that you model is now much smoother, because of the subdivision. You can increase the subdivision level in the mirror settings, but for now the defaults will suffice.||[[Image(subsurf.png, right)]]|| ||Now smooth the model by clicking ''Set Smooth'' in the ''Link and Materials'' tab. If you want to learn more about smoothing, you can check out this tutorial: [wiki:BlenderSmoothing Smoothing with Blender].[[BR]][[BR]]Congratulations, if me and you both didn't make any major mistakes, you successfully created something that looks similar to Darkwing Duck's spaceship. Of course, there is still much work left to do, but I think you got an idea how modifiers can simplify the modelling process.||[[Image(ship6.png, right)]]|| I hope you enjoyed this tutorial and did not have much trouble while following my instructions. If you want to learn more, give the other [wiki:BlenderTutorials Blender Tutorials] a try as well. Also check out the [wiki:BlenderKnowledgeBase Blender Knowlegde Base] and the [wiki:BlenderHotkeys Blender Hotkey Reference].