Jump to content

Search Articles

* * * * *

BAT Essentials Part 2


[part 1, part 2, part 3, part 4]

Finite Details:
Foundations, Decorations, and Overhangs

So now we have a pretty basic building with windows and doors. Looking better, but not complete yet, huh? The first thing we're going to want to add to this building is a foundation, or, well, the illusion of one. It's been my experience that most commercial buildings have concrete slab foundations, so there is no need to raise the building into the air. Instead, we're simply going to put a base around the bottom to simulate building decorations I've seen quite a bit in real life.


Posted Image


To start with, make sure you are on the Create tab, then click on the "Geometry" button. Next, you'll need to click the "Box" button. The difference between geometry and splines is that splines are two-dimensional (flat) shapes, while geometry are three-dimensional shapes. In the left view, create a box of any size (just like you created a rectangle, but instead of just dragging the box, you'll now also have to move the mouse back and forth to give it some depth - pay attention to your front, top, and perspective views to see when you've accomplished this). Good, but "Houston, we have a problem." Now we've got a nice little box (or nice big box, depending upon how large you made yours). It's also probably not in the correct place. Welp, we're going to fix that.


NOTE: This is one of those shapes where gmax doesn't move it based on the center. Instead, gmax will move it based on the "top" (the initial rectangle you created for the end). Just like the Extrude Modifier, you can reverse the direction of this box by making the height negative.

Posted Image

To make something that will show up well in SC4, but isn't overwhelmingly huge, change the parameters of the box like shown. Because this box was created in the left view (and gmax recognizes the initial rectangle you made as the "top"), the length is top to bottom, the width is front to back, and the height is side to side (in the 3d world). How did I arrive at 7.25 for the height? Simple (do you still have that notepad file open?). We don't want the foundation to cross in front of the door because it would partially block it, and I'd be willing to bet that would violate some Sim City Fire Codes. To remedy this, we'll need to figure out the distance from the edge of the doorway to the end of the wall.



The door itself is 2.5 meters wide, and the wall it sits in is 16 meters wide. Subtract the width of the door from the width of the wall and divide by two.



16 (wall) - 2.5 (doorway) = 13.5 / 2 = 6.75



We're not finished with the math yet. Since this foundation decoration is going to go all the way around the building, and we don't want unsightly corners (and to save a little bit of hairy fixing later), we also need it to let it stick off the end half a meter. (The box is centered within the wall, so half of it is sticking out the front. Since the box is 1 meter thick, it will protrude 0.5 meters from the wall.) Because we're going to place it exactly even with the edge of the doorway, we're going to need to add half a meter to the length of the box so that it sticks off the end 0.5 meters.




