Commit Graph

39291 Commits

Author SHA1 Message Date
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
Sean Lilley 8da09675e9
Merge pull request #11308 from CesiumGS/standard-derivatives
Fix misleading warnings for OES_standard_derivatives
2023-05-24 12:39:10 -04:00
Jeshurun Hembd 95c5e60a27 Enable standard derivatives extension in demodernizeShader 2023-05-24 01:25:24 -04:00
Matthew Amato 2cbe29610f
Merge pull request #11296 from CesiumGS/terrain-availability
Terrain availability race condition
2023-05-19 14:45:35 -04:00
Gabby Getz fa78047931 Add unit test 2023-05-19 14:11:32 -04:00
Gabby Getz 0b1619661b prettier 2023-05-18 17:31:20 -04:00
Gabby Getz 1a58698500
Merge branch 'main' into terrain-availability 2023-05-18 17:14:34 -04:00
Gabby Getz 04a03d6402 Update CHANGES.md 2023-05-18 17:05:52 -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
Jeshurun Hembd cbedb6c7d4
Merge pull request #11275 from CesiumGS/google-api
Updates for Google Photorealistic 3D Tiles
2023-05-10 13:42:40 -05: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
Jeshurun Hembd 26e39c6472
Merge pull request #11268 from CesiumGS/camera-controls
Adjust camera controls for when the globe is off, and when panning in 3D
2023-05-10 11:00:37 -05: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
Jeshurun Hembd 690b4e8850
Merge pull request #11252 from CesiumGS/update-requests-by-server
Update requestsByServer defaults
2023-04-25 10:35:16 -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 b9a09aef23 Update dev dependencies 2023-04-24 16:01:09 -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 9e749fc5a5
Merge pull request #11240 from CesiumGS/models-gltf
Allow grabbing glTF JSON through the API
2023-04-20 12:35:16 -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