SubdividePreviewMesh

This command subdivides a single preview mesh into multiple preview meshes by using the preview mesh GeometryLayer tessellation x/y values to determine how many additional preview meshes to create. For Example: Use this command if you need to subdivide a single geocell preview mesh into 64 × 7.5 minute preview meshes.

This command facilitates incremental terrain generation.

Using This Command

Select a preview mesh and invoke this command.

Figures

Figures are as follow:

Figure 1.1. A 1/4 geocell preview mesh that extends from -122 degrees longitude to -121.5 degrees longitude and from 46.5 degrees latitude to 47 degrees latitude:

SubdividePreviewMesh

Figure 1.2. The same mesh on the worksheet. The tessellation indicates the boundaries of 7.5 minute tiles. Since this is a quarter-geocell, there are 16 × 7.5 minute tiles in a 4×4 array.

SubdividePreviewMesh

Figure 1.3. After preview mesh subdivision the hierarchy contains 16 preview meshes. Each new preview mesh represents a 7.5 minute tile.

SubdividePreviewMesh

Figure 1.4. The preview meshes on the worksheet. The border edges of one tile are selected so you can clearly see the boundaries of the 7.5 minute tiles. In this example the 7.5 minute tile is tessellated 4×4; terrain generated from this preview mesh produces 16 output meshes [ for each level-of-detail ] that span the 7.5 minute tile.

SubdividePreviewMesh

Figure 1.5. Building terrain for an entire geocell can be laborious and slow. Subdividing the quarter-geocell model into 7.5 minute tiles allows you to incrementally build a paged terrain database. In this example you can select the individual 7.5 minute preview meshes and build terrain incrementally.

SubdividePreviewMesh

Registration

Command registration information is as follows:

Category TypeInformation
ImplementationSCRIPT
ModuleSUBDIVIDE_PREVIEW_MESH.SSL
CategoryMesh Commands
GUID{7C521533-C85D-4BC5-AEAC-89F8C7C36AFC}
Source NameSubdividePreviewMesh
Interface NameSubdivide Preview Mesh
CoreNo
SampleNo
AccessModify [mesh] option on main menu or mesh command menu.