Exercise 9: Creating a realistic 3D view
Imagine that you are an urban planner and are interested in constructing a realistic 3D model of a neighborhood. The staff of the planning and transportation departments has created GIS datasets for the building footprints, streetlights, trees, and sample vehicles for this area. You also have imagery of the area, and an architect has supplied a set of photorealistic building models.
You want to combine the GIS data with the image and the building models in ArcGlobe to develop a realistic urban model. This model will help decision makers visualize proposed buildings and their associated views. Such models can also be used to study spatial awareness or to simulate urban features, landscapes, landmarks, or tourist attractions for students or tourists.
This is an advanced exercise illustrating how to use 3D symbology and 3D graphics tools to create a realistic-looking view of a study area in London.
Opening the London Globe document
- Start ArcGlobe by clicking Start > All Programs > ArcGIS > ArcGlobe 10.
- On the ArcGlobe - Getting Started dialog box, click Browse and set the globe's default geodatabase path to D:\3DAnalyst\3D_Default.gdb
- Next, on the ArcGlobe - Getting Started dialog box, click Existing Scenes > Browse for more .
- Navigate to the Exercise9 folder.
- Double-click the London_Start ArcGlobe document.
- Click File and click Save As.
- Type London for the name of the globe document.
- Click Save.





Setting the visible distance range of a layer
You can optimize the performance of an ArcGlobe document by setting an appropriate visibility distance for each layer. Specifying the visibility distance range lets you control when a layer becomes visible as you zoom in or out. You can either set the minimum and maximum distance for an entire layer, or you can base the layer visibility on individual tile distances.
The checked box beside the Buildings layer is unavailable in the table of contents. This means the display currently exceeds the layer's maximum visibility distance. You will change the maximum visibility distance for a couple of other layers later in this exercise.
- In the table of contents, right-click the Holborn.jp2 layer and click Properties.
- Click the Globe General tab.
- Click the Don't show layer when zoomed option.
- Type 5 in the Out beyond text box.
- Check visibility based on each tile distance to enable distance visibility for discrete parts of the layer.
- Click OK.
- Click Bookmarks and click City View.




Tips on allocating memory cache
Often, an ArcGlobe document that is performing poorly can be made interactive through a well-defined memory cache. This is a specified amount of physical memory (RAM) dedicated for exclusive use by ArcGlobe to improve performance. For optimum performance, the memory cache can be fine-tuned according to the individual data types used. As this exercise uses many 3D textured objects and raster images, your next step will be to allocate a greater percentage of the memory cache to improve handling of these data types.
- Click the Customize menu and click ArcGlobe Options.
- Click the Display Cache tab.
- Click the Advanced button.
- Take a glance for the memory allocation values, in megabytes, and types.
- Click OK to close the Advanced Memory Cache Settings dialog box.
- Click OK to close the Options dialog box.



Adding feature data
To create 3D objects on your model, you will add some local data to the London area.
-
Click the Add Data
button.
- Navigate to the location of the Exercise9 tutorial data folder.
- Open the Geodatabase folder and double-click the Lincolns.gdb geodatabase file.
- Holding down the CTRL key, click the Building_Footprints, Street_Lights, and Vehicles feature classes.
- Click Add.
- Click Don't show layer when zoomed to apply the distance visibility range.
- Type 3 in the out beyond text box, and leave the in beyond text box set to the default value of 0.
- Click Finish.
- Click Display features as 3D vectors when the Add Data Wizard appears for Street_Lights layer.
- Click Next.
- Click Don't show layer when zoomed to apply the distance visibility range. Then type 1 and 0 in the distance range text boxes.
- Click Next.
- Select the typical scale at which this layer will be seen in real-world units.
- Click Finish.
- Repeat steps 9 through 14 for the Vehicles layer.
- Click Bookmarks and click Bird View.








