TheCentralBody
primitive represents the globe (in a future Cesium version, any central body such as the Moon and Mars will be supported).
--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Currently, Cesium generally supports a single central body in a scene (the scene's "globe").
Other bodies can be rendered using an EllipsoidPrimitive (as done with the Moon) or as a custom billboard (as done with the Sun),
but their visual appearance is greatly simplified compared with how Earth is rendered (with terrain, imagery, etc.).
Scenes on other planets can be created by changing the ellipsoid of the (single) globe to instead reflect the other planet's shape, and then loading different imagery onto that geometry. I believe users have done this to create Mars-based applications. The ellipsoid is passed around in many places which all default to WGS84, but they should all allow passing a custom ellipsoid instead.
You're right that CZML doesn't specify the body that data is defined in, but generally it is all loaded relative to the scene's body, which defines the reference frame for cartesian coordinates specified in the CZML file.
On Thu, Oct 19, 2017 at 5:09 PM, <juan...@gmail.com> wrote:In poliastro, a Python library for Astrodynamics focused on interplanetary applications (http://docs.poliastro.space/), we were considering using Cesium and CZML to export 3D plots of orbits. However, I am not sure this is at all possible: the ability to specify a central body that is *not* the Earth is mentioned in this outdated roadmap from 2015:--
https://github.com/AnalyticalGraphicsInc/cesium/wiki/ArchitectureTheCentralBody
primitive represents the globe (in a future Cesium version, any central body such as the Moon and Mars will be supported).
However, there are no further references since then.On the other hand, by reading the simple.czml example I see that nowhere it is specified which central body do the satellites orbit:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Specs/Data/CZML/simple.czml
This means that I could focus on exporting an orbit as a correct CZML and leave the rest to the user. But I fear that this will lead to incorrect results because there are many Earth-based assumptions in Cesium.What do others think about this? Is it at all within Cesium vision?Kind regards,
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/_zKyk0fRd-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+unsubscribe@googlegroups.com.
Thanks Scott. Let me answer in-line:On Thu, Oct 19, 2017 at 11:48 PM, Scott Hunter <para...@gmail.com> wrote:Currently, Cesium generally supports a single central body in a scene (the scene's "globe").And how could I tell it to be Venus, Neptune or whatever other body?
Other bodies can be rendered using an EllipsoidPrimitive (as done with the Moon) or as a custom billboard (as done with the Sun),What do you mean by "as done with the Moon" or "with the Sun"? Do you have specific examples at hand?
You're right that CZML doesn't specify the body that data is defined in, but generally it is all loaded relative to the scene's body, which defines the reference frame for cartesian coordinates specified in the CZML file.So if I understood correctly, given a CZML there's no way to know which body it originated from. Is that correct? Perhaps there is some metadata that I can use for that? Even some simple parameters like the gravitational parameter or the radius would suffice.
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/_zKyk0fRd-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.