Commit Graph

2934 Commits

Author SHA1 Message Date
Gabby Getz 61b7ac71e9
Merge pull request #10962 from CesiumGS/webgl2-default-announcement
Adds WebGL2 announcement to CHANGELOG
2023-01-02 09:26:17 -05:00
Sanjeet Suhag f5e7494e03 Removes deprecation warning spec 2023-01-02 09:16:28 -05:00
Sanjeet Suhag 86cf4254a4 Clean up getWebGLContext 2023-01-02 08:15:55 -05:00
Sanjeet Suhag a07a2e2266 Adds check for WebGL stub when running deprecation spec in ContextSpec 2023-01-02 08:02:46 -05:00
Sanjeet Suhag 8ddc441b99 Adds requestWebgl1 to ContextOptions, adds deprecation warnings for requestWebgl2 2023-01-02 07:50:46 -05:00
Sean Lilley c7541bd19f Use Object.freeze for default bounds 2023-01-01 16:35:10 -05:00
Sean Lilley 97b1cc38f5 Make currently unsupported features private 2023-01-01 16:28:59 -05:00
Sean Lilley 63eab6d1ff Fix remaining tests 2023-01-01 16:05:20 -05:00
Sean Lilley 7dc5b5ef89 Make MetadataType part of public API 2023-01-01 13:17:06 -05:00
Sean Lilley 1c723012de Make MetadataEnumValue part of public API 2023-01-01 13:14:30 -05:00
Sean Lilley 2d4f406aa8 Make MetadataEnum part of public API 2023-01-01 13:07:44 -05:00
Sean Lilley df13032de7 Make MetadataComponentType part of public API 2023-01-01 12:53:40 -05:00
Sean Lilley 37b8f2ca80 Make MetadataSchema part of public API 2023-01-01 12:48:00 -05:00
Sean Lilley 1c33598703 Make MetadataClass part of public API 2023-01-01 12:33:10 -05:00
Sean Lilley 6c71e92305 Make MetadataClassProperty part of public API 2023-01-01 12:13:16 -05:00
Sean Lilley 3ab57b84da Fix tests 2022-12-31 18:41:32 -05:00
Sean Lilley 41e11a30c3 Fix artifacts for large thin ellipsoids 2022-12-31 16:23:25 -05:00
Sean Lilley 75afc2434e Chose the correct voxel class instead of flattening properties from all classes 2022-12-31 15:38:00 -05:00
Sean Lilley 48d47901ed Fix intersectHalfSpace when it cuts through camera 2022-12-31 15:21:47 -05:00
Sean Lilley edbc663bf1 Cleanup VoxelEllipsoidShape 2022-12-31 15:21:47 -05:00
Sean Lilley a8b7f6d464 Cleanup VoxelBoxShape and VoxelCylinderShape 2022-12-31 15:21:47 -05:00
Sean Lilley 0669bb8ea0 Fix bug where model matrix was being set before all viewModel properties were retrieved from primitive 2022-12-31 15:21:47 -05:00
Sean Lilley 0b22591d05 Revert getEllipsoidShape changes 2022-12-31 15:21:47 -05:00
Sean Lilley 460a12f86b Visualize shape obb in debugDraw 2022-12-31 15:21:47 -05:00
Sean Lilley b52f7a8107 Recompute OBB in case of shape space rotation and non-uniform scale 2022-12-31 15:21:47 -05:00
Sean Lilley 047e59ecda Differentiate between shape transform, local tranform (model matrix), and global transform 2022-12-31 15:21:47 -05:00
Sean Lilley c5c68204b5 Fix voxel inspector issues related to zero or negative scale 2022-12-31 15:21:47 -05:00
Sean Lilley a5bc35152e Fix speckle issue with nearest sampling 2022-12-31 15:21:47 -05:00
Sean Lilley 2c81ec6fae Fix whitespace and newlines 2022-12-31 15:21:47 -05:00
Sean Lilley 1a792eaa57 Fix intersection bug when camera is front of first intersection 2022-12-31 15:21:46 -05:00
Sean Lilley ffc6235b6f Fix artifacts when shape is infinitely thin 2022-12-31 15:21:39 -05:00
Marco Hutter 2cfad661b6 Update colors to be 4D, as defined in the schema 2022-12-27 16:34:19 +01:00
jiangheng 9495e635d6 support quantizationBits above 16 for draco decode 2022-12-27 12:46:03 +08:00
Sean Lilley c0eee3ff62 Fix OBB calculation for cylinder 2022-12-23 16:48:43 -05:00
Sean Lilley 7fad96ab79 Fix setting initial value in VoxelInspector 2022-12-23 16:47:55 -05:00
Sean Lilley 9c7eecf6aa Remove defer usage in VoxelPrimitive and some cleanup 2022-12-23 11:04:28 -05:00
Sean Lilley 5b18831442 Add support for 3DTILES_content_voxels and 3DTILES_bounding_volume_cylinder 2022-12-23 10:59:38 -05:00
Sean Lilley 87a9b20101 Remove GltfVoxelProvider 2022-12-23 10:54:44 -05:00
Marco Hutter fcda6786c5 Compare against localized string in tileset specs
The labels contain a string that is created with
toLocaleString.
2022-12-20 21:03:27 +01:00
Sean Lilley d62685ec64 Merge branch 'main' into voxels 2022-12-20 13:29:08 -05:00
Gabby Getz 1ab0765b43 Remove async paths from EOP constructor 2022-12-20 12:27:34 -05:00
Sean Lilley 8927053511 Add checks 2022-12-19 16:40:11 -05:00
Sean Lilley abd2b0f306 Simplify VoxelInspector.css 2022-12-19 15:57:51 -05:00
Sean Lilley 5fd8f3d6d6 Update VoxelInspector 2022-12-19 15:49:05 -05:00
Sean Lilley 66d70854fd Merge remote-tracking branch 'origin/inspector-cleanup' into voxels 2022-12-19 15:43:33 -05:00
Sean Lilley 47a79e354e Move more inspector functions to InspectorShared.js 2022-12-19 15:33:24 -05:00
Sean Lilley 0d968d1d86 Only import VoxelInspector.css once 2022-12-19 13:29:09 -05:00
Sean Lilley 5eea7a04c0 Update VoxelInspector.css [temp] 2022-12-19 13:28:02 -05:00
Sean Lilley 78a85134c9 Remove whitespace 2022-12-19 13:14:05 -05:00
Sean Lilley 88c5acfcfb Merge branch 'main' into voxels 2022-12-19 12:22:30 -05:00
Sean Lilley af66631fac Remove @exception tags 2022-12-19 11:26:10 -05:00
Sean Lilley 26048daa32 Miscellaneous changes from voxels branch 2022-12-19 10:58:53 -05:00
Sean Lilley 4f7fbd6c65 Added tests for MetadataComponentType changes 2022-12-19 10:53:53 -05:00
Gabby Getz f37293aac5 Fix billboard alignedAxis in 2D 2022-12-19 10:53:40 -05:00
Sean Lilley 47ede9f06f Remove toTypedArrayType 2022-12-19 10:34:51 -05:00
Sean Lilley ae2a13299f Revert CesiumInspector.css change 2022-12-19 10:25:14 -05:00
Sean Lilley 8efd4f8975 Revert ResourceCache change 2022-12-19 10:17:35 -05:00
Sean Lilley 04aa271f60 Merge branch 'main' into voxels 2022-12-19 09:55:31 -05:00
Sanjeet Suhag 4a7a9b653b Feedback pass 2022-12-15 18:11:07 -05:00
Gabby Getz d826ed6273 Update autolinker and jsep 2022-12-15 13:54:24 -05:00
Gabby Getz df8e826f63 Rollback header image 2022-12-15 10:02:38 -05:00
Gabby Getz 7047efe78a Cleanup images, spelling 2022-12-14 09:55:08 -05:00
Sungho Lim d215109cd2 Add result param to setRotation 2022-12-14 23:36:54 +09:00
Gabby Getz c36377610a Cleanup 2022-12-09 12:33:34 -05:00
Sean Lilley 828d679991
Merge pull request #10945 from CesiumGS/fix-model-cv
Fix `Model` disappearing bug in Columbus View
2022-12-08 17:21:22 -05:00
Sanjeet Suhag 6e7cf1a685 Fix spec failures for WebGL stub 2022-12-08 17:06:29 -05:00
Sanjeet Suhag 6679cd7c60 Fixes ShaderSource functions 2022-12-08 15:01:41 -05:00
Peter Gagliardi 2ccaaa1867
Merge pull request #10942 from JiaoJianing/fix-some-pnts-load
fixed some cases where pnts data failed to load
2022-12-08 09:26:11 -05:00
JiaoJianing 37ff104b30 fix typo and add test case for parseBatchTable 2022-12-08 12:23:49 +08:00
Sanjeet Suhag 566a0eeff9 More spec fixes 2022-12-07 21:01:59 -05:00
Gabby Getz a67a34c758 Cleanup specs 2022-12-07 17:07:20 -05:00
Gabby Getz 3216cdb6e3 Merge branch 'voxels' into voxels-specs 2022-12-07 15:37:02 -05:00
Gabby Getz 2402af6929 Merge branch 'main' into voxels 2022-12-07 15:18:23 -05:00
Gabby Getz 307f873466 Merge tag 'workspaces' into voxels
Adds workspaces
2022-12-07 15:17:45 -05:00
Janine Liu 0c264aa99f Fix model disappearing bug in Columbus View 2022-12-07 13:53:50 -05:00
Sanjeet Suhag 92efacdad1 Merge branch 'main' of https://github.com/CesiumGS/cesium into fix-draco-mixed-attributes 2022-12-07 10:44:49 -05:00
Cameron Armstrong (Nightfox) 701b92d5c8
Merge branch 'main' into sample-terrain-crash-fix 2022-12-07 23:09:58 +08:00
Cameron Armstrong (Nightfox) 0daeb9c067
Update packages/engine/Source/Core/sampleTerrain.js
Co-authored-by: Gabby Getz <gabby@cesium.com>
2022-12-07 23:08:01 +08:00
Gabby Getz f8c230a4f4 Apply PR feedback 2022-12-07 09:59:10 -05:00
Gabby Getz a5e72e37b7 Merge branch 'main' into bimangle/main 2022-12-07 09:58:36 -05:00
Gabby Getz b4bb36b19a Merge tag 'workspaces' into bimangle/main
Adds workspaces
2022-12-07 09:53:30 -05:00
Gabby Getz 675b4deb56
Merge branch 'main' into argument-type-fixes-2022-11-12 2022-12-07 09:48:12 -05:00
Sean Lilley 7c2b0ffd19
Merge branch 'main' into fix-draco-mixed-attributes 2022-12-07 09:02:36 -05:00
Sanjeet Suhag 86bebe1a80 More Spec changes for WebGL2 specific specs 2022-12-07 01:13:17 -05:00
jiaojn 030356bf2b fixed some cases where pnts data failed to load 2022-12-07 13:47:57 +08:00
Sanjeet Suhag a5dc2edc6e Merge branch 'main' of https://github.com/CesiumGS/cesium into webgl2-default 2022-12-07 00:46:04 -05:00
Gabby Getz 7990927ce3
Merge pull request #10922 from robert-irving-snc/patch-1
Pass this to EntityCollection to set owner property
2022-12-06 16:23:28 -05:00
Sanjeet Suhag ee4fa0e527 Removes WebGL 1 specs 2022-12-06 11:40:26 -05:00
Marco Hutter f1a83ec258 Merge remote-tracking branch 'upstream/main' into argument-type-fixes-2022-11-12
# Conflicts:
#	CHANGES.md
2022-12-06 17:17:58 +01:00
Calogero Mauceri 774f443eaf
Merge branch 'main' into vertex_shadow_darkness_opt 2022-12-06 11:30:09 +01:00
Calogero Mauceri 1b8cea6ca8 removed unneeded changes to the shader 2022-12-06 11:25:55 +01:00
Sanjeet Suhag ce953c3028 Merge branch 'main' of https://github.com/CesiumGS/cesium into webgl2-default 2022-12-05 14:29:25 -05:00
Sam Suhag 450e012ca7
Merge branch 'main' into 10908-fix-point-primitive-scaling-by-distance 2022-12-05 14:05:02 -05:00
Calogero Mauceri 4bb21067c6
Merge branch 'main' into vertex_shadow_darkness_opt 2022-12-05 12:01:40 +01:00
Sean Lilley 610d42e8e2 Fix models that have mix of draco and non-draco attributes 2022-12-03 11:56:07 -05:00
Sanjeet Suhag 6f55de9bab Ion.js, CHANGES.md and package.json changes for 1.100 2022-12-01 09:53:00 -05:00
Cameron Armstrong 6056486a13 Fix style 2022-12-01 17:05:22 +08:00
Cameron Armstrong 6768a7fe75 Fix crash in sampling terrain for points with undefined position 2022-12-01 15:59:09 +08:00
Sanjeet Suhag e0bcb74f4d Fixes ShadowMapSpec failures 2022-11-30 22:22:00 -05:00
Rob Irving 0401cdba8a
Pass this to EntityCollection to set owner property 2022-11-28 16:07:40 -05:00
Calogero Mauceri 364517ed2a reworked for using uniform 2022-11-22 12:43:46 +01:00
Calogero Mauceri 307aefc26d fixed unit test 2022-11-22 11:45:50 +01:00
Calogero Mauceri b8fd68ff7f added a property for setting the amount of the vertex shadow attenuation when terrain lighting is enabled (by dafult it is set to a fixed value, 0.3) 2022-11-18 12:54:34 +01:00
Marcel Wendler d1c7cc4bad Only add padding when totalPointSize is greater than 0 in PointPrimitiveCollectionVS 2022-11-18 11:57:30 +01:00
Marcel Wendler 5a552ed0fc Move addition of padding below calculation of distance scaling in PointPrimitiveCollectionVS 2022-11-18 08:55:13 +01:00
Sanjeet Suhag 51fcaa4e20 Fix accidental substitutions in I3SNodeSpec 2022-11-17 19:39:57 -05:00
Sanjeet Suhag 86ac7271dd Fix pickColorQualifier in ShadowVolumeAppearance.js 2022-11-17 19:24:08 -05:00
Sanjeet Suhag d47443387b Spec cleanup 2022-11-17 19:12:41 -05:00
Sanjeet Suhag fd578481d2 More spec fixes 2022-11-17 18:38:51 -05:00
Sanjeet Suhag 354ef3fccd Shader spec compilation fixes 2022-11-17 18:06:25 -05:00
Sanjeet Suhag b38d3bde0d More WebGL 2 spec fixes 2022-11-17 16:48:16 -05:00
Sanjeet Suhag 11c097051f Fixes CloudCollection shaders for WebGL2 2022-11-17 15:33:36 -05:00
Sanjeet Suhag 24ec5a5e2f WebGL2 Spec migration 2022-11-17 14:30:39 -05:00
Sanjeet Suhag 1dd66d0e97 Gets WebGL 1 tests passing 2022-11-17 11:39:24 -05:00
Sanjeet Suhag e6351962fd More WebGL 2 shader migration 2022-11-16 15:25:57 -05:00
Sanjeet Suhag 9cd404af46 WebGL 1 spec fixes 2022-11-16 10:22:55 -05:00
Sanjeet Suhag 273b0193d9 More JS fixes for OIT and MRT 2022-11-15 19:27:04 -05:00
Sanjeet Suhag b2b587057d Fixes OIT.js shaders 2022-11-15 16:01:24 -05:00
Sanjeet Suhag 019552017d Revert package Node versions to 14.0.0 2022-11-15 10:20:24 -05:00
Sanjeet Suhag 4bb5854a04 Gets globe rendering with WebGL1 with demodernizeShader 2022-11-14 17:14:27 -05:00
Sanjeet Suhag 62019789e3 Updates minimum Node version to 16 2022-11-14 16:52:43 -05:00
Sanjeet Suhag a9e6aedee9 WIP demodernizeShader 2022-11-14 13:14:08 -05:00
Marco Hutter b077021a46 Minor argument type fixes in JSDoc 2022-11-12 18:40:44 +01:00
Gabby Getz 93e5ba061b README updates 2022-11-09 14:01:29 -05:00
Sanjeet Suhag 48452e48b7 WIP ShaderSource mods 2022-11-08 09:15:10 -05:00
Sanjeet Suhag d1f4570210 JS Shader upgrade to GLSL 300 2022-11-08 09:14:15 -05:00
Sanjeet Suhag b2229c9cad Shader ugprade to GLSL 300 2022-11-08 09:13:52 -05:00
Jeshurun Hembd 330712beac Merge branch 'main' into voxels-specs 2022-11-04 10:04:52 -04:00
Jeshurun Hembd 924055e7c1 Update import paths for voxel code 2022-11-02 18:33:00 -04:00
Jeshurun Hembd 5ef4339436 Merge tag 'post-workspaces' into voxels-specs
Adds workspaces
2022-11-02 16:00:31 -04:00
Jeshurun Hembd 612a2c5c66 Update contextOptions docs in Widget and Viewer 2022-11-01 20:45:57 -04:00
Jeshurun Hembd 2d6f55d00d Move Context constructor to top, as per Coding Guide 2022-11-01 20:41:17 -04:00
Jeshurun Hembd 0b8463384a Document Context constructor options 2022-11-01 20:36:08 -04:00
Sanjeet Suhag aaf6bd8a5c Adds engine and widgets workspaces 2022-11-01 15:39:57 -04:00