Create and publish a digital twin application

Updated at:

This topic uses the Alibaba Cloud Valley campus as an example to demonstrate how to build a digital twin application using your own models.

Procedure

  1. Log in to the DataV-TwinFabric console.

  2. On the twin construction page, click Create application.

  3. Enter an application name, select an application type, and then click OK.

  4. Hover over the created digital twin application and click Edit to open the creation editor.

    Note

    The editor may load slowly the first time.

  5. In the hierarchy panel on the left, click the image.png icon and select city entity data import.image.png

  6. On the entity selection tab, select the urban area and virtual geographical objects near the Alibaba Cloud Valley campus.image.png

  7. After making your selections, click Next.

  8. On the geometry generation tab, select the precision for the virtual geographical objects, and then click Start import.image.png

    Note

    Level 3 (L3) precision is supported for buildings.

  9. When the data import is complete, click Finish.image.png

  10. In the Layers window, double-click the geographic data that you want to view, such as Water Bodies, to locate the imported geographic location.image.png

  11. In the resource management panel, click Import > Upload model to import your pre-built models.image.png

    Note
    • You can import multiple models at the same time.

    • Supported file formats are .zip and .glb.

  12. In the twin panel, click Create twin.

  13. Select the created twin, and in the inspector panel, rename it to match the model from the previous step, for example, DX.image.png

  14. Double-click the created twin to enter twin editing mode.

  15. From the resource management panel, drag the DX resource and drop it onto the DX object in the hierarchy panel to bind the detailed model.

  16. Repeat this process to bind all detailed models to their respective twins.

  17. Drag the refined terrain data DX from the twin panel to the Refined Layer panel.

  18. In the inspector panel, fine-tune the twin's spatial position to align it with the actual geographic location.

    Note
    • To make adjustments easier, double-click the title of the scene panel to enter full-screen mode.

    • After making adjustments, you can click the image.png icon in the Refined Layer panel to lock the current layer.

  19. Repeat this process to add all twins to the scene.

  20. In the hierarchy panel, click the image.png icon and select camera > fixed-position camera.image.png

  21. Select the current camera. In the inspector panel, select the fixed position controller tab and click Align with scene camera.image.png

  22. To preview the digital twin application, click Preview in the upper-right corner of the page.image.png

  23. (Optional) In the upper-right corner of the page, click Publish. Then, copy the sharing link to share the scene.