Is there a way to show the UI spash screen when loading the CreateGroundFromHeightMap function. My height map is large and takes some
time to load. I was wondering how to get the UI spash screen to appear while the browser loads the heightmap. I am using typescript, and I have
trying wrapping the method in this.scene.executeWhenready() around:
BABYLON.Mesh.CreateGroundFromHeightMap("terrain", "heightmaps/lake-taupo-15m-dem.png", 2000, 2000, 1500, 0, 100, this.scene, false);
but it says addMesh() is undefined. I tryied using
var imageTask = this.assetsManager.addImageTask("image task", "heightmaps/lake-taupo-15m-dem.png");
imageTask.onSuccess = function(task) {
BABYLON.Mesh.CreateGroundFromHeightMap("terrain",task.url, 2000, 2000, 1500, 0, 100, this.scene, false);
}
but I get the same error.