forked from CesiumGS/cesium
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Upgrade Cesium #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New Button added to the top toolbar. CesiumGS#1898
If you removed an entity with geometry and then immediately added a new entity with the old entity's id, none of the geometry graphics would ever update because the visualizers had a handle to the old, removed entity.
…alidation Fix caching issue with entity geometry
CHANGES needed to be udpated. Also, after investigating further, I realized our doc has been inconsistent for a long time. We actually do support setting modelMatrix for batched geometry in 3D mode. The number of instances have no affect.
Add new button to SandCastle that loads Hello World example
As reported on [the forum](https://groups.google.com/d/msg/cesium-dev/conwnTxfDkk/9Z3I8pdTv2cJ).
As [reported on the forum](https://groups.google.com/d/msg/cesium-dev/Ti4jLsugBq4/13Qo5_daa68J), adding and then removing a billboard before the collection is updated causes a crash because we don't remove the billboards before trying to recreate the atlas. The new test I added fails in master but passes in this branch.
Fix crash when adding and removing a billboard before next update.
…orridors Fix Corridor Geometry for sharp corners
Fix doc and remove bad link.
…e-markers Make Sandcastle line markers more visible.
The code for removing items wasn't covered in the unit tests and we were missing an array indexer. New test crashes in master, passes in this branch.
Fix Geocoder styling issue in Safari.
…der-cache Added shader count to Cesium Inspector
RacingTadpole
pushed a commit
that referenced
this pull request
Nov 20, 2015
JulianDate creation from ISO8601 hours-minutes strings
RacingTadpole
pushed a commit
that referenced
this pull request
Feb 19, 2016
rdengate
pushed a commit
that referenced
this pull request
Apr 27, 2016
…ker_fixes Fix blinking on tile load
kring
pushed a commit
that referenced
this pull request
Mar 8, 2017
Update KmlDataSource documentation
tephenavies
pushed a commit
that referenced
this pull request
Sep 19, 2019
* Added tests for DiscardEmptyTileImagePolicy, updated CHANGES.md * Made comment on image blob loading error handling clearer. * fixed linter error - 'missing use strict' * Fix typo. * Remove fit. * Update CHANGES. * update CHANGES * eslint configuration updates and fixes * Update Node ecmaVersion to '2019'. * Enable [no-tabs](https://eslint.org/docs/rules/no-tabs). * Enabled [no-restricted-globals](https://eslint.org/docs/rules/no-restricted-globals) for jasmine `fit` and `fdescribe`. * Remove existing tabs from code-base. * Update eslint-config-cesium CHANGES and version Closes CesiumGS#7785 * Fix PostProcessStageTextureCache.clear, which previously didn't clear anything. * Multisampling in sdf shader to try to get rid of artifacts * Use DiscardEmptyTileImagePolicy for all Bing styles. This removes the need to inspect pixel values to detect the placeholder "missing tile" image. Also change `DiscardEmptyTileImagePolicy.EMPTY_IMAGE` to be a real (blank) image. This way we always satisfy the documented API of `requestImage`. Fixes CesiumGS#1353. * Add syntax to to delete data from properties via CZML. Specifying delete: true for any property will delete data for that property, depending on the type of property, for the specified interval (or if no interval is specified, then for all time). This deletes samples for sampled properties, or removes intervals for interval properties. * Much improved multisampling of the SDF text * Fixes CesiumGS#7827 * Fix double render. * First crack at importing AGI_articulations from glTF models. * Some tweaking, and add option to get list of articulations. * Add 3D Models Articulations demo. * Fixed writeTextToCanvas to properly position the text with padding above and below the glyph. Previously it was doubling the padding so it was always rendering the glyph at the very top of the canvas * Added bitmap-sdf library * Don't send ion access token to non-ion servers Some ion-hosted assets can still point to additional external servers as, part of their dataset. We were still appending the ion access_token in the Accept header to these servers, which is at best pointless but at worst would cause some CORS requests to fail because the Accept header was not allowed. * Update CHANGES * Added SDFSettings class to hold info about how SDF fonts are generated. Replaced tinySDF based code with a modified version of the original cesium text rendering to preserve positioning logic. Applying offsets in LabelCollection and Label bounding box compuation to account for padding in the glyphs to position things correctly. Enabled more unit tests in LabelCollectionSpec * Fix include * Simplified sdf shaders to push edge computation to the CPU. Deleted tiny-sdf * saving vertical origin in texture cache id * Updated unit tests * Documented totalScale in Label and using it in few places in LabelCollection * Updated Labels SDF gallery image * Add tests that delete data from custom properties since the code path is a bit different. * Hook up existing CheckerboardMaterialProperty to CZML. CheckerboardMaterialProperty was added to the entity API in CesiumGS#2385 but was forgotten for CZML. * Reduce Bing Maps transactions and ion Bing sessions This is a simple PR to try and minimize the number of Bing transactions and ion Bing sessions over the course of a page. While we can't cache Bing metadata or ion endpoints across sessions, this type of basic caching is allowed and should dramatically reduce use for certain use cases. 1. BingMapsImageryProvider now keeps a local cache of metadata for a given url/style. This means destroying and recreating instances multiple times still only uses a single transaction. 2. IonImageryProvider now caches endpoint requests. This means that creating multiple IonImageryProviders for the same Bing asset will only use a single Bing session. While use cases like Sandcastle, which uses an iframe, won't benefit at all from this change, applications that switch base layers often or destroy/recreate the viewer as part of a SPA will see dramatic improvement. * Initial commit of KML exporter * Update changes. * Removed unnecessary comments in Label.js * Fixed background padding size computation in LabelCollection so that the specified size in pixels is scaled properly when finally rendered * Update the API to be based on an articulation/stage key. * Got bilboards with styling pretty much there. Need to test (especially the hotspots) * Remove TODO, change model center point. * Check childTileMask if provider doesn't know tile availability. * Update CHANGES.md. * Tweak Sandcastle * Fixed memory leak * Tweaks after review. * Fixed error in old versions of ANGLE * Got points/billboards done. * First cut off LineStrings with materials * Don't rewrite Bing tile URLS. Instead, tell Bing what protocol we want. * MapboxStyleImageryProvider - Rename from MapboxStyleProvider - Modify CHANGES.md - Add reference to ImageryProvider class * Added support for Rectangle and Polygon graphics. * chore(package): update merge-stream to version 2.0.0 * Add test for articulations * Remove getter for articulationStageKeys, it's not useful by itself. * Started adding time support * Fixed memory leak when removing an DataSource * Added test * Update CHANGES.md * Got style caching working * Formatting * chore(package): update gulp-zip to version 5.0.0 * Fix credits * Ordering * Update url parameter type * Marked SDFSettings as private * Added comment to bitmap-sdf explaining what it is and what it does * Remove commented code * Fix for request render mode * Beginnings of test helper functions * CHANGES.md * Added a fallback for when GL_OES_standard_derivatives isn't available that just does a single sample with a fixed smoothing. * Code cleanup from review. * More testing * fix mitering bug with ground polylines over long distances * Add clarying doc about node transformation additive vs. replacement * Fix * Started work on CZML articulations demo. * Add Sandcastle example for new Montreal Point Cloud ion asset * Add thumbnail and improve description * Update for 1.58 * Fix ImageBitmap spec on Edge * 1.58.1 npm release * use tile.data.tileBoundingRegion.minimumHeight instead of tile.data.minimumHeight * update CHANGES.md * Add name to contributors * Add tests for Entity-level articulations * CHANGES.md * Verified all point/billboard exporting works as expected * Fixed Tracks/Multitracks * Add render state to copy color command. This makes viewer/scissor work for billboards in zoomed out 2D View * Update CHANGES.md * Make sure 204 image requests reject when using ImageBitmap * Make ImageBitmap test only run when ImageBitmap is supported * Update changes [ci skip] * update changes.md * Added tests for dynamic points. Added code for path graphics and labels. Fixed polygons. Fixed handling of default intervals * Added a bunch of tests * Polygon and Polyline tests work. * Models * Fixed typo in LineString * Tweak CSS styling of standalone Sandcastle loader * Gamma correct fix for polylines * CHANGES.md * Ground Overlay support * Add articulation tests to CzmlDataSourceSpec.js * Reorder code in entity layer to have consistent order of properties. Previously the list of properties for each type of Graphics in the entity layer was different everywhere. This made it quite difficult to compare the set of properties in the code vs the set of properties in CZML. I went through and reordered all these locations to have properties in the same order in each. * The documentation for the constructor for each graphics type * The content of the constructor (initializing `_property` and `_propertySubscription` to `undefined`) * The public get/set properties * The contents of the `clone` function for each graphics type * The contents of the `merge` function for each graphics type * The code assigning the values of properties in `CzmlDataSource`. Also add some missing functionality to `CzmlDataSource`: `box.heightReference` `cylinder.heightReference` `ellipsoid.heightReference` `corridor.classificationType` `ellipse.classificationType` `polygon.classificationType` `polyline.classificationType` `rectangle.classificationType` * Update validation document. * Update validation document. * Updated Corporate CLA * Update deprecated Travis command * support for ArcGISTiledElevationTerrainProvider * Added ArcGISTiledElevationTerrainProvider under Additions/1.59. * More useful error message for ImageBitmap * Add Cesium GS to CONTRIBUTORS.md * Solve struct ellipsoid caused the model to dark Solved the problem that struct ellipsoid caused the model to darken on Qualcomm platform * fix: 3dtile dark fix: 3dtile dark * Revert "Solve struct ellipsoid caused the model to dark" This reverts commit d6f91aa. * Added tests for missing coverage areas, we now return external files as a collection of blobs and we now handle inertial positions. * eslint * Removed debugging info from Labels SDF sandcastle demo * Changed SDF vertex attributed to be a vec2 instead of a vec4 since the z and w components were 0 * Storing canvas width and height in local variables in LabelCollection Storing imageIndex as a local variable to avoid redundant compuations * Remove blank line in BillboardCollectionFS.glsl * Added bitmap-sdf to third party section of LICENSE.md * Renamed SDF to SDF_INDEX to match other index location naming convention. * Added table closing tag in Labels SDF example * Updated doc * Changed class to a function, updated doc and fixed tests * Fixed example * Update CHANGES and CONTRIBUTORS * Oops * Fixed issue if data uris are used for images * Added KMZ export and a test for it. * Updated Doc * remove czm_ellipsoid struct remove function czm_getWgs84EllipsoidEC remove struct czm_ellipsoid add Constant czm_ellipsoid_radii add Constant czm_ellipsoid_inverseRadii * Delete unused files Delete unused files * Update CONTRIBUTORS.md * Revert "Merge pull request #1 from verybigzhouhai/3dtile-dark01" This reverts commit f383685, reversing changes made to b2588e4. * Delete ellipsoidNew.glsl * modify Constant Name modify constant name * Our zip library isn't thread safe. Files must be add sequentially * Fixed factorial to actually work. It would only work if you called it in a loop in order, so I changed the test to not do that * Update CHANGES.md * Update CHANGES.md * Export KML sandcastle example. Needed to add ability for modelCallback to add to externalFiles. * Added test * eslint * add note and update CHANGES.md add note and update CHANGES.md * Update CLA instructions * Missing info in CHANGES * Reordered CHANGES * Updated ion token and package.json version * Updated Sandcastle filename with a case difference * Replace old CLA txt with new CLA PDF * Added link to Labels SDF sandcastle example to CHANGES.md Added Label.totalScale property to CHANGES.md * update export KML doc and Sandcastle * Changed getFontInfo function to be parseFont and moved it to Label. Rather than keeping a fontInfoCache in LabelCollection the font properties are stored on the Label itself and the parseFont function is called when the font string changes. * link update * fix * Make PolygonGraphics.hierarchy always produce a PolygonHierarchy. For backwards compatibility we preserve the existing behavior of allowing an array of positions to be set. This makes the behavior more closely match the documentation. The ability to set an array of positions was undocumented, though some Sandcastle examples do this. This removes the need for conversion in PolygonGeometryUpdater at the point where the data is used. * Make code more consistent between processArrayPacketData and processPositionsPacketData * Clean up test code. Use CzmlDataSource.load in most tests. Compare against the values from the packet data rather than copy/pasting the expected values. * Add support for polygons with holes to CzmlDataSource. * Add additional tests * Add more tests. Fix incorrect behavior with reference arrays specified using intervals. * Add more tests. * Update validation document. * Add more tests. * In PolygonHierarchy, holes needs to be an array of PolygonHierarchy. * Add holes to CZML polygon Sandcastle examples. * fix typo * update CHANGES * fix typo * update CHANGES * Regenerate validation document and assertions. * fix typo
tephenavies
pushed a commit
that referenced
this pull request
Sep 19, 2019
reginapramesti
pushed a commit
that referenced
this pull request
Apr 8, 2020
kring
pushed a commit
that referenced
this pull request
Oct 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Most importantly, this fixes a crash when a polygon's vertices change.