Points on the opposite side of globe can be seen with disableDepthTestDistance

I've been playing around with the fairly recent addition of disableDepthTestDistance, but I've been using it with pointprimitives and it seems to display points on the opposite side of the globe.

I would have expected the same behavior as if viewer.scene.depthTestAgainstTerrain=false (which still hides points on the opposite side of the globe), but that doesn't seem to be the case here..

I've created an example that demonstrates this here:

Is this supposed to be the intended behavior?

Hi – Yep! This is the intended behavior when you set depth test to positive infinity. This means that everything closer than infinity meters away (so, everything) ignores the depth test.

Best,

  • Rachel

Thanks Rachel!

I have an issue though. So if I change the distance to '1', everything works as expected until I zoom in to a point and then tilt the camera...

I've tried to demonstrate this with a few images here: http://imgur.com/a/aNMJH

I can't image this is expected behavior correct? The camera is definitely not a meter away from the points on the opposite side of the globe here..

Hi there,

This looks like a bug! Thanks for reporting this. Just so I can double check and share, can you share your code as a sandcastle example?

Thanks,

  • Rachel

Hi Rachel,

This is the example I used:

Thanks

I actually discovered another issue as well, not sure if it's related, but even just scrolling in and out (so no tilting) occasionally causes points from the other side to be visible for a brief second.

Thanks for reporting! I’ve created a new issue here and linked to this thread so we can notify you when we get a chance to fix it.

https://github.com/AnalyticalGraphicsInc/cesium/issues/5501

Best,

  • Rachel

Hello,

This issue has been fixed and will be included in the 1.37 release, available on September 1st.

Thanks!

Hannah