Stretching geometries and publishing

Feedback


Besides model data, users may also need to create simple models. They may not want to use any third-party model-making software, but perfer to directly extend region objects in SuperMap 3D scenes and tile textures on them, realizing simple 3D display. To meet this type of requirements, SuperMap provides complete solutions to vertically extending region objects, tiling textures on them, and publishing them in 3D. In a 3D scene, the geometric objects in a vector dataset will become 3D volume objects after being vertically extended.

The basic flow for realizing extending geometric objects and tiling images on them for publishing are as follows:

Step 1. Prepare the dataset and the geometric region objects to be extended. Fill in the layer attribute table with fields correspond the parameters below, and assign attribute values according to the attribute descriptions in the table below.

Figure 1 The extended attribute of the vector layer

Attribute

 Description

Extended height 2D geometric objects in a 3D layer of the vector dataset type can be vertically extended in a scene. The vertical extended height of objects above the Earth surface can be set in the combo box on the right of the "Extended height:" tag.
Bottom altitude In a 3D layer of the vector dataset type in a scene, all the objects are displayed at locations corresponding to their longitudes and latitudes. The elevation value at the object locations above the Earth surface can be set in the combo box on the right side of the "Bottom altitude" tag.
Top texture Specifies the texture file used to tile on the top of the model.
Side texture Specifies the texture file used to tile on the side of the model.
Tiling U/Tiling V All the objects in a 3D layer of the vector dataset type are rendered using 3D tiling with the same textures repeated horizontally/vertically.

All of the above parameters are available for setting only when the altitude mode in the Altitude model options is set to non-Clamp to Ground mode.

Step 2. Create a new 3D scene, or load the above vector dataset into an existing 3D scene. Select Styles>Extension, and set the altitude mode to Relative to ground. Then set the parameters in Extension Attribute, i.e., select the proper fields in the combo boxes corresponding to the parameters.

Step 3. Save the 3D scene and the workspace.

Step 4. Publish the workspace where the 3D scene is as a SuperMap iServer realspace service. For details about the operation, please refer to Publishing datasets.