Bathymetry in Unity

Hello,

New to Cesium, is there a bathymetry Unity sample available? Also, can we add bathymetry data in our Unity apps or Spatial worlds?

Thanks,
Armen

Hi Armen,

Welcome to the community! You can download the Cesium for Unity Samples project on Github and check out various features of the plugin. We do not have a dedicated bathymetry example, but you can replace the Cesium World Terrain dataset with Cesium World Bathymetry, available in the Asset Depot on Cesium ion.

Can you clarify the second half of your question? In what format is the bathymetry data? And are you just talking about typical packaged Unity apps?

Hello,

Thank you for your reply. I will try it. I am asking if I can bring a portion of Cesium terrain into Spatial immersive experience worlds. Please see an example https://www.spatial.io/s/Mars-Curiosity-Rover-644ecea5dd34b3ca88f06e1f?share=1003682122592282172

Are there any legal or technological constraints or considerations from Cesium point of view?

Thanks,
Armen

Hi @armen.hacopian,

We are working on solutions for clipping a portion of Cesium World Terrain, and importing just that portion into users’ applications. However, if you currently attempt to download portions of CWT, it will be against the terms of use. But I will give an update when this clipping feature is available in Cesium ion.

With regards to tech constraints, we have never tried to port Cesium into Spatial, so I can’t say whether it will work. It seems like it runs in the browser, so I assume that Unity would have to produce a WebGL build. However, we currently don’t support WebGL, as it would require a nontrivial effort to convert C++ native code into web assembly. But let us know if there are any misunderstandings with regards to how Spatial works.

Hello,

Thanks for the reply. Clipping is essential for success as there are limitations to immersive experiences in terms of memory, polygons, etc.

Please let me know as soon as possible when you have an update. I am willing to work with you on preview or beta versions of clipped terrain.

Thank you again
Armen Hacopian