[UE5 Cesium] 14-Cesium for Unreal loads oblique photography on the server

Table of contents

foreword 

step

1. Download and install tomcat 10

2. Download and install JDK

3. Start Tomcat

4. Tomcat loads oblique photography

5. Load tilt photography on Tomcat in UE


foreword 

        The previous article ( [UE5 Cesium] 13-Cesium for Unreal loads local oblique photography ) introduced how to load local oblique photography in UE. This article continues to introduce how to deploy oblique photography on the server, and then Load oblique photography on the server in UE, here the server uses tomcat server.

step

1. Download and install tomcat 10

Click the following area to download, download link: Apache Tomcat® - Apache Tomcat 10 Software Downloads

 Click on README

It can be seen that this version of Tomcat requires a version above Java11

 

 After decompression, the content of the file is as follows:

2. Download and install JDK

Address: Java Downloads | Oracle 

 I downloaded version 17.0.7

 install after download

 Create two new system variables

 

“.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;” 

 

 Double-click to open Path

Create two new environment variables 

 

 After editing, enter java on the command line to test whether the installation is successful:

3. Start Tomcat

 Double-click "startup.bat" to start

Enter http://localhost:8080/  in the browser , if the following interface appears, it means that Tomcat starts successfully.

4. Tomcat loads oblique photography

Find the folder where the oblique photography was converted 

 The contents of this folder are:

 Copy the "CesiumLabOutput" folder to Tomcat's webapps folder

 

 At this point, we visit http://localhost:8080/CesiumLabOutput/tileset.json in the browser to see the following content:

5. Load tilt photography on Tomcat in UE

Select Cesium3DTileset in the outline, and enter http://localhost:8080/CesiumLabOutput/tileset.json in Url

Guess you like

Origin blog.csdn.net/ChaoChao66666/article/details/131572369
Recommended