Shenzhen Digital Twin Visualization (2)

1. First obtain the data of the open source city

Link: https://pan.baidu.com/s/1Xmd4flFokWhqVG44D6iWZg 
Extraction code: 6ugf 
here I use Shenzhen

2. Start processing the data

Download QGIS (recommended to use google)

Welcome to the QGIS project!

 After downloading, just install it directly (you don't need to choose anything, just change the installation location)

Then open and change the language to Chinese

 

Then drag the .shp directly into it

then everywhere

 Then click on the globe on the right

 Find 3857 (the file format should also be changed to ESRI)! ! ! !

The following is the exported

Then install the plugin

Install quickosm

 Then open the plugin in the options bar

 

 This will allow you to download road information within the view range

Download completed

then export

then open blender

 

 For the download method of GIS plug-in, see my last article

Digital Twin Traffic Simulation Find the city you need (it is recommended to use google), select the area and click export to download (if the area is too large, it will not be able to be exported) 2. Download blenderBlender download and Chinese - Blender Chinese Community https:/. https://blog.csdn. net/weixin_50920579/article/details/122936226?spm=1001.2014.3001.5501

Note here that the function of Separate objects is to divide all buildings inside into objects

The function of the base surface (rounded down) in the Extrusion from field is to make each layer correspond to the height: one layer is the height of the base

 

You can change the z scale to 3 to make the building look taller

Blender uses shift+middle mouse button to pan the perspective

Then import road related information

Then you can import successfully

But at this time the road is just some lines and not a model, so we have to create a road model

 Then select the road to convert to curve

 

Click on the NURBS path

At this point, the width can be zoomed (the following is the toolbar pulled out from the left)

 Then export the fbx file

The next step is to use UE4

The specific operation can be seen first

Digital twin traffic simulation - Programmer Sought

Import a previously generated project

 Reset to default location after import

 wasd+right click to move the viewing angle (the following is to change the camera speed)

 If it is too slow, you can change the scalar

Then this is the quick access to the file related location browsing

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324330987&siteId=291194637