6.75 (distance from edge of doorway to edge of wall) + 0.5 (how much it'll stick out) = 7.25



The X, Y, and Z were pretty easy to figure out. The wall is sitting exactly on the X axis and protrudes back into the building, and we want the box centered within the wall, so we make Y = 0 (remember, this will be moving it front to back, so we change Y). We also want the box sitting exactly even with the edge of the doorway, which is 2.5 meters wide. Because the door is centered on a wall that is also centered (it's midpoint is sitting on the origin), then we take half the width of the door (1.25) and make it negative because it's to the left of the origin. Last, the box will need to sit on the ground, and it's half a meter thick, so Z will be half of the length, or 0.25.



Confused yet? Didn't know all that figuring went into making those boxes around the base of the building, did ya? (If you're still confused, re-read the Quick Guides to Geometry on the Getting Started page.) If you need to, for now, just make the settings like I show you. It's sometimes difficult for people to grasp geometry in the 3d world (I know it took a while for me to catch on at first), but with time it will become second nature.


Rename the box "Foundation - Decoration".

Posted Image

To save a heck of a lot of math, simply clone your box, change X to equal 1.25 (that'll put the "top" of the box on the exact opposite side), and change the height to -7.25 to reverse its direction.

Posted Image

To continue the box around the building, clone "Foundation - Decoration" (not the copy of it you made - trust me). To put it on the side wall, we'll first need to rotate it. Notice when you first use choose the "Select and Rotate" button that gmax shows the Z rotation as -90? To rotate it 90 degrees more, we'd type 180 in the Z rotation box (I just typed "180" and the BAT changed it to negative - but either way you type it in you'll get the same results). As we need to put this box on the wall, centered within it (just like the decoration on the front), hit the "Select and Move" button, then make X the same as the X for the left wall (-8.0). Finally, because the wall is 32 meters long, you'd change the height to 32 meters so it goes from the front edge of the side wall to the back edge. This next one is very simple. Clone "Foundation - Decoration02" and (using "Select and Move") make X = 8.0 to place it on the right wall.

Posted Image

To put the foundation on the back wall, clone "Foundation - Decoration" first and make it's Y = 32 (the same as Y for the back wall). Now, do the same with "Foundation - Decoration01". You now have the picture above. See that unsightly gap between the edge of the doorway and the start of the foundation? We are going to fix that, but it'll take a little explaining.

Posted Image


To fix it, first we'll need to make the boxes the correct length. You could go through all the math like we did for the front wall, but I'm so lazy that I don't want to go through all of that again. Instead, do this:



We already know the back door is 1 meter narrower than the front door. To put the "tops" of the boxes in the correct place, we'll just need to subtract half that distance from X.
1.25 - 0.5 = 0.75
(remember that for one side X is negative)



Since we're moving the "tops" of the boxes in by half a meter inward, we need to add half a meter to the height.
7.25 + 0.5 = 7.75
(remember that for one side the height is negative)



Viola! We now have our foundation in place. Take a serious breather now - I don't know about y'all, but my wee little brain is a bit fried...



Ok, break over. Didn't think I was going to let you sit there and do nothing forever, did you? At any rate, next we will be creating the overhangs on the roof. Don't worry, this'll be far easier than the foundation.

Posted Image

The first thing you're going to want to do is clone the foundation piece on the left wall. Be sure to rename the copy "Roof - Overhang". To place it on top of the wall, use a Z move of 5.25 (we're simply moving it up 5 meters to place it on top of the wall). Clone the new piece, and change X to equal 8.0 (this places it on the exact opposite wall).

Posted Image

Next, we'll need to make the piece for the front wall. Do this by cloning "Roof - Overhang01" and Z rotate it by -90 (rotating it by 90 will make it turn the other way). Notice how it doesn't line up on the right-hand side and how it's way too long for the left? That's a pretty easy fix.

First, change the height to 17. Why 17 you ask? The front wall is 16 meters long, and we need this piece to overhang by 0.5 meters on each side. 16 + 0.5 + 0.5 = 17. Next, you'll need to change X to 8.5 to place the end of the box even with the overhang on the right wall. It's 8.5 because half of the wall's length plus the 0.5 meter overhang is 8.5 (refer to earlier explanations if you're having difficulty understanding this point).


Now that you have perfect placement for the front overhang, clone it and change Y to equal 32. This places it on the back wall.

Posted Image


See, that wasn't so hard, was it?



You know, now that I look, our front and back doors look a little plain. Let's do something about that, shall we?


Most commercial buildings have an overhang of some sort over all of their doors. BAT Tutorial, Inc will be no different. I think a nice, rounded overhang for the front door, and a simple, flat overhang for the back door.

Posted Image

First thing's first, select "Wall - Front" and hide unselected. That way, all that other junk won't be getting in our way. Turn 3d Snap on and make doubly sure that you have the Grid and Snap Settings set to Vertex. Next, on the Create Tab and Splines Button, pick "Arc". Just to forwarn you, this will get a little bit tedious, but I think you should have enough basic knowledge to get into something a little more advanced. I guess Emeril would say we're going to "kick it up a notch - BAM!"



In the front view, snap the arc on the top two verticies of the door frame. Notice that arc is different than creating a line, instead of only clicking the verticies you want to add, you need to click and drag. Once you have the mouse button released and the line created, move the pointer up and down to see how the "curve" gets into the arc. We're not looking to make anything huge, so move the pointer until the arc is just about like I have it and left-click to finish it.


NOTE: If something doesn't turn out exactly the way you want it to, or you accidentally do something you didn't intend to do, Edit >Undo (or keyboard shortcut Ctrl + Z) can save you. There is a limit to how many times you can "undo", but as long as you catch a mistake early enough, it can save you from redoing something all over again. Undo is my absolute best friend!

Posted Image

Next, change the radius of the arc to 2.5 to give it the desired width. You do not have to worry about the "From" and "To" boxes (this is similar to a slice operation, but I'll explain that later). This will make the arc move upwards. The reason for this is because the arc is a almost like a sliced section of a circle, and when you increase the radius of the circle, it moves the edges outward from the center (I'll get into all of that sometime later). The arc is too high on the wall to make a proper overhang, so we'll move it down by doing a Z move to 1.5 (you're actually moving the center of the circle down, but that's not really important right now).

Posted Image

Now, make a cloned copy (do not make an instance) of the first arc and Z move it to 1.8.

Posted Image

Make sure 3d Snap is still on and snap a line onto the ends of both arcs. Remember that when creating lines you only click where you want gmax to put the verticies. Also, don't forget it will let you click forever, so hit "Esc" after you've placed the second vertex. Move over to the other side and repeat.

Posted Image

Just like we did when we attached window openings and doorways to the wall, place an Edit Spline modifier on one of the arcs and attach the lines and other arc. They will now become one object. Now, you'd put an extrude modifier on it and change the extrude amount to 3.0. What the...??!!??

Posted Image


Just what in the heck happened there?


Welp, good thing for y'all that I know how to fix it! First thing's first, right-click on the Extrude Modifier in the Modifier List and pick Delete.

Posted Image

Now, I can tell you what happened. Whenever you create an object like this and simply attach the splines together, gmax will only extrude the faces. This is because gmax doesn't see it as a solid object, but instead a series of faces more or less grouped together. To fix this, we'll have to Weld the verticies together to create a solid object to extrude. Don't worry, it's not as difficult as it sounds. First of all, change your selection method to "Vertex" in the Edit Spline rollout.

Posted Image

Next, make sure that you have "Select" turned on and not "Select and Move" or "Select and Rotate", and drag a box over one of the corners on your shape. You can't see it here, but you are actually selecting two verticies (the verticies will show with those funny green boxes attached to them). Now, down in the Geometry rollout (where the Attach button is) hit the "Weld" button. When that's done, the little box down by the X, Y, and Z boxes will say something like above. You'd then repeat this operation for the other four corners (the verticies where you snapped the line). Notice that each time you do that, the "out of x welded" number will change. That is because you created one vertex out of two, thus reducing the total number.



Now you can put your Extrude Modifier on the object and change the amount to 3.0.


Rename the object "Overhang - Front".

Posted Image

Whew, that was a lot of work, but now we've got a nice-looking rounded overhang to go over the front doorway. It looks kinda strange just hanging there in the air holding itself up, doesn't it? We'll take care of that now, and believe me, it's much simpler than making the overhang!

Posted Image


Create a cylinder in the top view (create tab >geometry button >cylinder) of any size. Don't forget that since this is 3d geometry, you not only have to create the circle, but you also have to give it depth, so pay attention to your other views. Move the cylinder to the approximate place that I show it (doesn't really have to be exact) and change the properties as shown. I really only changed the radius and height, but look in the front view to make sure the cylinder actually sticks into the overhang a little.


Rename the cylinder "Overhang - Support Front Lg".

Posted Image

I don't think it would look quite right having just a plain 'ol pole sticking into the ground, so to give it the "illusion" of having more detail than it actually will, clone your cylinder (make a copy and not an instance) and change the parameters like shown. This will put a base on the pole.



Rename the small cylinder "Overhang - Support Front Sm".


At this point, group the two cylinders and name the group "Overhang - Support Front", create a clone, and X move (change the value in the X box) to be the positive of the number currently there (for mine it was -1.445, but yours may be slightly different). That will put a new column exactly on the opposite side. Now would be a good time to save again.








0 Comments