Commit Graph

627 Commits

Author SHA1 Message Date
Jeshurun Hembd 3011918ea5 Simplify helper functions in CustomShaderPipelineStage 2023-07-05 19:01:09 -04:00
Gabby Getz ddfc7eb050
Merge pull request #11392 from hongfaqiu/main
fix: rectanglePromise.then is not a function
2023-07-05 17:34:57 -04:00
Gabby Getz d3d717a2d1 add unit test 2023-07-05 17:17:32 -04:00
Jeshurun Hembd 2412404300
Merge pull request #11365 from CesiumGS/tile-bv-metadata
Allow using tile metadata to store a tighter bounding box for implicit tiling
2023-07-05 11:10:51 -05:00
hongfaqiu a03806f571 fix: rectanglePromise.then is not a function 2023-07-05 21:37:55 +08:00
Denizhan Eroğlu fa3f043fc0
fix: Fix typo coordinates 2023-07-04 14:24:31 +03:00
Jeshurun Hembd 4f79991fd9 Set glslType for tangentEC in CustomShaders 2023-07-04 03:12:41 -04:00
Gabby Getz 9ceb96088e Fix zoom to time dynamic point cloud 2023-07-03 13:14:02 -04:00
Gabby Getz 4b41e247ef Updates for 1.107 release 2023-07-03 11:39:59 -04:00
Peter Gagliardi fff3926495 Address PR feedback 2023-07-03 11:30:58 -04:00
Gabby Getz 318331413d
Merge pull request #11387 from CesiumGS/dependency-updates
Update outdated NPM dependencies
2023-07-03 11:13:39 -04:00
Gabby Getz 248a6b068e Terrain ready fix 2023-07-03 11:13:03 -04:00
Jeshurun Hembd b3d8833336
Merge pull request #11382 from CesiumGS/terrain-crash-fix
Fix crash due to terrain loading race condition
2023-07-03 09:01:10 -05:00
Jeshurun Hembd f3d1a479eb Update outdated NPM dependencies
Update tween.js

Update markdownlint-cli

