Book Image

Source SDK Game Development Essentials

By : Brett Joseph Bernier
Book Image

Source SDK Game Development Essentials

By: Brett Joseph Bernier

Overview of this book

Table of Contents (18 chapters)
Source SDK Game Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The Carve function


Now that we have a house with a door in one wall, let's put up a few windows so we can see the outside environment without actually walking outside. The Carve Tool works by overlapping two brushes and hitting the carve button on the toolbar. The selected brush will delete any sections of any brush it touches and make a group with the new brushes it has created.

Tip

Caution! The carve function should never be used on anything other than a rectangle. It's known to create sloppy brushwork and create micro leaks, leaks smaller than one unit wide. Micro leaks are very hard to find and fix!

We're going to create a new brush to carve with this time around, so grab the Block Tool and make a 64 x 64 x 64 unit cube. Align the new cube brush with the center of one of the five sided walls on the short side of the house. With the cube selected, press the carve button located in the top toolbar.

After the carve operation is complete, delete the cube and marvel at the mess you have made...