SketchUp’s Match Photo feature has inspired many happy dances, because it enables you to
- Apply a photo to an existing model: Say you have a model of an existing structure and you want the model to look realistic. Applying a photo with Match Photo is much easier than drawing that detail and applying materials to individual elements.
- Create a model from a photo: When you want to model an existing structure, Match Photo enables you to use a photo as a starting point. You can essentially trace the photo to draw the model.
Until you get the hang of Match Photo, you may suspect that SketchUp dumped a box of rainbow spaghetti on your model like a toddler bored with pasta crafts. Match Photo is a bit confusing at first, but this article gives you the tips and steps that you need to use Match Photo in the magical way its developers intended. When you’re first learning how to use Match Photo, orient yourself to the color-coded tools that Match Photo spills onto your screen and check out what photos work well with the Match Photo feature. Then try your hand at matching a photo, following the detailed steps in the following sections.
In this YouTube video
, you see Match Photo in action. Although the demo uses an older version of SketchUp, the process in current versions of SketchUp is similar.
Introducing Match Photo’s color-coded tools
To start using Match Photo, select Camera > Match New Photo. Select the photo you want to use, and your screen looks something like the following figure, which shows an image captured from Google Street View. The following list identifies all the tools that appear on-screen:
- Scene tab: A scene is a saved camera view of your model that’s associated with a tab. If you orbit away from this particular view, the matched photo disappears. But you can click the Match Photo scene tab to return to the view with the photo.
- Match Photo view: When the camera is in Match Photo view, you see Match Photo in the upper left of the drawing window.
- Vanishing point bar: You see two green bars and two red bars with dashed lines and a square grip on each end. You click and drag the grips to align these bars with elements in your photo.
- Horizon line: This yellow line aligns with the horizon in your model. Typically, if you set the vanishing point bars, the horizon line takes care of itself.
- Axis bars: The solid green, red, and blue lines represent each axis. As you adjust the vanishing point bars, the axis bars move, too, so you usually don’t need to adjust these manually. You can click and drag up and down the blue axis bar to roughly scale your photo.
- Axis origin: The origin is where the three axes meet. If you start with a Match Photo-compatible image, Match Photo does a pretty good job of locating the origin for you, but you might need to adjust it a bit. In the example, the origin needs to move down a bit so the axis origin is at the corner where the walls and ground meet. (If the photo looks down on a building, try a corner where the roof and walls instead.) For a photo taken indoors, place the origin where the walls and ceiling or the walls and floor meet in a corner.
Choosing photos that work with Match Photo
Match Photo works best when your photo meets certain criteria. When you’re taking or choosing photos to use with SketchUp’s Match Photo feature, keep the following tips in mind:
Matching a photo with an existing model
To apply a photo to an existing model with SketchUp’s Match Photo feature, have your model and your photo on your hard drive. When you’re ready, follow these steps:
- Select File > Open and select the model you want to open in the drawing area. This example uses the following model of a schoolhouse.
- Select Camera > Match New Photo.
- In the Select Background Image File dialog box that appears, navigate to your image file and click Open. The camera switches to Match Photo view, so your photo appears in the drawing area, as shown in the following figure, and your camera angle is automatically saved to a scene tab, which appears in the upper left.
Tip: When a Match Photo is active, you can context-click any Match Photo tool to open a context menu. Select Start Over or Cancel Match if your photo matching goes awry. Select Zoom Matched Photo to fit your photo in the drawing area. Zoom Vanishing Points zooms so that all the vanishing points fit in the drawing area.
- In the Match Photo dialog box, shown in the following figure, select the style that reflects the type of photo you have. Click Inside for an interior image, click Above for an exterior photo of a building taken from the top, or click Outside an exterior photo taken from the ground.
Tip: You can adjust the grid to suit your preferences and help you align and scale your photo. Select the Auto radio button to make the grid appear only when you’re adjusting one of the matching tools. (The vanishing point bars, horizon bar, and axes are always visible in Match Photo view.) Use the Planes options to select whether you want the grid to show the red/green, red/blue, or green/blue planes. Type a value in the Spacing text box to set the size of the grid spacing, which can help you scale your model to a multiple of the actual structure’s size.
- Click and drag the axis origin to a distinct origin point on your photo. In this example, that’s the corner where the building meets the ground, as shown in the following figure. See Introducing Match Photo’s color-coded tools for tips on setting the axis origin.
- (Optional) Deselect the Model checkbox to hide your model from view. You don’t have to hide your model, but it’s often a little easier to line up the vanishing point bars with the photo if the lines in your model aren’t competing with your photo.
- Click and drag the grips on each of the four vanishing point bars. Align the green vanishing point bars with photo elements that need to be parallel the green axis bar. Make the red vanishing bars align with photo elements that are parallel with the red axis bar. The example in the following figure illustrates how the vanishing point bars align with their respective axis bar.
Tip: Window frames, door frames, and roof lines are handy reference points for aligning the vanishing point bars. Also, the longer the vanishing point bar extends, the better your results.
- Select the Model checkbox in the Match Photo dialog box so that your model reappears.
- Hover the cursor over the blue axis bar. When a two-headed arrow cursor appears, click and drag the cursor up or down the blue axis bar to scale your model. You want the model outline to line up with your photo, as shown in the following figure.
- (Optional) In the Match Photo dialog box, click the Project Textures from Photo button to project the photo on the model. If you project textures, you can see the photo applied to your model’s faces as you orbit around you model. The following figure shows textures projected on the schoolhouse example.
Note: If your model already contains materials, SketchUp asks whether you want to replace the existing materials. You may also see the
Trim partially visible faces? message. If so, click Yes to apply photo textures only to the visible portion of faces in your model. Click No to apply textures to an entire face, even only a part of the face is visible.
- Click the Done button to exit the Match Photo toolset.
Tip: In the Match Photo dialog box, you can click Edit Matched Photo (the gear icon at the top) to adjust the Match Photo tools.
Note: If you’ve taken several photos that you’re matching to each corner of a building, context-click a Match Photo tool and choose Rotate 90 Right or Rotate 90 Left. These commands move the red and green axes 90 degrees. If the commands don’t work well with your model and photo, simply move the axes in the opposite direction, and click New Matched Photo button (the plus sign icon in the upper left of the Match Photo dialog box). A new Match Photo scene appears, and you can then place a new photo and set the origin point manually.
Creating a 3D model from a photo
If you have a photo of something you want to model, Match Photo can help you draw the 3D model.
Tip: This process works best for objects with parallel lines, such as the top and bottom of a rectangular window.
To draw a model with the help of a photo and SketchUp’s Match Photo feature, follow these steps:
- Follow the steps in the preceding section, “Matching a photo with an existing model,” to set up your axis origin, vanishing point bars, and scale. The only difference is that you don’t need to worry about opening the model that goes with your photo or projecting textures onto a not-yet-existing model. These steps explain how to draw the model based on your photo.
To help you set the scale of your photo, insert one of SketchUp’s 2D people, as shown in the figure. If you don’t already see one of these folks in your model already, find them in the Components browser
- Select the Line tool .
- Starting at the axis origin, trace one of the edges in your photo. Continue tracing edges until you create a face.
- Use SketchUp’s tools to continue creating your 3D model based on the photo. For example, after tracing the side of the barn shown in the following figure, you might use the Push/Pull tool to extrude the face, as shown in the following figure. When you use the drawing tools, you’ll likely leave the Match Photo view. Click the Match Photo tab see your photo again and check the length of your extrusion against the length of the barn in your photo.
Tip: The process of modeling from a photo is iterative. You’ll likely do a little drawing, check your model against the photo, do a little more drawing, and so on.
- (Optional) Click the scene tab to see your photo and project the photo textures onto your model. To do so, click Project Textures from Photo in the Match Photo dialog box or context-click the photo and choose Project Photo from the menu that appears. In the figure, you see the barn textures projected onto the model.
Deleting a matched photo
If your matched photo didn’t work out or you don’t need it any more, you simply delete the Match Photo scene. Here are two ways to do so:
- Context-click the scene tab and select Delete from the menu that appears.
- Select Window > Scenes.
Open the Scenes panel In the Scenes panel that appears, select the scene with your matched photo and then click Remove Scene (the minus sign icon).