Select to view content in your preferred language

Add option DepthTestAgainstTerrain in IntegratedMesh3DTilesLayer

200
2
04-09-2024 05:05 AM
Status: In Product Plan
berttemme
New Contributor II

When using the IntegratedMesh3DTilesLayer add an option depth test against terrain (like in Cesium), to hide 3D Tiles objects that are occluded by the terrain.

https://cesium.com/learn/cesiumjs/ref-doc/Globe.html#depthTestAgainstTerrain

CesiumJS sample with depthtestagainstterrain = true (https://bertt.github.io/esri_issues/depth_test_against_terrain/index_cesium.html)

berttemme_0-1712664074500.png

Esri Javascript SDK 4.29 draws all the 3D Tiles objects (https://bertt.github.io/esri_issues/depth_test_against_terrain/index_esri.html

berttemme_1-1712664175675.png

 

 

 

 

2 Comments
Andrew--Johnson
Status changed to: In Product Plan

@berttemme thanks for submitting this idea. This is expected behavior as the data is a 3D object being rendered as an integrated mesh. Integrated mesh layers either represent the ground surface or supersede the ground surface when being rendered. I'm going to change this to In product plan as the team is currently working on adding support for the 3D Object 3D Tiles layer and once that is implemented you will achieve the behavior you are looking for. This is planned for the near term and I will circle back and provide updates as I have them.

thanks,

Andrew

berttemme

👍