Commit Graph

627 Commits

Author SHA1 Message Date
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
Jeshurun Hembd 66d76da116 Fix Check.typeOf signature in tileset.hasMixedContent 2023-03-28 13:18:52 -04:00
Victor Malaret 909a2f28b3 Be consistent about using Ellipsoid.WGS84 in CzmlDataSource 2023-03-28 13:00:22 -04:00
Jeshurun Hembd 9f59a400eb Fix specs to use tileset.hasMixedContent accessor 2023-03-28 12:59:28 -04:00
Jeshurun Hembd 841b961284 Expose and document private property Cesium3DTileset.prototype.hasMixedContent 2023-03-27 17:49:09 -04:00
Jeshurun Hembd 83afbc4e2e Add getter for tileset.isSkippingLevelOfDetail 2023-03-27 17:15:35 -04:00
Gabby Getz 1a5ad41a6f Merge branch 'no-ready-promises' into model-ready 2023-03-27 15:45:43 -04:00
Gabby Getz 85dc4ca088 Merge branch 'main' into no-ready-promises 2023-03-27 15:43:41 -04:00
Gabby Getz fbfcc66caf Fix docs 2023-03-27 15:33:53 -04:00
Gabby Getz b14765558c Fix vector tile example 2023-03-27 15:28:49 -04:00
Jeshurun Hembd 63f720d45e PR feedback phase 1 2023-03-27 14:33:22 -04:00
Gabby Getz 0b177166a1 Fix specs, ensure listeners are removed when objcet is destroyed 2023-03-27 14:16:23 -04:00
Gabby Getz b5a82a4a16 Update TimeDynamicPointCloud, I3S, and Voxels readyPromise 2023-03-27 13:45:17 -04:00
Victor Malaret 881ce5c390 Use abs value in sumHeights
This seems to get us better behavior on terrain datasets with
large negative min elevation values such as the moon.
2023-03-24 14:08:57 -04:00
Gabby Getz 58e93731f4 Add specs 2023-03-23 14:45:02 -04:00
Gabby Getz 5f94afc525 Small fixes 2023-03-23 14:34:52 -04:00
Guillaume Lathoud 2290ec2429
Polished code based on review comments.
Note: carefully tested the performance implications of each code change.
2023-03-23 11:27:40 +03:00
jiangheng def23b0932 Make both projectionMatrix called 2023-03-23 09:25:06 +08:00
jiangheng90 70ad3a1333
Merge branch 'main' into fix-debug-camera-primitive-render-error 2023-03-23 08:43:14 +08:00
Gabby Getz 64f2d61be7 Fix Sandcastle, docs 2023-03-22 16:39:11 -04:00
Gabby Getz 4244bc02de
Merge pull request #11179 from mikecabana/viewer-imagery-provider-false
Updates Viewer docs to allow false for imageryProvider
2023-03-22 10:00:30 -04:00
Jeshurun Hembd b61a8cb71a
Merge pull request #11177 from CesiumGS/request-error
Update docs to correct error type for RequestErrorEvent
2023-03-21 16:21:29 -05:00
Michael Cabana 22c4d0f8e5
Updates Viewer docs to allow false for imageryProvider in ConstructorOptions 2023-03-21 11:15:44 -04:00
Gabby Getz 6e18738654
Merge branch 'main' into main 2023-03-21 11:04:46 -04:00
Gabby Getz d4c9a5c982 Update docs to correct error type for requestErrorEvent 2023-03-21 10:14:46 -04:00
Gabby Getz c7d0cc2d97 Fix spec 2023-03-21 09:25:12 -04:00
Gabby Getz e2ae222efe Fix specs 2023-03-20 17:00:45 -04:00
Gabby Getz 4f8c8cd19b Update Sandcastles 2023-03-20 16:02:37 -04:00
Gabby Getz 0a498caa36 Deprecate Cesium3DTileset ready and readyPromise 2023-03-20 11:57:06 -04:00
Gabby Getz 4a825e3157
Merge pull request #11158 from CesiumGS/obb-cube-description
Fix description of OrientedBoundingBox cube.
2023-03-20 08:57:44 -04:00
JakeVanDine eab73140bf Updated Documenation to reflect Gabby's suggestion 2023-03-19 20:28:11 -04:00
Gabby Getz d02e73908a Refactor loading promises 2023-03-17 14:20:46 -04:00
Jeshurun Hembd 556ff88237 Add specs to check Cesium3DTilesetTraversal interfaces 2023-03-16 18:12:02 -04:00
Jeshurun Hembd 141032fd20 Split base and skip traversal into separate classes 2023-03-16 14:25:40 -04:00
Guillaume Lathoud daaafff2a2
Merge branch 'main' into glathoud-patch-1-atmosphere-performance 2023-03-15 12:48:26 +03:00
Guillaume Lathoud 06bd027edc
Improved ground atmosphere as seen from outer space
Flying low, i.e. close to the relief, should still be performant.
2023-03-15 11:47:12 +02:00
jiangheng fd2d32dc75 Fix DebugCameraPrimitive render error 2023-03-15 15:52:30 +08:00
Kevin Ring 38d19219da Improve doc of halfAxes property, too. 2023-03-15 17:11:05 +11:00
Kevin Ring 17a84ebf71 Fix description of OrientedBoundingBox cube.
And add a test that demonstrates that the new description is the correct
one.
2023-03-15 17:08:11 +11:00
L a5d584bcf1 update MapboxImageryProvider example mapId 2023-03-14 11:51:03 +08:00
JakeVanDine 5a390e4e7e Changed ScreenSpaceCameraController.enableCollisionDetection documentation. 2023-03-10 20:43:27 -05:00
Jeshurun Hembd a9942be24a Continue separating traversal logic 2023-03-10 13:10:04 -05:00
Jeshurun Hembd b5962b097a Pull TraversalUtility functions out of Cesium3DTilesetTraversal 2023-03-09 20:37:35 -05:00
Jeshurun Hembd 73bf2f3211 Use private skipLevelOfDetail flag more consistently 2023-03-09 18:57:50 -05:00
Gabby Getz 86b19bb999
Merge branch 'main' into enable-shadow-root-2 2023-03-09 16:14:46 -05:00
Jeshurun Hembd 8f8a869ef2 Move basic tile checks from traversals to Cesium3DTile 2023-03-09 14:24:13 -05:00
nnoce14 0baf0e8f97 Added Cartesian3 type to PolygonGraphics hierarchy property 2023-03-09 10:24:48 -05:00
Gabby Getz 1eaec3fd44 Fix deprecation warning 2023-03-09 09:21:50 -05:00
Gabby Getz f5bc8e1d6b Merge branch 'no-ready-promises' into model-ready 2023-03-08 16:03:56 -05:00
Gabby Getz f309771860 Model readyPromise deprecation and minor loader refactor 2023-03-08 15:58:23 -05:00
Jeshurun Hembd 46a40bddc4 Minor edits for clarity and consistency with Coding Guide 2023-03-08 14:00:38 -05:00
Rudi Farkas 42cbc6645f CreditDisplaySpec.js: move out of runTests() 3 tests that need no container 2023-03-08 15:23:04 +01:00
Gabby Getz ae0792bf12 Merge branch 'no-ready-promises' into imagery-ready-promise 2023-03-07 17:33:26 -05:00
Gabby Getz 065c9a61b3 Updated deprecation warnings 2023-03-07 17:09:38 -05:00
Gabby Getz 4f8bc55cf0 Merge branch 'main' into no-ready-promises 2023-03-07 17:04:01 -05:00
Jeshurun Hembd e99258595f Fix typo in GlobeSurfaceTileProvider.js 2023-03-06 19:25:06 -05:00
Rudi Farkas 835e222234 merged main into branch 2023-03-05 23:19:18 +01:00
Rudi Farkas e7ef4577b7 CreditDisplaySpec.js: modify to test CreditDisplay also under shadowRoot 2023-03-05 22:56:34 +01:00
Gabby Getz e919963b50
Merge pull request #11116 from CesiumGS/tileset-traversal
Document tileset traversal functions
2023-03-03 10:21:37 -05:00
Rudi Farkas 06d39ada0a npm run prettier: it folded 1 long line and inserted a space next to each brace 2023-03-03 12:58:44 +01:00
Tengfei 3337b2f2cc Entity.merge does not overwrite _children. 2023-03-03 13:40:13 +08:00
Guillaume Lathoud 63b52bf511
Fixed duplicate `rayStepLength` init 2023-03-03 08:06:53 +03:00
Jeshurun Hembd 572e5ef4dd Minor clarifications in Cesium3DTilesetTraversal 2023-03-02 17:59:37 -05:00
Rudi Farkas 089527452e Merge branch 'main' into enable-shadow-root-2 2023-03-02 21:52:03 +01:00
Rudolf Farkas f65aa1ce03
Update packages/engine/Source/Scene/CreditDisplay.js
Co-authored-by: Gabby Getz <gabby@cesium.com>
2023-03-02 21:37:53 +01:00
Jeshurun Hembd d07eedc8d6 Fix contentExpired behavior broken in #db95418 2023-03-02 15:12:10 -05:00
Jeshurun Hembd b2b529183c Fix docs for Cesium3DTile constructor 2023-03-02 14:41:37 -05:00
Jeshurun Hembd 5c1f128e04 Reduce indirection in Cesium3DTilesetTraversal 2023-03-01 18:29:42 -05:00
Jeshurun Hembd e2d391a0fb Simplify function signatures in Cesium3DTilesetTraversal 2023-03-01 15:39:08 -05:00
Jeshurun Hembd 185ec8c708 Add docs and clean up in Cesium3DTilesTraversal 2023-03-01 11:31:08 -05:00
Gabby Getz f06252a4e6 Fix ParticleSystemSpec 2023-03-01 09:42:23 -05:00
Gabby Getz eb71297f11 Updates for 1.103 release 2023-03-01 09:23:20 -05:00
Gabby Getz 887701f967
Merge pull request #11108 from jiangheng90/improvement-of-smooth-zoom
fix camera go througth building in zoom
2023-02-28 12:05:36 -05:00
Rudi Farkas c6931d1c1c CreditDisplay.js: appendCss() modify to add styles to shadowRoot if found 2023-02-28 16:02:11 +01:00
jiangheng 456f01c905 add minimumPickingTerrainDistanceWithInertia 2023-02-28 09:53:06 +08:00
Jeshurun Hembd db95418c9b Document and clean up helper functions in Cesium3DTileset 2023-02-27 16:37:03 -05:00
Jeshurun Hembd f9b7f32988 Merge branch 'main' into tileset-traversal 2023-02-27 15:34:56 -05:00
Jeshurun Hembd 9668df58ed Add missing types in Cesium3DTile 2023-02-27 14:16:10 -05:00
Gabby Getz 789cc9e71c
Merge pull request #11120 from CesiumGS/voxel-before-opaque
Render voxels before opaque entities
2023-02-27 13:25:13 -05:00
Sean Lilley 578af7115a
Merge pull request #11122 from CesiumGS/voxel-resolution
Incorporate updates for voxel lighting
2023-02-27 13:09:46 -05:00
Jeshurun Hembd 3a9ac1c022 Render voxels before opaque entities 2023-02-27 12:38:46 -05:00
Sean Lilley ffe050ccd9
Merge pull request #11076 from CesiumGS/voxel-lighting
Voxel lighting for voxels with BOX shape
2023-02-27 12:11:24 -05:00
Sean Lilley bc3471d5f5
Merge pull request #11050 from CesiumGS/voxel-resolution
Optimum step size for box-shaped voxels
2023-02-27 12:10:52 -05:00
Jeshurun Hembd 2b5b8f1899 Merge branch 'main' into voxel-resolution 2023-02-27 11:57:08 -05:00
Jeshurun Hembd 03bd704b61 Fix type qualifier in ShadowMapShader 2023-02-27 11:41:36 -05:00
jiangheng b182960ac6 adjust max approaching collision distance 2023-02-24 10:24:13 +08:00
bbbbx 41857d1e87 Fixed textures visibility for particle systems 2023-02-23 21:21:43 +08:00
Guillaume Lathoud a548448a30
Performance improvement
Context: https://github.com/CesiumGS/cesium/issues/10510#issuecomment-1438267847
2023-02-23 10:18:31 +03:00
jiangheng eb4b9ef46f fix camera go througth building 2023-02-23 12:16:30 +08:00
Gabby Getz 446eadbb19 Add willReadFrequently option to 2d contexts where applicable 2023-02-22 15:59:10 -05:00
Jeshurun Hembd 8be73fa80c Use primitive and provider transforms in voxel draw command 2023-02-22 14:19:21 -05:00
jiangheng bc1de11e9e fix pickGlobe condition 2023-02-21 11:10:02 +08:00
jiangheng 3f262e2f6f fix inertia jumpy when inertia approaching ground 2023-02-21 09:40:32 +08:00
Jeshurun Hembd 9bcfa35eac Use multiplicative shift for voxel ray steps 2023-02-20 20:16:30 -05:00
Gabby Getz 1e59130dcb Update tests 2023-02-20 10:03:44 -05:00
jiangheng90 a0bb54aff4
Merge branch 'main' into smooth-zoom-with-mouse-wheel 2023-02-20 12:11:58 +08:00
onsummer 08f3886903 Fix some type typo and remove unrelate code 2023-02-18 16:59:31 +08:00
Gabby Getz 8429a2212a ImageryLayer.fromProviderAsync, baseLayer 2023-02-17 17:21:35 -05:00
Jeshurun Hembd c22a9b6265 Remove outdated files to fix merge conflict 2023-02-17 15:40:46 -05:00
onsummer 59c60ba145 Add missing type 2023-02-17 11:10:04 +08:00
onsummer 723ee9f6e7 Add missing type and bracket 2023-02-17 10:22:50 +08:00
Jeshurun Hembd 2f8fba2ff3 Document remaining helper functions in Cesium3DTile 2023-02-16 17:14:31 -05:00
onsummer 52e67f9742 Fix conflict 2023-02-16 14:49:17 +08:00
onsummer eb3d4c3125 Rollback dependency 2023-02-16 14:46:53 +08:00
Jeshurun Hembd 8f150168ac Document and clean up Cesium3DTile (WIP) 2023-02-15 18:34:36 -05:00
Jeshurun Hembd 9a302f97b0 Use await syntax for promises in VoxelPrimitiveSpec 2023-02-15 13:48:02 -05:00
Jeshurun Hembd 9e6b8fbcc8 Use cleaner interface to construct SpatialNode children 2023-02-15 13:41:25 -05:00
onsummer aaa98a2f71 Add missing constructor type to primitive type 2023-02-16 01:28:03 +08:00
onsummer fa6d4522fc Remove the missing backup types 2023-02-16 01:02:18 +08:00
onsummer 2fb7c7d465 Types in Material module backup 2023-02-16 00:42:59 +08:00
Jeshurun Hembd 1340c174c6 Merge branch 'main' into voxel-lighting 2023-02-15 11:03:02 -05:00
Jeshurun Hembd d1dd625c6c Merge branch 'main' into voxel-resolution 2023-02-15 11:02:21 -05:00
Jeshurun Hembd b83bbbf607 Document and clean up Cesium3DTilesetTraversal 2023-02-14 17:09:37 -05:00
Gabby Getz c5349d6e5a Merge branch 'no-ready-promises' into imagery-ready-promise 2023-02-14 14:52:48 -05:00
Gabby Getz a70e106ebb Update baseLayerPicker specs 2023-02-14 13:55:09 -05:00
Gabby Getz 48529bf0cd Update terrain async Sandcastles 2023-02-14 13:18:05 -05:00
Jeshurun Hembd d2615060d2 Add specs for VoxelPrimitive 2023-02-14 12:56:17 -05:00
Gabby Getz 233b00bb5c Cleanup 2023-02-14 10:44:42 -05:00
Jeshurun Hembd 9fae451ac8 Add specs for SpatialNode 2023-02-13 18:42:19 -05:00
Jeshurun Hembd 284f2bdd6e Use smaller functions in SpatialNode and VoxelTraversal 2023-02-13 16:52:40 -05:00
Jeshurun Hembd ee5840ed16 Fix typo in deprecation message 2023-02-13 12:22:09 -05:00
jiangheng e07c8629c1 remove TODO comment 2023-02-11 02:07:34 +08:00
Gabby Getz d03f16b92c Update docs and deprecation warnings 2023-02-10 09:52:53 -05:00
onsummer 2257347b7b Fix conflict 2023-02-10 16:41:41 +08:00
onsummer 3d8f53819f Change constructor type to primitive type for: Object, Number, String, Boolean; and standardize the generic syntax of Array and Promise 2023-02-10 16:35:41 +08:00
jiangheng 637df4b7c7 Fixed requestWebgl1 hint error in context 2023-02-09 15:30:29 +08:00
onsummer 9ea3c9ac09 Add function types for callback function. 2023-02-09 14:38:05 +08:00
onsummer 863d53d27f Fix build-ts & build-docs error. 2023-02-09 13:55:56 +08:00
onsummer bef1f4bf93 Merge branch 'main' of github.com:CesiumGS/cesium into ts-type-enhance 2023-02-09 13:12:10 +08:00
onsummer 40597989c2 Implement types - init 2023-02-09 13:10:08 +08:00
Gabby Getz c95cbc6b80 Cleanup doc 2023-02-08 17:01:25 -05:00
Gabby Getz b6b0663e49 Async event handler for terrain providers 2023-02-08 15:40:57 -05:00
Jeshurun Hembd 9dcdc69a10
Merge pull request #11053 from CesiumGS/cube-map-ready-promise
Remove ready promise from OctahedralProjectedCubeMap, fix fail condition
2023-02-08 13:30:23 -06:00
Gabby Getz 592872ee9f Update GoogleEarthEnterpriseMapsProvider.js 2023-02-08 13:54:09 -05:00
Gabby Getz 5064d9c2e5 Allow lazy-loading for SingleTileImageryProvider 2023-02-08 11:38:23 -05:00
jiangheng e17a30833e halfing arcLength from delta 2023-02-08 08:49:11 +08:00
jiangheng90 b3bac1ea40
Merge branch 'main' into smooth-zoom-with-mouse-wheel 2023-02-08 08:45:33 +08:00
Jeshurun Hembd fec282b55d Merge branch 'main' into voxel-lighting 2023-02-07 19:22:35 -05:00
Jeshurun Hembd ca38b2c36c Update processVoxelPropertiesSpec 2023-02-07 10:43:51 -05:00
Gabby Getz 0d9566e913 Cleanup 2023-02-07 10:25:29 -05:00
Jeshurun Hembd 5ca80c77f2 voxels: use WebGL1 fallback for integer mod 2023-02-07 09:30:39 -05:00
Jeshurun Hembd 8d311efa45 voxels: use clipping plane normals 2023-02-06 23:27:42 -05:00
Jeshurun Hembd 011ffe03ed voxels: add setIntersection methods for RayShapeIntersection structs 2023-02-06 22:02:09 -05:00
Gabby Getz 79acbf28d4 Spec cleanup 2023-02-06 16:49:56 -05:00
Jeshurun Hembd 78e066c46d voxels: simplify RayShapeIntersection struct 2023-02-06 16:37:24 -05:00
Gabby Getz 1eab81fc56 Cleanup 2023-02-06 15:08:58 -05:00
Jeshurun Hembd 0e2f4daa8d voxels: use RayShapeIntersection struct for utilities 2023-02-06 13:18:44 -05:00
Jeshurun Hembd cf97444752 voxels: remove ray shift for normals calculation 2023-02-06 10:37:38 -05:00
jiangheng a003b21d5c use last frame pick result when zoom inertia 2023-02-06 09:38:59 +08:00
zhouhai aa82d9a542 optimize Primitive.prototype.getGeometryInstanceAttributes performance
Primitive.prototype.getGeometryInstanceAttributes
2023-02-04 09:18:42 +08:00
Jeshurun Hembd 3fe60dc82c voxels: use t-dependent epsilon for box normals 2023-02-03 15:15:15 -05:00
Jeshurun Hembd b6545c4c12 voxels: return normal from box intersection 2023-02-03 10:03:58 -05:00
jiangheng 4f71d1a9b4 simplify and remove useless debouce 2023-02-03 20:18:17 +08:00
Jeshurun Hembd 9939a5bb6b voxels: return vec4 from intersectPlane 2023-02-02 23:30:58 -05:00
Jeshurun Hembd 69457caffa voxels: define struct for shape intersections 2023-02-02 20:15:31 -05:00
Jeshurun Hembd 8d9a30992e voxels: use normal length to encode intersection type 2023-02-02 19:51:08 -05:00
Jeshurun Hembd 19c61e6c86 voxels: use vec4s for intersections 2023-02-02 19:28:01 -05:00
Jeshurun Hembd dfe5b2c9b5 voxels: Add surfaceNormal to fsInput, fill with dummy 2023-02-02 19:17:33 -05:00
Jeshurun Hembd 16a8e31c62 voxels: simplify initializeIntersections 2023-02-02 19:10:57 -05:00
Jeshurun Hembd fc949a7db4 Always use vec2s for intersections 2023-02-02 19:06:44 -05:00
Jeshurun Hembd 6cc387df34 Resolve TODO comments 2023-02-02 16:30:00 -05:00
Jeshurun Hembd f1c491a8d8 voxels: simplify box render bounds 2023-02-02 16:18:30 -05:00
Jeshurun Hembd f82d59a92b voxels: simplify box intersections 2023-02-02 14:23:49 -05:00
Jeshurun Hembd bbfafdf20a Flatten if blocks in IntersectBox.glsl 2023-02-02 13:14:48 -05:00
zhouhai 19cf7d71f7 optimize performance
when the cache exists, the attribute _lastPerInstanceAttributeIndex will fail
2023-02-02 16:45:14 +08:00
Gabby Getz 1330875b4c Updates for 1.102 2023-02-01 12:58:23 -05:00
jiangheng a8998f4c0c fix debounce not work 2023-02-01 15:57:03 +08:00
jiangheng df469b807f use debounce simlulate wheel start and end 2023-02-01 15:37:00 +08:00
jiangheng cb58d18e08 update lastMovement copy in aggregator 2023-02-01 10:49:05 +08:00
jiangheng 0370548f44 implement inertiaZoom in aggregator 2023-02-01 10:02:06 +08:00
Gabby Getz 65fb9fed8f draft 2023-01-31 16:06:57 -05:00
Janine Liu 119fd5e7b2 Fix decodeRGB565 spec 2023-01-30 11:18:42 -05:00
Gabby Getz e2b6769461 Remove ready promise from OctahedralProjectedCubeMap, fix fail condition 2023-01-27 17:03:12 -05:00
Gabby Getz 52f27c1bbb Draft 2023-01-27 15:48:08 -05:00
Gabby Getz 66bd73919a Merge branch 'terrain-ready-promise' into imagery-ready-promise 2023-01-27 14:24:06 -05:00
Gabby Getz 2cf7da369d Imagery provider ready promise deprecations 2023-01-27 13:27:47 -05:00
Gabby Getz 33e32da2dd Cleanup specs 2023-01-26 16:33:52 -05:00
Jeshurun Hembd 1db357c4db Adjust starting bias for voxel ray 2023-01-25 16:24:44 -05:00
Lakshmi0710 e61474b661
Provide Hyperlink to Bing Maps ToU instead of Bing Maps top page 2023-01-25 23:18:52 +05:30
Sean Lilley a4cc5259ec Apply root tile scale to tileset geometric error 2023-01-24 18:17:07 -05:00
Jeshurun Hembd abd4f1cdec Voxels: precompute inverse ray, clean up traversal code 2023-01-24 17:48:23 -05:00
Jeshurun Hembd 76b1392c6f Fix voxel step size when reading parent texture 2023-01-24 14:28:44 -05:00
Jeshurun Hembd f78063329b
Merge pull request #10949 from CesiumGS/readme-revision
README.md Updates
2023-01-23 13:19:30 -06:00
Gabby Getz efd0518769 Merge branch 'readme-revision' of github.com:AnalyticalGraphicsInc/cesium into readme-revision 2023-01-23 14:07:13 -05:00
Gabby Getz b2f9e22f9b README tweaks 2023-01-23 14:06:41 -05:00
Jeshurun Hembd 422b8e01c5 Fix whitespace in widgets README 2023-01-23 13:46:45 -05:00
Gabby Getz 377cfdf678 Fix IS3 sandcastle 2023-01-23 13:07:15 -05:00
Jeshurun Hembd 8b7ab7a6cd
Merge pull request #11041 from CesiumGS/webgl2-default-CHANGES
WebGL2 by default CHANGES update and feature detection
2023-01-23 10:00:22 -06:00
Jeshurun Hembd 7fa8fbfe3d Compute exact voxel step size via ray-box intersection 2023-01-21 13:46:10 -05:00
Gabby Getz 8f8b95bf23 Merge branch 'main' into readme-revision 2023-01-20 13:19:57 -05:00
Gabby Getz d7245d5ab0 Restore deprecated specs 2023-01-20 13:18:57 -05:00
Gabby Getz f956e6eb60 Cleanup async terrain handling 2023-01-19 16:14:11 -05:00
Gabby Getz 8c938aa7d9 README revisions 2023-01-19 09:30:18 -05:00
Jeshurun Hembd 55ad6a0473 Move voxel step calculation out of Octree 2023-01-18 19:19:09 -05:00
Gabby Getz a67f89f55c Fix up texture atlas specs 2023-01-17 20:26:58 +01:00
Marcel Wendler c3582695ce Add test for correct indexHash after sub region is added to texture atlas 2023-01-17 20:26:58 +01:00
Marcel Wendler f8bf3a7af5 Update image index in texture atlas when creating image subregion 2023-01-17 20:26:58 +01:00
Gabby Getz 30b50cecb2 Check 2023-01-17 09:53:32 -05:00
Jeshurun Hembd 2302c48af4 Merge branch 'main' into webgl2-default 2023-01-13 17:17:11 -05:00
Jeshurun Hembd 246631c4dc Fix pixelFormat in Megatexture.js 2023-01-13 17:16:19 -05:00
Jeshurun Hembd 350b017732 Update error message in PostProcessStage 2023-01-13 15:37:39 -05:00