Extruding buildings
Features in a two-dimensional data source can be projected into a three-dimensional representation through a process known as extrusion. A 2D building footprint, for example, can be extruded into a 3D block representation of that building. In this exercise, you will extrude building polygons according to a height value governed by the number of floors and average height per floor to create realistic 3D building shapes.
- In the table of contents, right-click Building_Footprints layer and click Properties.
- Click the Globe Extrusion tab.
- Check Extrude features in layer.
- Click the Calculate Extrusion Expression button to open the Expression Builder dialog box.
- Click the attribute NUM_FLOORS to add it to the Expression text box.
- Assuming that each floor has a height of 4 meters, you can calculate the height of each building by multiplying the number of floors in each building by 4.
- Click OK.
- Click OK to close the Layer Properties dialog box.




Symbolizing features
- In the table of contents, right-click the Street_Lights layer and click Properties.
- Click the Symbology tab.
- Click Categories.
- Click the Value Field drop-down arrow and click MODEL.
- Click Add All Values.
- Double-click the symbol for stlght13.
- In the Symbol Selector dialog box, click the Style References.
- In the Style References dialog box, check 3D Buildings, 3D Street Furniture, and 3D Vehicles then click OK.
- In the Symbol Selector dialog box, click inside the Search combo box and type street light, then press Enter.
- Click the Street Light 13 symbol.
- Type 8 in Size text box.
- Click OK.
- Double-click the symbol for stlght7.
- Repeat steps 9 through 12, except type 5 for the size, and assign Street Light 7, or another street light symbol you prefer.
- In the Layer Properties dialog box, click the Advanced button and click Rotation.
- Click the Rotate Points by Angle in this field drop-down list and click Angle.
- Click OK.
- Click OK on the Layer Properties dialog box.
- In the table of contents, double-click the Trees layer.
- In the Layer Properties dialog box, click the Advanced button and click Rotation.
- Click the Rotate Points by Angle in this field drop-down list and click random.
- Click OK.
- In the Layer Properties dialog box, click the Advanced button and click Size.
- Click the Size Points by Value in this field drop-down list and click random.
- Type 6 in the Minimum box and 15 in the Maximum box.
- Click OK.
- Click OK on the Layer Properties dialog box when you have finished.











Matching symbols in a style
The symbols in a style have names. If your features have values that match these names, you can automatically associate a particular symbol with each matching feature. If your features use a different set of names, you can edit the names in the style to match them.
- In the table of contents, right-click the Vehicles layer and click Open Attribute Table.
- Close the Table window.
- Double-click the Vehicles layer to open the Layer Properties dialog box.
- Click the Symbology tab.
- Under Categories, click Match to symbols in a style.
- Click the Value Field drop-down arrow and choose MODEL.
- Click the Match to symbols in Style drop-down list and choose 3D Vehicles.style.
- Click Match Symbols.
- Click the Advanced button and click Rotation.
- Click the Rotate Points by Angle in this field drop-down list and click Angle.
- Click OK.
- Click OK again to close the Layer Properties dialog box.




Using the graphic tools
Sometimes you need to show something that isn't represented among your GIS features. You can add graphics to ArcGlobe and display them with the same realistic symbols that you use for features. You can digitize 3D graphics to represent points of interest, lines to delineate boundaries or roads, polygons that fill an open area, or text to name or describe places. To do so, you need to add the Globe 3D Graphics toolbar.
- Click Customize, point to Toolbars, and select Globe 3D Graphics.
- If you want to dock the toolbar along with other toolbars, simply drag it to the desired location.


You can also add/remove toolbars by right-clicking on a toolbar or in the gray area where toolbars appear. This opens the toolbar list. The visible toolbars are checked.
Creating a graphic layer
You can control the visibility of graphics by storing them in a named graphics layer. The graphics layer will be listed in the ArcGlobe table of contents, where you can turn it on and off like other layers.
- Click Bookmarks and click City Hall.
- On the Globe 3D Graphics toolbar, click Graphics and click New Graphics Layer.
- Double-click the New Graphics Layer to open the Layer Properties dialog box.
- Type My Buildings in the Layer Name text box.
- Check Don't show layer when zoomed.
- Type 3 in the out beyond text box.
- Click OK.


