Zudo
1
Hello Cesium community.
I am currently trying to display spheres on influence of bodies like the earth or the moon. I am doing this with czml files.
Here is how it renders for the moment for example with the earth or the moon :
The problem is that cesium seems not to support a really far zoom out.
Here you can see with the following gif when I zoom out, the sphere of influence is dissapearing before it should :

It seems like when a threshold of a given distance is passed, the scene do not display anything.
Is this a wanted behavior ? How can I still display my objects ?
Have a good day.
JL
jjhembd
2
Hi @Zudo, that looks like an interesting project!
You may need to adjust viewer.camera.frustum.far
to a larger value. See Interplenatary visualization settings problems - #15 by jumpjack.
Let us know if you run into any problems. One user had trouble with depth testing if the far plane was set to a very large value–see Not enough depth precision to render solar view? · Issue #8686 · CesiumGS/cesium · GitHub. But I haven’t been able to reproduce that problem in the latest version of CesiumJS.
1 Like
Zudo
3
Thank you @jjhembd ! I adjusted the value at 5e13 and I can now render the entire solar system :
Thanks a lot !
1 Like