Integration Cesium and Potree - problem with terrain provider

1. A concise explanation of the problem you're experiencing.

Hello, i integrated Cesium and Potree and it works fine, when i limited my expectation to OpenStreetMapImageryProvider. In the next step i would like to add "terrain provider", because my potree point cloud is 'flying' above elipsoid model. Unfortunetely, after i added "terrain provider" neither 'terrain' nor 'OSM imagery' does not show up in the web browser (i see only outer space). Additionally, i tested a few source of terrain in terrain provider, but in all cases effect is the same.

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

window.cesiumViewer = new Cesium.Viewer(‘cesiumContainer’, {
      useDefaultRenderLoop: false,
      animation: false,
      baseLayerPicker : false,
      fullscreenButton: false,
      geocoder: false,
      homeButton: false,
      infoBox: false,
      sceneModePicker: false,
      selectionIndicator: false,
      timeline: false,
      navigationHelpButton: false,
            
      terrainProvider : new Cesium.VRTheWorldTerrainProvider({
        url : ‘https://www.vr-theworld.com/vr-theworld/tiles1.0.0/73/
      }),
      
      imageryProvider : Cesium.createOpenStreetMapImageryProvider({url : ‘https://a.tile.openstreetmap.org/’}),
      
      terrainShadows: Cesium.ShadowMode.DISABLED,
    });

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

As i mentioned above, my point cloud is 'flying' above elipsoid model, so i want to add real terrain representation to Cesium.

4. The Cesium version you're using, your operating system and browser.

Mozilla Firefox, Windows 10 64-bit

Update:

"window.cesiumViewer = new Cesium.Viewer('cesiumContainer', {
      useDefaultRenderLoop: false,
      animation: false,
      baseLayerPicker : false,
      fullscreenButton: false,
      geocoder: false,
      homeButton: false,
      infoBox: false,
      sceneModePicker: false,
      selectionIndicator: false,
      timeline: false,
      navigationHelpButton: false,
      
      terrainProvider : Cesium.CesiumTerrainProvider({
        url : '//cesiumjs.org/stk-terrain/tilesets/world/tiles',
        requestVertexNormals : true
      }),

      imageryProvider : Cesium.createOpenStreetMapImageryProvider({url : ‘https://a.tile.openstreetmap.org/’}),
      
      terrainShadows: Cesium.ShadowMode.DISABLED,
    });
"

This code load OSM successfully, but 'terrain' still does not show up.

Hey there,

You are using two outdated terrain sources in your above examples. Try using the Cesium World Terrain instead:

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

terrainProvider: Cesium.createWorldTerrain()

});

``

Here’s the terrain Sandcastle demo.

Thanks,

Gabby