3D Textured Buildings
Version 2.1
*summary*
This tool provides a command to convert polygon features to textured multipatch features.
The tool can be run from ArcScene or ArcGlobe, and the height of the output 3D features can be determined based on the existing extrusion properties defined in the layer, a constant value, or can be read from an attribute of the input feature.
The textures are defined in "texture groups" and should be grouped according to a similiar style of facade (ie. residential, city, or skyscraper).
The images from the selected texture groups can be applied either randomly, or by the best fit from the texture group to the current geometry being generated. This is done by calculating the closest aspect ratio (height x width) of the images in the texture group to the geometry.
The source code is included.
*revisions*
Version 2.1, 7/2005 - bug fixes
Version 2.0, 4/2005 - release for 9.x
Version 1, 6/2004 - original developer sample for 8.x
*setup*
To install, use "regsvr32" to register the DDDTexturedBuildings.dll, and double click the DDDTexturedBuildings.reg file to register the components with the proper ArcObjects categories.
When you open ArcScene or ArcGlobe after registration, you will see the "Convert Features to Textured Buildings" command on the "Build Textured Buildings" toolbar.
*usage*
Set the polygon layer to use as the input. Layer selection will be honored if the "Use selected features only" checkbox is checked.
Set the extrusion height source as being from the current layer properties, an attribute, or a constant height.
Note: there is a bug in ArcGIS 9.0 that results in the layer properties not being honored in this command for ArcGlobe only. In ArcGlobe, therefore, it is recommended that an attribute or constant is used for the building height.
Select an output geodatabase and feature class. If you select a path to a personal geodatabase (with the .mdb extension) that does not yet exist, it will be created for you. An SDE connection to an Enterprise Geodatabase can also be set.
Enter the name of the feature class to be created.
The output 3D texture features will maintain the visible attributes from the input polygon.
After checking the texture groups to use for the command, choose "OK" to begin the conversion. The "Cancel" button or Escape key can be used to stop the conversion progress.
The resulting feature class will be opened into the 3D Analyst application, and the visibility of the input layer will be turned off.
*texture groups*
Open the texture palette from the "Convert" dialog to setup the texture groups.
See the Readme.txt for more information.
Please report any bugs using the "Contact Author" hyperlink above.
Enjoy,
ESRI Boston
|