createGround X and Y subdivision

Hi everyone!

I’d like to create a terrain from an array of altitude values, which I obtained from Open Topography.
The row and column values of the array are not necessarily in the same number, so I need to find a way to use a different X and Y subdivision when I initialize createGround which is not possible, as far as I am concerned .

Do you have any suggestion/solution for this problem?

Hello and welcome!

what about using CreateGroundFromHeightMap: Height_Map - Babylon.js Documentation ?

Hi Deltakosh.
Thank you.
I already have the array with the altitudes.
I am working on a client-server application and it’s easier for me to use an array of integers than a geotiff.

It is possible Babylon.js Playground

Perfect!
Thank you so much, JohnK.