diff --git a/Apps/Sandcastle/gallery/Atmosphere.html b/Apps/Sandcastle/gallery/Ground Atmosphere.html similarity index 96% rename from Apps/Sandcastle/gallery/Atmosphere.html rename to Apps/Sandcastle/gallery/Ground Atmosphere.html index d84f7ce6455e..7ca4fc5e6f2d 100644 --- a/Apps/Sandcastle/gallery/Atmosphere.html +++ b/Apps/Sandcastle/gallery/Ground Atmosphere.html @@ -4,7 +4,7 @@ - + Cesium Demo @@ -93,7 +93,6 @@ var toolbar = document.getElementById('toolbar'); Cesium.knockout.applyBindings(viewModel, toolbar); -// Make the skyAtmosphere's HSB parameters subscribers of the viewModel. function subscribeParameter(name) { Cesium.knockout.getObservable(viewModel, name).subscribe( function(newValue) { diff --git a/Apps/Sandcastle/gallery/Atmosphere.jpg b/Apps/Sandcastle/gallery/Ground Atmosphere.jpg similarity index 100% rename from Apps/Sandcastle/gallery/Atmosphere.jpg rename to Apps/Sandcastle/gallery/Ground Atmosphere.jpg diff --git a/Apps/Sandcastle/gallery/Atmosphere Color.html b/Apps/Sandcastle/gallery/Sky Atmosphere.html similarity index 100% rename from Apps/Sandcastle/gallery/Atmosphere Color.html rename to Apps/Sandcastle/gallery/Sky Atmosphere.html diff --git a/Apps/Sandcastle/gallery/Atmosphere Color.jpg b/Apps/Sandcastle/gallery/Sky Atmosphere.jpg similarity index 100% rename from Apps/Sandcastle/gallery/Atmosphere Color.jpg rename to Apps/Sandcastle/gallery/Sky Atmosphere.jpg diff --git a/CHANGES.md b/CHANGES.md index d3e9897219d2..684343ae06cc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,7 +13,6 @@ Change Log ### 1.50 - 2018-10-01 ##### Breaking Changes :mega: -* Renamed Ground Clamping Sandcastle example to [Clamp to Terrain](https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Clamp%20to%20Terrain.html). * Clipping planes on tilesets now use the root tile's transform, or the root tile's bounding sphere if a transform is not defined. [#7034](https://github.com/AnalyticalGraphicsInc/cesium/pull/7034) * This is to make clipping planes' coordinates always relative to the object they're attached to. So if you were positioning the clipping planes as in the example below, this is no longer necessary: ```javascript diff --git a/Source/Scene/Globe.js b/Source/Scene/Globe.js index 046831302706..f11fae378b1a 100644 --- a/Source/Scene/Globe.js +++ b/Source/Scene/Globe.js @@ -136,7 +136,9 @@ define([ this.enableLighting = false; /** - * Enable the ground atmosphere. + * Enable the ground atmosphere, which is drawn over the globe when viewed from a distance between lightingFadeInDistance and lightingFadeOutDistance. + * + * @demo {@link https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Ground%20Atmosphere.html|Ground atmosphere demo in Sandcastle} * * @type {Boolean} * @default true @@ -145,7 +147,7 @@ define([ /** * The distance where everything becomes lit. This only takes effect - * when enableLighting is true. + * when enableLighting or showGroundAtmosphere is true. * * @type {Number} * @default 10000000.0 @@ -154,7 +156,7 @@ define([ /** * The distance where lighting resumes. This only takes effect - * when enableLighting is true. + * when enableLighting or showGroundAtmosphere is true. * * @type {Number} * @default 20000000.0 diff --git a/Source/Scene/SkyAtmosphere.js b/Source/Scene/SkyAtmosphere.js index 644e781b262b..c1526fc6841b 100644 --- a/Source/Scene/SkyAtmosphere.js +++ b/Source/Scene/SkyAtmosphere.js @@ -51,7 +51,7 @@ define([ * {@link http://http.developer.nvidia.com/GPUGems2/gpugems2_chapter16.html|Accurate Atmospheric Scattering} * in GPU Gems 2. *

- * This is only supported in 3D. atmosphere is faded out when morphing to 2D or Columbus view. + * This is only supported in 3D. Atmosphere is faded out when morphing to 2D or Columbus view. *

* * @alias SkyAtmosphere @@ -62,6 +62,8 @@ define([ * @example * scene.skyAtmosphere = new Cesium.SkyAtmosphere(); * + * @demo {@link https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Sky%20Atmosphere.html|Sky atmosphere demo in Sandcastle} + * * @see Scene.skyAtmosphere */ function SkyAtmosphere(ellipsoid) {