Cesium: Support for subsurface / bathymetry

Created on 21 Jul 2017  路  13Comments  路  Source: CesiumGS/cesium

Add support for subsurface / bathymetry.

CC #526

category - graphics type - roadmap

Most helpful comment

Suggestion from the forum: do depth test when the terrain is opaque and disable depth test when the terrain is translucent, like this screenshot below:

c

https://groups.google.com/forum/#!topic/cesium-dev/M7cKgT1IEsw

All 13 comments

Related

Development

  • [ ] Camera control
  • [ ] Horizon culling
  • [ ] Atmosphere
  • [ ] Skybox
  • [ ] Sea surface + bathymetry

Suggestion from the forum: do depth test when the terrain is opaque and disable depth test when the terrain is translucent, like this screenshot below:

c

https://groups.google.com/forum/#!topic/cesium-dev/M7cKgT1IEsw

Forum request specifically for underground camera controls:

https://groups.google.com/forum/#!topic/cesium-dev/lSprfKeRJD8
https://groups.google.com/forum/#!searchin/cesium-dev/underground%7Csort:date/cesium-dev/kFW_x_slkrY/ZGSATjGVBAAJ

On the forum here: https://groups.google.com/forum/#!topic/cesium-dev/25jPqr5ODg0%5B101-125%5D

The idea was brought up to treat the surface of the ocean as a "layer" which you could show or hide.

Requested again to render "underground mineral function": https://groups.google.com/d/msg/cesium-dev/Sb47qbQ_0NA/ODiezbeeAAAJ

One thing to fix as part of this would be terrain skirts being visible when looking at underground data. This thread has screenshots and a Sandcastle of the issue:

https://groups.google.com/d/msg/cesium-dev/ZVgo6VNeOUo/-OW4eoMMGgAJ

The goal is to use clipping planes in order to:

...open the globe at a specific defined region for the user to see subsurface layers there (which are included through a tileset).

Requested again on the forum. There's also some sample code of a use case here and a possible texture rendering bug, but I haven't been able to reproduce this:

https://groups.google.com/d/msg/cesium-dev/79R_lZaCdds/YxECMxg_BgAJ

Does cesium optimize this problem at present?
I think there are several situations of underground mode:

  1. When all the structures are underground, it is better for the earth surface to be translucent if it is roaming underground and looking at the model.
  2. When half of them are underground and half of them are on the ground, if you roam underground and check the model, you should be able to distinguish who is which part of them is on the ground and which part is underground, and there should be clear boundaries.

@yoyomule we're adding underground support as part of https://github.com/CesiumGS/cesium/pull/8726 and https://github.com/CesiumGS/cesium/pull/8811

For (2), what type of distinction do you have in mind? Like a color or post processing effect? Curious if you have an images / screenshots for this sort of behavior,

Thanks.
image
image

Hi, we are looking for this solution as autonomous underwater vehicles and unmanned surface vehicles are becoming increasingly more prevalent. We would like a portal for our data and I'm wondering if this feature is on the roadmap?

@oi-eddyoj we are actively working on improving underground camera controls here: https://github.com/CesiumGS/cesium/pull/8811. That may help depending on your exact use case. Can you post some sample data or more info about your use case on the Cesium community forum (https://community.cesium.com/)? I can take a look and let you know if there's any known workarounds for the issues you're running into or if it's something fixed by those upcoming improvements.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hpinkos picture hpinkos  路  4Comments

lilleyse picture lilleyse  路  4Comments

GatorScott picture GatorScott  路  3Comments

thw0rted picture thw0rted  路  4Comments

pjcozzi picture pjcozzi  路  4Comments