Set sketch

With the Vector dataset plug-in asset feature, you can add vegetation models or sketches to the scene based on 3D point-line-area datasets. The procedure is as follows:

  1. Run the SuperMap Editor tool controls to create a new spherical/planar scene and add 3D point, line and polygon data in UDB/UDBX format.
  2. After adding the data, run the current level.
  3. Click Data Beautification -> Asset Settings -> Vector Dataset , select the corresponding 3D point layer in the Vector Dataset Plug-in Asset Settings panel, and select the appropriate associated field. Here, the associated field is selected: tree type. Asset type selection plug-in sketch.
  4. In the asset library of Unreal Engine, select the corresponding tree model, right-click, select Copy Reference from the menu, and paste the copied path into the corresponding attribute box in the attribute table of the vector dataset plug-in asset setting panel.
  5. Click OK to see that the tree model has been placed in the scene.
  6. If you need to modify the file path of the reference model, repeat steps 3-4.
  7. After planting trees or placing sketches, the association between attribute fields and Unreal Engine materials will be recorded in the project/Content/SceneInfos/Level/SceneInfos.json file corresponding to the scene. The relevant labels are as follows:
    • ResoureConditions: Records the attribute fields and attribute values of the vector dataset.
    • ResourceName: Records the Unreal Engine material object associated with this attribute value object.
    • Caption, DataSetAlias, etc. record the name, data type and other information of vector dataset.
  8. 3D point dataset trees have a tree attached to each point, 3D line dataset trees have trees arranged equidistantly along the line, and 3D polygon dataset trees have trees arranged equidistantly within the plane. The specific effects are as follows:
  9. 3D Point Data Tree Example 3D Line Data Tree Example 3D Surface Data Tree Example
    attention

    Property fields need to be set in SuperMap iDesktop/iDesktopX.