Setting the target layer and digitizing a 3D point graphic
- On the 3D Graphics toolbar, click the Graphics menu, point to Active Graphics Layer Target, and make sure the My Buildings layer is selected.
- Click the Graphics drop-down menu and click Default Element Properties.
- Click the Marker button.
- Click the Effects tab.
- Uncheck Fixed screen size.
- Click OK.
- Click OK to close the Default Element Properties dialog box.
- On the Globe 3D Graphics toolbar, click the New Marker tool.
- Add a point as highlighted in the following graphic.
-
Click the Select Graphics
tool.
- Right-click the point and click Properties.
- On the Symbol tab, click Change Symbol.
- In the Symbol Selector dialog box, click inside the Search combo box and type city hall, then press Enter.
- Click the City Hall 1 symbol, and type 25 in the Angle box.
- Click Edit Symbol.
- In the Symbol Property Editor, make sure that the 3D Marker tab is selected.
- Uncheck Keep aspect ratio to allow the dimensions of the 3D symbol to be freely adjusted.
- Under Dimensions, type 70 in the text box for Depth (Y).
- Click the 3D Placement tab.
- Type 3 for the X offset, and -5 for the Y offset.
- Click OK.
- Click OK to close the Symbol Selector dialog box.
- Click OK to close the Properties dialog box.
- Unselect the city hall symbol and navigate around the display to view the result.












Digitizing text graphics
Once you have added the city hall symbol to the scene, you may find it useful to add a text annotation in the same view. The text graphic element allows one to digitize 2D or 3D text in the scene.
- Click Bookmarks and click City Hall.
- On the 3D Graphics toolbar, click the Graphics menu and click Default Element Properties.
- Click the Text button.
- Click the Text tab.
- Click the Change Symbol button to open the Symbol Selector dialog box.
- Click on Color drop-down arrow and choose Solar Yellow color from style palette.
- Click OK to close the Symbol Selector dialog box.
- Click the Effects tab on the Default Text Element Properties dialog box.
- Uncheck Pin to surface.
- Click OK to close the Default Text Element Properties dialog box.
- Click OK to close the Default Element Properties dialog box.
- On the 3D Graphics toolbar, click the New Text tool.
- Click on the roof of city hall graphic.
- Type City Hall in the text box and press Enter.
- Unselect the text element and navigate around the display.







Adding and modifying a 3D graphics layer
-
Click the Add Data
button.
- Browse to the Exercise9\GeoDatabase folder.
- Double-click the Street Objects layer to add it to ArcGlobe.
- Click Bookmarks and click Street View.
- On the Globe 3D Graphics toolbar, click the Graphics menu, point to Active Graphics Layer Target, then click Street Objects Layer.
- Click the Graphics menu and click Default Element Properties.
- Click the Marker button.
- On the Symbol tab, click Change Symbol.
- In the Symbol Selector dialog box, click inside the Search combo box and type traffic cone, then press ENTER.
- Click the Traffic Cone 1 symbol.
- Click OK.
- Click OK to close the Default Marker Element Properties dialog box.
- Click OK to close the Default Element Properties dialog box.
- On the 3D Graphics toolbar, click New Marker.
- Click three times to add three markers in front of the first 3 cars as shown here.
- Right-click the Street Objects Layer in the table of contents and click Save As Layer File.
- Navigate to Exercise9\GeoDatabase, select the Street Objects layer file, and click Save.







Final view
You have successfully created a realistic 3D view of a small area within London. You can use one of the many navigation tools available, such as navigate, pan, and zoom, to browse the scene. You can also use the fly tool to fly over your city model.

Balance the memory cache for final view
- Click the Customize menu and click ArcGlobe Options.
- Click the Display Cache tab.
- Click the Advanced button.
- Click the Balance Current Usage button.


In this exercise, you learned how to transform 2D feature datasets into realistic-looking 3D data models. This exercise also focused on accessing symbol libraries for styles to match layer attributes. You can quickly personalize your scene with several symbol property options.
Finally, the 3D graphics toolbar is a host of many tools necessary to create and edit new 3D graphics layers and features. You are well on your way to adding realism to your 3D scene by using 3D graphics tools and symbology options available within ArcGlobe.