Skip to content

Can not add the terrain data in cesium #96

@DeZhao-Zhang

Description

@DeZhao-Zhang
  1. At first i get the terrain tile use ctb-tile --output-dir ./terrain-tiles dem.tif
    image

  2. The I add the data in tomcat webapp root dir, which as apache-tomcat-10.0.2\webapps\ROOT\output-dir

  3. I add the terrain use

viewer.terrainProvider = new Cesium.CesiumTerrainProvider({
        url : `http://localhost:8081/output-dir`,
    });
  1. The world is black and can not see anything
    image

  2. The http request have only one for 0/1/0.terrain
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions