Screen Space Error of a BoundingSphere

Hi,

How can i calculate the screen space error (sse) of a bounding sphere in Cesium?

Thanks

Hi there,

Bounding spheres don’t have screen space error – did you perhaps mean the size of the bounding sphere in pixels?

Best,

  • Rachel

Hi,

Yes i mean the size of the sphere in pixels. The screen space error is different?

J.

Hi there,

Check out this function" http://cesiumjs.org/Cesium/Build/Documentation/Camera.html?classFilter=camer#getPixelSize

Using that and taking the radius of your bounding sphere, you should easily be able to get the pixel with of your sphere.

Yes, screen space error refers to the calculated difference of the rendered canvas from “perfect” version, due to simplifications.

Hope that helps,

  • Rachel