Clipping Planes on globe

192 views
Skip to first unread message

mholt...@gmail.com

unread,
Feb 12, 2019, 5:19:58 AM2/12/19
to cesium-dev
I have an active clipping Plane for the globe in Cesium (1.54). But always there are these little strange "egdes" (including OSM and BINg layer). I have marked them in the red circles in the image linked in this post.
Is it possible to deactivate these "edges"?

https://drive.google.com/open?id=1ry9fQLrOvGgB1PLS3K8ELDBEvzdi8898

Omar Shehata

unread,
Feb 13, 2019, 11:10:14 AM2/13/19
to cesium-dev
I think what you're seeing there are the terrain skirts that CesiumJS adds between terrain tiles to fill in gaps. I'm not sure if there is an easy way to disable it, but if you can provide a Sandcastle example that recreates this we can open a bug report on GitHub to track it.

I think the reason this hasn't come up before is that usually with clipping planes on the globe, the hole is filled with something else (like a photogrammetry model) so those skirts are occluded behind that. Are you doing something similar or do you have a different use case?

mholt...@gmail.com

unread,
Feb 20, 2019, 2:16:03 AM2/20/19
to cesium-dev
Modified your Sandcastle example fr this. If you zoom to the edged of the clipped globe, you can see the gaps. I think it's just a cosmetic issue, not really improving functionality. But if there is time for it, take a look here:

https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=tVZtb+o2FP4rVveBIEGSvqmIQjduL9vutGqV2rt+KNVk4gOx6tiR7UDZ1P++YyeBBOik6W5RX5ycx+c859WOIvLVAEkEz3MulyQXVIIhVhEDAhLLVyA2JOUMSE61NUQtiE2BLIWaAzGFXtAEwpmcyRXVZMVhDZqMiYQ1uQXDiyz83X8LOol/vVXSUi5Bd3rkr5kk+JjXzcRmyuQpaBiSBRUGepUoVYVgE8kzaoG0ZRa0Rk33Wq2QnR7W9hINCH5SWrDHEhJ0Z/K9e11SLImPK6qhSUBC6D9e117AG81yAY+bHCMxJs+dUjO5o7Lzcr3z9E4xEAio/GhtG7ZeK8pJoTVIO91J9nDP8UsNrRJy7/MxlXQugCHa6qIOALAlPNiNQFRbjt5WLK1SYk5dQphKigxth0uwUwFu+WnzhQWdCtJx8aki+CpV8qoKG1pNk9dg6+oxCM1zsfnEJU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2/20/19
to cesium-dev
Thanks for the Sandcastle! I would say the easiest way to hide that is to place something opaque in the hole, since the other problem is you can see the star map through the hole. 

Is that an option for you? If not, can you tell me a bit about your use case here? 

mholt...@gmail.com

unread,
Feb 20, 2019, 9:54:40 AM2/20/19
to cesium-dev
This hole should open the globe at a specific defined region for the user to see subsurface layers there (which are included through a tileset). If I insert something opaque, I think the layers in the hole wouldn be visible, too.
Like I said, I guess it's just cosmetics.

Omar Shehata

unread,
Feb 20, 2019, 1:01:28 PM2/20/19
to cesium-dev
Thanks for clarifying! Underground rendering is something on the roadmap. I don't have any easy solutions off the top of my head but I added a note about this here:

Reply all
Reply to author
Forward
0 new messages