Update esbuild
2023-07-03 09:16:53 -04:00
Jeshurun Hembd dc370b7bf5
Merge pull request #11379 from CesiumGS/remove-ready
Remove deprecated API for 1.107
2023-07-03 07:48:04 -05:00
Jeshurun Hembd d473cb395d Remove leftover ready stuff from Voxels 2023-07-01 12:23:48 -04:00
Gabby Getz fb18bfb2f2 Fix crash due to terrain loading race condition 2023-06-30 16:28:58 -04:00
Gabby Getz 2c8a128b16 Cleanup I3S specs 2023-06-30 13:46:22 -04:00
Gabby Getz 51aae2d210 Fix typescript tests 2023-06-29 16:55:23 -04:00
Gabby Getz d9cacbc53b Merge branch 'main' into remove-ready 2023-06-29 16:42:45 -04:00
Gabby Getz 3137dab3a6 Workspace depedencies now use caret versions 2023-06-29 15:54:42 -04:00
Gabby Getz e1184ef917 Remove deprecated API for 1.107 2023-06-29 15:44:29 -04:00
jinjun 91d9e7fec8 drawingBufferWidth 2023-06-27 13:57:22 +08:00
Peter Gagliardi cbe0be2eb5 Add a unit test for Cesium3DTile 2023-06-22 09:30:54 -04:00
Peter Gagliardi 1eec5e2d78 Create a BoundingVolumeSemantics namespace 2023-06-21 16:18:34 -04:00
IKangXu 70b104acc5 Fixed optimized code. 2023-06-21 08:47:14 +08:00
IKangXu d343838b86
Merge branch 'main' into main 2023-06-21 08:39:54 +08:00
Peter Gagliardi 28f2478fe0 Proof of concept for handling TILE_BOUNDING_BOX 2023-06-20 16:42:46 -04:00
Jeshurun Hembd 3144d58d24 Merge branch 'main' into fix-debug-label 2023-06-20 09:24:14 -04:00
Jeshurun Hembd cd5d6087d4
Merge pull request #11360 from CesiumGS/fix-czml-tileset-show
Fix crash with hidden 3D Tileset in CZML
2023-06-16 17:31:36 -05:00
Gabby Getz 908b3741c5 Fix crash with hidden 3D Tileset in CZML 2023-06-16 10:36:08 -04:00
Gabby Getz a9b9566a6b Fix 3D Tiles debug label rendering 2023-06-16 09:39:16 -04:00
IKangXu e767bae9e5 Fixed Insufficient buffer size thrown by rendering 3dtiles. 2023-06-16 16:03:47 +08:00
Gabby Getz 86621987b9 Fix credit display for hidden imagery layers 2023-06-12 15:04:38 -04:00
Ed Mackey 63b303d8ef Fix documented prototype class on Model.incrementallyLoadTextures 2023-06-10 13:52:41 -04:00
Gabby Getz cc66d4d83f
Merge branch 'main' into fragment-output 2023-06-07 16:34:57 -04:00
Gabby Getz 5de34c26a5
Merge pull request #11310 from CesiumGS/tileset-cache
Enforce memory limit for `Cesium3DTilesetCache`
2023-06-07 16:33:35 -04:00
Gabby Getz 26adf79a6e
Merge pull request #11327 from e3dio/patch-1
docs typo
2023-06-07 15:41:24 -04:00
Jeshurun Hembd f1baff4e30 Second round PR feedback 2023-06-07 14:27:02 -04:00
Jeshurun Hembd 363aa53267 Fix fragment shader output variable in DerivedCommand 2023-06-07 13:21:19 -04:00
Jeshurun Hembd 4e99c91511 Allow maximumCacheOverflowBytes == 0, and warn if too small 2023-06-07 11:31:22 -04:00
Jeshurun Hembd cbd8c8be27 Fix documentation for HeadingPitchRollValues 2023-06-06 10:41:17 -04:00
Jeshurun Hembd 9eff54842a Update PointCloudStylingPipelineStageSpec 2023-06-05 19:20:29 -04:00
Jeshurun Hembd 4087cd42e0 Merge branch 'main' into tileset-cache 2023-06-05 19:15:22 -04:00
Jeshurun Hembd 57fe7926a1 First round PR feedback 2023-06-05 19:01:41 -04:00
Gabby Getz bb41864053
Merge pull request #11331 from CesiumGS/gltf-pipeline
Update gltf-pipeline files
2023-06-05 09:28:34 -04:00
Matthew Amato 6ddd80e7d0 Update gltf-pipeline
Contains:
* https://github.com/CesiumGS/gltf-pipeline/pull/631
* https://github.com/CesiumGS/gltf-pipeline/pull/637
2023-06-02 22:39:52 -04:00
Jeshurun Hembd ea8ba5eadd Update widgets version 2023-06-02 14:12:46 -04:00
e3dio e9ca417e2a
docs typo 2023-06-01 13:18:25 -07:00
Jeshurun Hembd d11b746e58 Updates for 1.106 release 2023-05-31 18:08:12 -04:00
Jeshurun Hembd b2d169d75e
dependency updates (#11325)
* Update dependencies

* Update tween.js

* Revert tween.js version (see #11324)

* Revert dependency changes that only affected patch versions

---------

Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
2023-06-01 12:33:17 -04:00
Jeshurun Hembd f0dc559b1b
Merge pull request #11319 from CesiumGS/tracked-entity-fix
Fix for zoom on tracked entity
2023-05-31 12:02:51 -05:00
IKangXu b741605f4e
Fixed label background rendering. (#11293)
* Fixed label background rendering.

* Add IKangXu (@IKangXu) to the list of contributors and update changes.md

* Update CHANGES.md

* Fix background image for label

---------

Co-authored-by: IKangXu <xukang@emapgis.com>
2023-05-31 10:03:25 -04:00
Gabby Getz c2f7e64ef8 Fix for zoom on tracked entity 2023-05-30 14:53:36 -04:00
Jeshurun Hembd 9c3e810565 Rename cacheHeadroomBytes to maximumCacheOverflowBytes 2023-05-29 19:52:26 -04:00
Jeshurun Hembd 558fcdb793 Require cacheHeadroomBytes to be at least 10 MB 2023-05-29 19:52:26 -04:00
Jeshurun Hembd 4e8006e30d Use larger cache size in createGooglePhotorealistic3DTileset 2023-05-29 19:52:26 -04:00
Jeshurun Hembd a8ddd9749c Tweak memory-adjusted screen space error functions 2023-05-29 19:52:26 -04:00
Jeshurun Hembd 703a39f82a Use cacheHeadroomBytes to specify memory limit for tileset cache 2023-05-29 19:52:26 -04:00
Jeshurun Hembd 92d7493132 Fix failing tests and types
Remove console.logs
2023-05-29 19:52:11 -04:00
Jeshurun Hembd 860dfb38b1 Add cachedBytes and maximumCachedBytes tileset options 2023-05-29 19:49:46 -04:00
Jeshurun Hembd c93423aebb Sort tileset processing queue when hitting memory limit 2023-05-29 19:49:46 -04:00
Jeshurun Hembd 0fa7440b04 Adjust tileset screen space error if out of memory 2023-05-29 19:49:46 -04:00
Jeshurun Hembd 3906ba3621
Merge pull request #11311 from CesiumGS/terrain-deprecation-fixes
Terrain & imagery provider ready deprecation fixes
2023-05-26 10:53:29 -05:00
Gabby Getz 6418099880 Fix readyPromise condition 2023-05-26 10:38:20 -04:00
Gabby Getz 3b58c726cd Terrain deprecation fixes 2023-05-25 14:00:05 -04:00
Alexander Popoff 2f409a4b4b
Fixed color creation from CSS color string with modern "space-separated" syntax (#11271)
* Fix `Color.fromCssColorString` in case of parsing `rgb(a)`/`hsl(a)` CSS colors with modern "space-separated" syntax

* Add `Alexander Popoff` (@aerialist7) to the list of contributors

* Escaping

* Disable `/` parsing

* Fix regexps

* Only remove surrounding whitespace from color strings

* Enable `/` parsing

* Formatting

* Make sure availability tiles are loaded before deciding there is no terrain at that x, y, level

* Return the correct promise

* Update CHANGES.md

* Adjust camera controls for 3D

* Use first picked position in drag when possible

* Use pick position direction for panning

* Only use new camera controls when globe is false

* Spin3d should fallback to old behavior when globe is defined

* pick globe on spin3d

* Fallback to old behavior for spin3d

* Updates for Google Photorealistic 3D Tiles

* Updates for 1.105.1 release

* Fix doc for Entity.prototype.computeModelMatrix (#11277)

Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>

* Update widgets version

* fixed datasource display visualizer callback typedef (#11294)

* Add TextureUniform type for setUniform value type (#11284)

* Add unit test

* Enable standard derivatives extension in demodernizeShader

* Update CHANGES.md

---------

Co-authored-by: Gabby Getz <gabby@cesium.com>
Co-authored-by: Jeshurun Hembd <41167620+jjhembd@users.noreply.github.com>
Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
Co-authored-by: Ben Kuster <bkuster@vc.systems>
Co-authored-by: Frédéric Junod <frederic.junod@camptocamp.com>
2023-05-25 10:45:45 -04:00
Jeshurun Hembd 95c5e60a27 Enable standard derivatives extension in demodernizeShader 2023-05-24 01:25:24 -04:00
Gabby Getz fa78047931 Add unit test 2023-05-19 14:11:32 -04:00
Gabby Getz 1a58698500
Merge branch 'main' into terrain-availability 2023-05-18 17:14:34 -04:00
Gabby Getz 0c69d1bcf4 Return the correct promise 2023-05-18 16:54:45 -04:00
Frédéric Junod c60dd09dbd
Add TextureUniform type for setUniform value type (#11284) 2023-05-18 11:18:53 -04:00
Ben Kuster afab16dfe1
fixed datasource display visualizer callback typedef (#11294) 2023-05-18 11:17:08 -04:00
Gabby Getz f573f11e03 Update widgets version 2023-05-15 09:24:17 -04:00
Jeshurun Hembd d35385f4f9
Fix doc for Entity.prototype.computeModelMatrix (#11277)
Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
2023-05-11 14:59:54 -04:00
Gabby Getz 633f5153b4 Updates for 1.105.1 release 2023-05-10 14:45:23 -04:00
Gabby Getz 8e3861e23d Updates for Google Photorealistic 3D Tiles 2023-05-10 14:08:59 -04:00
Gabby Getz 3206a78957 Fallback to old behavior for spin3d 2023-05-10 13:40:03 -04:00
Gabby Getz f33188bba9 pick globe on spin3d 2023-05-10 12:06:51 -04:00
Gabby Getz 46042ef2ec Spin3d should fallback to old behavior when globe is defined 2023-05-10 11:47:48 -04:00
Gabby Getz 1b5c133d5f Only use new camera controls when globe is false 2023-05-10 09:47:16 -04:00
Gabby Getz 6a4e6fa925 Use pick position direction for panning 2023-05-09 17:40:07 -04:00
Gabby Getz b35ac36855 Make sure availability tiles are loaded before deciding there is no terrain at that x, y, level 2023-05-08 14:54:10 -04:00
Gabby Getz 8f6e3ec7c5 Use first picked position in drag when possible 2023-05-05 11:18:06 -04:00
Gabby Getz 92049b8092 Adjust camera controls for 3D 2023-05-03 14:46:15 -04:00
Gabby Getz a1b0da48e1 Tweak doc formatting 2023-05-01 10:33:58 -04:00
Gabby Getz 787a86a636 Changes for 1.105 release 2023-05-01 09:34:16 -04:00
Jeshurun Hembd adda8cf76f
Merge pull request #11256 from CesiumGS/geocoding-credit
Add geocoding credits
2023-04-28 15:05:15 -05:00
Jeshurun Hembd 55ccd4459f Fix typos in comments 2023-04-28 15:07:55 -04:00
Gabby Getz e9abc4105c De-dupe static credits 2023-04-28 10:42:22 -04:00
Gabby Getz 2bd8dadacc Remove default ion geocoder credit 2023-04-27 15:28:57 -04:00
Gabby Getz 8aaf8ba158 Cleanup geocoder services, update CHANGES.md 2023-04-27 13:24:34 -04:00
Gabby Getz 80920cb240 Add geocoder credits 2023-04-27 12:28:43 -04:00
Gabby Getz 0700f49879 Update requestsByServer defaults 2023-04-25 09:23:39 -04:00
Jeshurun Hembd 63e74d1e10
Merge pull request #11250 from CesiumGS/npm-updates
dependency updates
2023-04-24 18:15:04 -04:00
Jeshurun Hembd aa24cb335c
Merge pull request #11241 from CesiumGS/credits
CreditDisplay.addCreditToNextFrame and CreditDisplay.addStaticCredit
2023-04-24 17:27:45 -04:00
Jeshurun Hembd c9ace662cc
Use alpha from rendered scene in AmbientOcclusionModulate (#11247)
* Use alpha from rendered scene in AmbientOcclusionModulate

* Update CHANGES.md

* Fix coordinates for random texture sampling

---------

Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
2023-04-24 16:10:38 -04:00
Gabby Getz c740db3848 Update dependencies 2023-04-24 15:55:20 -04:00
Gabby Getz 25f983ef7b Merge branch 'main' into credits 2023-04-24 11:28:20 -04:00
Gabby Getz e868a33d2a Cleanup property names 2023-04-24 11:27:18 -04:00
Jeshurun Hembd 781d7ac921 Fix typo in deprecation messages 2023-04-21 18:45:38 -04:00
Jeshurun Hembd f61767e016
Fix out_FragColor handling in demodernizeShader (#11230)
* Fix out_FragColor regexes in demodernizeShader

* Update CHANGES.md

---------

Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
2023-04-21 11:26:24 -04:00
Jeshurun Hembd c529d8d876
Fix icons in base layer picker widget (#11244)
* Fix iconUrls in createDefaultImageryProviderViewModel

* Rename ArcGis baselayer icons

---------

Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
2023-04-21 09:13:31 -04:00
Jeshurun Hembd 1aba3e06d0 Merge branch 'main' into models-gltf 2023-04-20 11:53:27 -04:00
qiuyan_wang 65b6944f9f
update the UniformType : mat3 (#11235)
* update the UniformType : mat3

* add CONTRIBUTORS.md

* Update CHANGES.md with adding a summary about this change.

---------

Co-authored-by: Gabby Getz <gabby@cesium.com>
2023-04-20 09:58:44 -04:00
Kirill Shapovalov bed30771dd
Allow Cesium3DTileStyle with conditionally undefined scaleByDistance, translucencyByDistance and distanceDisplayCondition (#11228)
* Allow per feature undefined values in Cesium3DTileStyle

Allow to use StyleExpression for scaleByDistance. translucencyByDistance, distanceDisplayCondition which returns undefined for some objects

* update CONTRIBUTORS

* fix code style

* fix code style

* Update CHANGES.md

* Update CHANGES.md

* Update CHANGES.md

* Add test for style options witch can be evaluated to undefined

* Add test for style options witch can be evaluated to undefined

* Add test for style options witch can be evaluated to undefined
2023-04-20 09:57:41 -04:00
Gabby Getz 0426baa389 CreditDisplay.addCreditToNextFrame and CreditDisplay.addStaticCredit 2023-04-19 15:56:46 -04:00
Jeshurun Hembd 7a337e2800
Reduce URI parsing (#11202)
* Add serverKey property to Request constructor options

* Avoid repeated calls to Resource.prototype.url

* Clean up url parsing in Resource.js

* Fix bugs in Resource.prototype.parseUrl

* Avoid re-parsing url in RequestScheduler.getServerKey

* Avoid re-parsing url in Resource.prototype.clone

* Move Resource constructor to top of file

* Avoid re-parsing url in Resource.prototype.getUrlComponent

* Restore placeholders in Resource.prototype.getUrlComponent

* Add specs for Request, incorporate PR feedback

* Fix Request.prototype.clone spec

* Clean up defaultClone helper in Resource

* Update CHANGES.md

---------

Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
Co-authored-by: Gabby Getz <gabby@cesium.com>
2023-04-19 10:53:13 -04:00
Tamrat Belayneh 45a2007b51
Add support for Access Token when creating an ArcGISMapServerImageryProvider (#11098)
* Implemented secure arcgis services access.

* updated arcgsis icons

* changes based on code review

* doc language revisions

* updates based on review and fixed failing tests

* clean up

* Cleanup

* Cleanup Documentation

* Cleanup test

* Simplify ArcGIS Developer key storage

* Update API key, fix casing, update release guide

* Fix changes.md

* File case fix

---------

Co-authored-by: George Owen <gowen@esri.com>
Co-authored-by: Gabby Getz <gabby@cesium.com>
2023-04-19 10:29:19 -04:00
Gabby Getz 7210197822 Update CHANGES.md 2023-04-18 14:25:10 -04:00
Gabby Getz bf7d09204d Allow grabbing gltf through the API 2023-04-18 14:19:35 -04:00
Jason Summercamp 002002c8e5
10957 zoom to entities without globe fix (#11226)
* fixed modelvisualizer.js

* updated contributors file

* added test case and refactored based on feedback

* updated CHANGES.md

* updated test case

* updated test case

* updated test case

* updated test case

* updated test case

* updated test case

* updated test case

* updated test case

* updated test case

* refactored test case

* Move createViewer, move zoomTo test

* defined

---------

Co-authored-by: Gabby Getz <gabby@cesium.com>
2023-04-18 09:50:10 -04:00
Gabby Getz efe190ba5c
Merge branch 'main' into frustum-fix 2023-04-12 12:55:18 -04:00
Jeshurun Hembd 689c23432d
Merge branch 'main' into fix-ortho-zoom-bug 2023-04-12 10:18:59 -04:00
bbbbx 05c225561a Add unit test 2023-04-12 00:41:13 +08:00
bbbbx 6f1083e6ce Fix rendering of emissive model 2023-04-11 20:37:46 +08:00
HuZehua 7c692f710f Fix some comments of Cesium3DTileset and Viewer 2023-04-10 17:50:52 +08:00
Joe Stanton b94a9ad72b
Merge branch 'CesiumGS:main' into contextoptions-fix 2023-04-07 14:07:38 -04:00
Gabby Getz 7a3a7e721f
Merge pull request #11109 from glathoud/glathoud-patch-1-atmosphere-performance
Performance improvement
2023-04-07 14:01:56 -04:00
Marco Hutter 45c5ad5e56 Fix scope of proxy definition 2023-04-07 17:52:31 +02:00
Joe Stanton 91cde95783 Updated tsd config to include ContextOptions in the widgets typescript definitions 2023-04-05 13:38:45 -04:00
Guillaume Lathoud 390e0b91f3
Update AtmosphereCommon.glsl: syntax adjustments 2023-04-05 07:12:30 +03:00
Jeshurun Hembd c2b7a86a7b Use Matrix4.multiplyTransformation to update tile transforms 2023-04-04 13:32:25 -04:00
Victor Malaret e7c8968151 Merge remote-tracking branch 'upstream/main' into czml-wgs84 2023-04-04 11:30:29 -04:00
Gabby Getz 5789679b2a Ensure offcenterFrustum's values are updated 2023-04-04 10:45:47 -04:00
Jeshurun Hembd 372175a458 Updates for 1.104 release 2023-04-03 16:22:06 -04:00
Gabby Getz e5fc2cbe85 Ensure flyTo is not using deprecated API 2023-04-03 16:06:31 -04:00
Jeshurun Hembd f0ed0c60c9 Replace calls to deprecated methods in Sandcastles 2023-04-03 15:54:32 -04:00
Gabby Getz 1e59b4c461 Set depthTestAgainstTerrain when using the viewer with baseLayerPicker enabled 2023-04-03 14:28:55 -04:00
Gabby Getz 3e3a965114 Fix bug with orthographic zoom 2023-04-03 13:05:46 -04:00
Gabby Getz 084194467b Don't create contexts in global scope in specs 2023-03-31 13:12:29 -04:00
Victor Malaret 4195cb76c4 add tests for non-standard ellipsoid 2023-03-31 11:39:29 -04:00
Gabby Getz b80a4bfc1a Fix doc 2023-03-30 11:01:32 -04:00
Gabby Getz 74379abaee Merge branch 'main' into headers 2023-03-30 09:27:19 -04:00
Gabby Getz bbff4e6b57 Set cesium client version headers for ion requests 2023-03-30 09:20:41 -04:00
Gabby Getz dfc4eb8703 Send X-Cesium-Client header in ion requests 2023-03-29 16:32:07 -04:00
Jeshurun Hembd 72a4215236
Merge branch 'main' into no-ready-promises 2023-03-29 14:30:32 -05:00
Gabby Getz ef5a6e051f
Merge branch 'main' into fix-debug-camera-primitive-render-error 2023-03-29 15:22:31 -04:00
Gabby Getz 45b0ad146e
Merge pull request #11167 from CesiumGS/skip-traversal
Refactor Cesium3DTileset traversal types into separate classes
2023-03-29 14:43:57 -04:00
Gabby Getz 6019435270 Remove readyPromise from i3s spec 2023-03-29 14:00:50 -04:00
Gabby Getz 36b4c39bd2 Fix documentation type 2023-03-29 12:39:12 -04:00
Jeshurun Hembd 12a2f2899e Update ion URL in RequestScheduler 2023-03-29 11:15:05 -04:00
Guillaume Lathoud 7a35fa9624
Add WebGL1 support to AtmosphereCommon.glsl 2023-03-29 07:41:41 +03:00
Jeshurun Hembd a5cc2b055d Standardize whitespace, clarify comments in AtmosphereCommon.glsl 2023-03-28 19:27:13 -04:00
Jeshurun Hembd 72fddd6855
Merge branch 'no-ready-promises' into model-ready 2023-03-28 15:54:35 -05:00
Jeshurun Hembd d3af1ba2bd Fix typo in comment 2023-03-28 16:27:52 -04:00
Gabby Getz ba022f70d5 Add CesiumTerrainProvider.fromIonAssetId 2023-03-28 16:19:44 -04:00
Gabby Getz 18025ca3aa Cleanup 2023-03-28 15:00:48 -04:00
Gabby Getz 76defbae4b Deprecation & documentation cleanup 2023-03-28 14:39:20 -04:00
Gabby Getz dee5f0d18a Cleanup 2023-03-28 13:40:22 -04:00