You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2024. It is now read-only.
Copy file name to clipboardexpand all lines: CHANGES.md
+39-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,45 @@
1
1
Change Log
2
2
==========
3
3
4
+
### 1.11 - 2015-07-01
5
+
6
+
* Breaking changes
7
+
* Removed `Scene.fxaaOrderIndependentTranslucency`, which was deprecated in 1.10. Use `Scene.fxaa` which is now `true` by default.
8
+
* Removed `Camera.clone`, which was deprecated in 1.10.
9
+
* Deprecated
10
+
* The STK World Terrain url `cesiumjs.org/stk-terrain/world` has been deprecated, use `assets.agi.com/stk-terrain/world` instead. A redirect will be in place until 1.14.
11
+
* Deprecated `AxisAlignedBoundingBox.intersect` and `BoundingSphere.intersect`. These will be removed in 1.13. Use `AxisAlignedBoundingBox.intersectPlane` and `BoundingSphere.intersectPlane` instead.
12
+
* Deprecated `ObjectOrientedBoundingBox`. It will be removed in 1.12. Use `OrientedBoundingBox` instead.
13
+
* Improved camera flights. [#2825](https://github.com/AnalyticalGraphicsInc/cesium/pull/2825)
14
+
* The camera now zooms to the point under the mouse cursor.
15
+
* Added a new camera mode for horizon views. When the camera is looking at the horizon and a point on terrain above the camera is picked, the camera moves in the plane containing the camera position, up and right vectors.
16
+
* Improved terrain and imagery performance and reduced tile loading by up to 50%, depending on the camera view, by using the new `OrientedBoundingBox` for view frustum culling. See [Terrain Culling with Oriented Bounding Boxes](http://cesiumjs.org/2015/06/24/Oriented-Bounding-Boxes/).
17
+
* Added `UrlTemplateImageryProvider`. This new imagery provider allows access to a wide variety of imagery sources, including OpenStreetMap, TMS, WMTS, WMS, WMS-C, and various custom schemes, by specifying a URL template to use to request imagery tiles.
18
+
* Fixed flash/streak rendering artifacts when picking. [#2790](https://github.com/AnalyticalGraphicsInc/cesium/issues/2790), [#2811](https://github.com/AnalyticalGraphicsInc/cesium/issues/2811)
19
+
* Fixed 2D and Columbus view lighting issue. [#2635](https://github.com/AnalyticalGraphicsInc/cesium/issues/2635).
20
+
* Fixed issues with material caching which resulted in the inability to use an image-based material multiple times. [#2821](https://github.com/AnalyticalGraphicsInc/cesium/issues/2821)
21
+
* Improved `Camera.viewRectangle` so that the specified rectangle is now better centered on the screen. [#2764](https://github.com/AnalyticalGraphicsInc/cesium/issues/2764)
22
+
* Fixed a crash when `viewer.zoomTo` or `viewer.flyTo` were called immediately before or during a scene morph. [#2775](https://github.com/AnalyticalGraphicsInc/cesium/issues/2775)
23
+
* Fixed an issue where `Camera` functions would throw an exception if used from within a `Scene.morphComplete` callback. [#2776](https://github.com/AnalyticalGraphicsInc/cesium/issues/2776)
24
+
* Fixed camera flights that ended up at the wrong position in Columbus view. [#802](https://github.com/AnalyticalGraphicsInc/cesium/issues/802)
25
+
* Fixed camera flights through the map in 2D. [#804](https://github.com/AnalyticalGraphicsInc/cesium/issues/804)
26
+
* Fixed strange camera flights from opposite sides of the globe. [#1158](https://github.com/AnalyticalGraphicsInc/cesium/issues/1158)
27
+
* Fixed camera flights that wouldn't fly to the home view after zooming out past it. [#1400](https://github.com/AnalyticalGraphicsInc/cesium/issues/1400)
28
+
* Fixed flying to rectangles that cross the IDL in Columbus view and 2D. [#2093](https://github.com/AnalyticalGraphicsInc/cesium/issues/2093)
29
+
* Fixed flights with a pitch of -90 degrees. [#2468](https://github.com/AnalyticalGraphicsInc/cesium/issues/2468)
30
+
*`Model` can now load Binary glTF from a `Uint8Array`.
31
+
* Fixed a bug in `ImageryLayer` that could cause an exception and the render loop to stop when the base layer did not cover the entire globe.
32
+
* The performance statistics displayed when `scene.debugShowFramesPerSecond === true` can now be styled using the `cesium-performanceDisplay` CSS classes in `shared.css`[#2779](https://github.com/AnalyticalGraphicsInc/cesium/issues/2779).
33
+
* Added `Plane.fromCartesian4`.
34
+
* Added `Plane.ORIGIN_XY_PLANE`/`ORIGIN_YZ_PLANE`/`ORIGIN_ZX_PLANE` constants for commonly-used planes.
* Added `Matrix2`/`Matrix3.multiplyByScale` for multiplying against non-uniform scales.
37
+
* Added `projectPointToNearestOnPlane` and `projectPointsToNearestOnPlane` to `EllipsoidTangentPlane` to project 3D points to the nearest 2D point on an `EllipsoidTangentPlane`.
38
+
* Added `EllipsoidTangentPlane.plane` property to get the `Plane` for the tangent plane.
39
+
* Added `EllipsoidTangentPlane.xAxis`/`yAxis`/`zAxis` properties to get the local coordinate system of the tangent plane.
* Add `TerrainMesh.orientedBoundingBox` which holds the `OrientedBoundingBox` for the mesh for a single terrain tile.
42
+
4
43
### 1.10 - 2015-06-01
5
44
6
45
* Breaking changes
@@ -52,7 +91,6 @@ Change Log
52
91
* Added debug option to `Scene` to show the depth buffer information for a specified view frustum slice and exposed capability in `CesiumInspector` widget.
53
92
* Added new leap second for 30 June 2015 at UTC 23:59:60.
54
93
* Upgraded Autolinker from version 0.15.2 to 0.17.1.
55
-
* Improved the algorithm that `Camera.viewRectangle` uses to select the position of the camera, so that the specified rectangle is now better centered on the screen.
deprecationWarning('AxisAlignedBoundingBox.intersect','AxisAlignedBoundingBox.intersect() was deprecated in Cesium 1.11. It will be removed in 1.12. Use AxisAlignedBoundingBox.intersectPlane() instead.');
// The center point is negative side of the plane normal
@@ -775,6 +796,27 @@ define([
775
796
returnIntersect.INSIDE;
776
797
};
777
798
799
+
varscratchPlane=newPlane(newCartesian3(),0.0);
800
+
/**
801
+
* Determines which side of a plane a sphere is located.
802
+
*
803
+
* @deprecated
804
+
* @param {BoundingSphere} sphere The bounding sphere to test.
805
+
* @param {Cartesian4} plane The coefficients of the plane in Hessian Normal Form, as `ax + by + cz + d = 0`,
806
+
* where (a, b, c) must be a unit normal vector.
807
+
* The coefficients a, b, c, and d are the components x, y, z,
808
+
* and w of the {@link Cartesian4}, respectively.
809
+
* @returns {Intersect} {@link Intersect.INSIDE} if the entire sphere is on the side of the plane
810
+
* the normal is pointing, {@link Intersect.OUTSIDE} if the entire sphere is
811
+
* on the opposite side, and {@link Intersect.INTERSECTING} if the sphere
812
+
* intersects the plane.
813
+
*/
814
+
BoundingSphere.intersect=function(sphere,plane){
815
+
deprecationWarning('BoundingSphere.intersect','BoundingSphere.intersect() was deprecated in Cesium 1.11. It will be removed in 1.12. Use BoundingSphere.intersectPlane() instead.');
816
+
varp=Plane.fromCartesian4(plane,scratchPlane);
817
+
returnBoundingSphere.intersectPlane(sphere,p);
818
+
};
819
+
778
820
/**
779
821
* Applies a 4x4 affine transformation matrix to a bounding sphere.
780
822
*
@@ -1041,6 +1083,20 @@ define([
1041
1083
/**
1042
1084
* Determines which side of a plane the sphere is located.
1043
1085
*
1086
+
* @param {Plane} plane The plane to test against.
1087
+
* @returns {Intersect} {@link Intersect.INSIDE} if the entire sphere is on the side of the plane
1088
+
* the normal is pointing, {@link Intersect.OUTSIDE} if the entire sphere is
1089
+
* on the opposite side, and {@link Intersect.INTERSECTING} if the sphere
0 commit comments