Trainz/Tutorial for Blender/Tutorial to build a basic house:2.65

From Wikibooks, open books for an open world
Jump to: navigation, search

Tutorial to build a basic house:

It is suggested that you save your .Blend files (Blender source file) under a slightly different name on each step just in case you do something wrong and want to go back. This new thumbnail format is best used by right clicking the thumbnail then open in new tab so you can come back and refer to the text as well as the image.


We start with the default screen in Blender.

Opening default screen









By default Blender creates everything with double sided textures. This means twice as many polys for Trainz to render for no visual effect so untick the double sided box.

In Jan's words "On the properties bar find the icon 'Object Data', it's the little upside down triangle and in the normals section there uncheck double sided. Sadly this isn't persistent, so every time you add a new primitive (shift-Akey) it will come up as double sided by default and you have to remember to uncheck this one again. On a side note adding such a new primitive to an allready single sided mesh will promote it to single sided as well. In fact the settings of the last mesh selected with shift-rightmouseclick is the one with the persistent properties."

Double sided untick box







We want to be able to adjust the size easily and exactly so we need the properties on screen. Press the "n" key to show this. 2.65 has a super set of properties. Also note in 2.65 you may need to go to view menu and select view persp/ortho to select the ortho view.

Properties menu







Our basic house is going to be 18 feet wide, 30 feet deep and 18 feet high. It's simpler to work in meters with Blender so go to Google and type in "18 feet in meters to feet" the answer is 5.48, 30 feet is 9.144 so we type these numbers into the dim property tag. Z is height, y is width, and X is depth. For 2.65 these go into the dimensions:

Blender centers the object at 0,0,0 we want our house to be at ground level. So we divide the Z value (height) by two and put that number into the Z location field.

Size the house







To make the roof we will first duplicate the house, so <shift D> followed by <escape>. Now we need to raise the roof by the height of the house so add in 5.48 to the existing Z value to give 8.22.

Duplicate the cube








It's easier in wireframe mode so we'll switch the display.

Select Wireframe








Roofs are usually pointed so we need to edit our cube. We press "A" to deselect everything.


Next we switch into edit mode from object mode at the white arrow. Then we select the top corners by pressing B then drawing a box round the top corners. We merge them together by scaling the y axis to zero, "S","Y","0" <enter>. Now we eliminate duplicate vertices by pressing "W" then "remove doubles" from the menu. For 2.65 you may need to repeat this for the rear two vertices.


Apex the roof








To adjust the shape go back to object mode and adjust the numbers in the properties tag to make the roof a little wider than the house giving it eaves by increasing the Y value and a little lower in height by reducing the Z value. We can also change the name of the cube to roof too make it a bit easier for us to keep track.

Resize the roof





That is the basic house created. Now we need to texture it.