-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moon #1189
Conversation
Nice. The moon seems to elongate as it gets to the edges of the view. Is this because of the fov? Or is something else going on. I'm not saying it's a bug, I just don't understand why it happens. |
@@ -72,6 +72,7 @@ Beta Releases | |||
becomes | |||
|
|||
return primitives.add(new Primitive(/* ... */)); | |||
* Added `Moon`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expand a bit. We also added Iau2000Orientation.ComputeMoon
.
Do you get this failure in Firefox?
|
destroyObject, | ||
Iau2000Orientation, | ||
IauOrientationAxes, | ||
JulianDate, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't use JulianDate
. It also won't use Iau2000Orientation
after some changes.
@bagnell let's add I also encouraged @emackey to tweak the default FOV so we can see if we like it. |
Code looks good. Let's see if we can fix the z-order before merging. |
@pjcozzi This is ready for another review. |
Do we have a higher-res moon for the cesium-assets repository? I'd like to use this branch in an upcoming demo. |
*/ | ||
this.onlySunLighting = defaultValue(options.onlySunLighting, true); | ||
|
||
this._ellipsoidPrimitive = new EllipsoidPrimitive(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Want to merge #1194 and use the new ellipsoid options here?
Conflicts: Source/Scene/EllipsoidPrimitive.js
With the current far-to-near ratio, the maximum number of frustums I've seen is 3. For horizon views with the moon visible, the number of frustums is 3 and it is the same if the moon is not shown.
For views centered around the Earth, it will only add one command for the last frustum. If the view is centered on the moon, then the number of commands is one or two where it can overlap the first two frustums. |
Conflicts: CHANGES.md
Is this ready? |
@pjcozzi This is ready. |
Yes, I forgot to update the tests. They're fixed now. |
Looks good. We'll need do the labels at some point. #1218 |
Adds the Earth's moon.