Commit Graph

25269 Commits

Author SHA1 Message Date
Gabby Getz 54dba812fb use instanceof 2022-08-19 14:01:22 -04:00
Janine Liu 02124d83b9 Make loader more strict for classification models 2022-08-19 11:22:52 -04:00
Gabby Getz 8bad76cad1 Fix Camera.flyTo with rectangle 2022-08-19 09:42:41 -04:00
Peter Gagliardi e73d743789 Add support for point cloud back face culling 2022-08-18 14:54:53 -04:00
Janine Liu b9fd58ba17 Add loadForClassification to GltfLoader 2022-08-18 12:12:47 -04:00
nshen 2a06a114f8 remove thirdparty Uri.js 2022-08-18 22:52:53 +08:00
Peter Gagliardi 441e0590ba
Merge pull request #10697 from CesiumGS/skip-lods-experimental
Add `skipLevelOfDetail` commands to `ModelDrawCommand`
2022-08-17 13:14:07 -07:00
Janine Liu e3b04c9650 Add skipLevelOfDetail tests 2022-08-17 15:51:05 -04:00
Janine Liu 014fe80678 Return result, fix typos 2022-08-17 14:43:44 -04:00
Peter Gagliardi 7216157d18
Merge pull request #10698 from CesiumGS/fix-i3dm-lighting
Fix incorrect i3dm lighting
2022-08-17 09:46:22 -07:00
Gabby Getz 78f3361492
Merge pull request #10682 from nshen/remove-protobufjs
Remove thirdparty protobufjs.js
2022-08-17 09:17:40 -07:00
Gabby Getz 56da7ab1d7
Merge pull request #10681 from nshen/remove-topojson
remove thirdparty topojson.js
2022-08-17 09:15:56 -07:00
Gabby Getz 51a62b2f54
Merge pull request #10680 from nshen/remove-zip
Remove thirdparty zip.js
2022-08-17 09:13:44 -07:00
Gabby Getz 5b8d13846f
Merge pull request #10678 from nshen/remove-rbush
Remove thirdparty rbush.js
2022-08-17 09:10:13 -07:00
Gabby Getz 302c7fa1ff
Merge pull request #10677 from nshen/remove-pako
Remove thirdparty pako.js
2022-08-17 09:06:03 -07:00
Gabby Getz 953444d85f
Merge pull request #10676 from nshen/remove-nosleep
Remove thirdparty nosleep.js
2022-08-17 09:03:35 -07:00
Gabby Getz 91d3a54be9
Merge pull request #10675 from nshen/remove-meshoptimizer
Remove thirdparty meshoptimizer.js
2022-08-17 08:59:42 -07:00
Gabby Getz d2bdfdc82b
Merge pull request #10674 from nshen/remove-lerc
Remove thirdparty lerc.js
2022-08-17 08:57:04 -07:00
Gabby Getz 3c9cf588bc
Merge pull request #10673 from nshen/remove-ktx-parse
Remove thirdparty ktx-parse.js
2022-08-17 08:54:27 -07:00
Janine Liu 4ab2deddad Fix incorrect i3dm lighting 2022-08-17 11:49:47 -04:00
Gabby Getz 0d504b6bde
Merge pull request #10672 from nshen/remove-kdbush
Remove thirdparty kdbush.js
2022-08-17 07:23:39 -07:00
Gabby Getz 11b19ac9f3
Merge pull request #10670 from nshen/remove-grapheme-splitter
remove thirdparty grapheme-splitter.js
2022-08-17 07:18:22 -07:00
Gabby Getz d13fcfb2a8
Merge pull request #10671 from nshen/remove-jsep
Remove thirdparty jsep.js
2022-08-17 07:14:40 -07:00
Gabby Getz 6ca341db24
Merge pull request #10669 from nshen/remove-earcut
Remove thirdparty earcut.js
2022-08-17 07:07:08 -07:00
Gabby Getz ad1de31123
Merge pull request #10668 from nshen/remove-dompurify
Remove thirdparty dompurify.js
2022-08-17 07:03:32 -07:00
Gabby Getz a18c1a59da
Merge pull request #10667 from nshen/remove-bitmap-sdf
Remove thirdparty bitmap-sdf.js
2022-08-17 06:59:27 -07:00
Gabby Getz 1c4c8c319f
Merge pull request #10666 from nshen/remove-autolinker
Remove thirdparty autolinker.js
2022-08-17 06:53:10 -07:00
Gabby Getz b7c0fc268e
Merge branch 'main' into mjs 2022-08-16 13:11:12 -07:00
Peter Gagliardi fceb03ade4
Merge pull request #10690 from CesiumGS/instanced-model-lighting
Apply instancing to normals in `Model`
2022-08-16 13:04:45 -07:00
Janine Liu e17dca2357 Fix remaining test failures 2022-08-16 15:59:07 -04:00
Gabby Getz aef4d38e5c Fix for NodeJS with ESM modules 2022-08-16 15:51:23 -04:00
Janine Liu 1aefe28677 Add TilesetPipelineStageSpec 2022-08-16 15:35:06 -04:00
Gabby Getz a81ce984b2
Merge pull request #10691 from CesiumGS/camera-morph-fly-to
Fixes zoomTo/flyTo issue with EllipsoidTerrainProvider
2022-08-16 10:54:13 -07:00
Janine Liu 5953373024 Un-xit backface commands test 2022-08-16 13:52:46 -04:00
Peter Gagliardi f5728d78c6
Merge pull request #10630 from CesiumGS/bounding-sphere-getter-fix
Make `ModelExperimental.boundingSphere` update when invoked
2022-08-16 09:43:04 -07:00
Jeshurun Hembd a48a326321 First round PR feedback 2022-08-15 19:59:51 -04:00
Janine Liu d8abea8000 Rewrite most of ModelDrawCommandSpec 2022-08-15 17:16:23 -04:00
Sanjeet Suhag 3d4bbdfedb Fixes ModelVisualizer and ModelVisualizerSpec with heights 2022-08-15 16:56:52 -04:00
Peter Gagliardi f1ec778284
Merge pull request #10648 from CesiumGS/gltf-1
Limited support for glTF 1.0 in the new model implementation
2022-08-15 11:29:54 -07:00
Janine Liu 4faf37fd0e Update normals in instancing shaders 2022-08-15 13:51:56 -04:00
Janine Liu c57d634d91 Small tweaks 2022-08-15 12:45:43 -04:00
Janine Liu ed7340e3c8 Refactor updateBoundingSphereAndScale function 2022-08-15 12:36:24 -04:00
Janine Liu 787d6fdce1 Merge branch 'main' into bounding-sphere-getter-fix 2022-08-15 11:20:09 -04:00
Peter Gagliardi 8634e8ab7a Make default exports more consistent 2022-08-15 08:06:09 -04:00
Sean Lilley 416b8dcdf9 Fix reading uncompressed draco attributes with loadAsTypedArray 2022-08-13 15:52:52 -04:00
Sean Lilley d46ce5ddde
Merge pull request #10634 from CesiumGS/bounding-sphere-rtc
Make `ModelExperimental.boundingSphere` account for `RTC_CENTER`
2022-08-13 09:11:50 -07:00
nshen 3cfdeb4006 remove thirdparty protobufjs.js 2022-08-12 01:42:55 +08:00
nshen 2be8bd6202 remove thirdparty topojson.js 2022-08-12 01:40:49 +08:00
nshen 9a99648895 remove thirdparty zip.js 2022-08-12 01:38:11 +08:00
nshen 7fcc9c68a3 remove thirdparty rbush.js 2022-08-12 01:25:47 +08:00
nshen 8750b976f5 remove thirdparty pako.js 2022-08-12 01:23:37 +08:00
nshen 141449b2e8 remove thirdparty nosleep.js 2022-08-12 01:21:34 +08:00
nshen 9d98452b2a fix default import failed 2022-08-12 01:20:14 +08:00
nshen 1f5ebd5df2 remove thirdparty meshoptimizer.js 2022-08-12 01:14:19 +08:00
nshen 8a681459c5 remove thirdparty lerc.js 2022-08-12 01:11:57 +08:00
nshen 7b0f2a18e4 remove thirdparty ktx-parse.js 2022-08-12 01:09:13 +08:00
nshen 8be490a397 remove thirdparty kdbush.js 2022-08-12 01:05:48 +08:00
nshen 2f8d837131 remove thirdparty jsep.js 2022-08-12 01:02:33 +08:00
nshen 9538b405b5 remove thirdparty grapheme-splitter.js 2022-08-12 00:59:16 +08:00
nshen c454ad5444 remove thirdparty earcut.js 2022-08-12 00:52:22 +08:00
nshen 6b9b57fe80 remove thirdparty dompurify.js 2022-08-12 00:49:15 +08:00
nshen 3a35c0569e remove thirdparty bitmap-sdf.js 2022-08-12 00:45:39 +08:00
nshen 7600a24ab3 remove thirdparty autolinker.js 2022-08-12 00:39:40 +08:00
Jeshurun Hembd dbd32dbd94 Update docs and Custom Shader README 2022-08-11 12:29:35 -04:00
Gabby Getz 90167c2c29
Merge pull request #10665 from CesiumGS/camera-fly-to-followup
Adds fix for error checking in sampleTerrain
2022-08-11 07:55:38 -07:00
Gabby Getz 841054d196
Merge pull request #10660 from nshen/remove-mersenne-twister
Remove "ThirdParty/mersenne-twister.js"
2022-08-11 07:36:40 -07:00
Jeshurun Hembd 6cde84292a Reorder MetadataPipelineStage functions for top down reading 2022-08-10 19:41:08 -04:00
Jeshurun Hembd 8adf5695cc Process occurrence statistics 2022-08-10 19:22:46 -04:00
Janine Liu 410ae8f06f Merge with main 2022-08-10 17:07:27 -04:00
Jeshurun Hembd e72f9a17c5 Declare metadata sub-structs for enum statistics 2022-08-10 14:53:56 -04:00
Sanjeet Suhag 7dee4dbadf Typo fixes 2022-08-10 13:12:59 -04:00
Sanjeet Suhag c44f6e7931 Adds fix for error checking in sampleTerrain and makes getBoundingSphere for EllipsoidTerrainProvider 2022-08-10 12:58:18 -04:00
Jeshurun Hembd a9cfb1cdb9 Simplify declareTypeStruct for metadata types 2022-08-10 12:06:40 -04:00
Jeshurun Hembd 72b7bac46c Refactor MetadataPipelineStage: collect property info at beginning 2022-08-09 23:13:52 -04:00
Jeshurun Hembd 8984f5627c Merge branch 'main' into metadata-statistics 2022-08-08 23:39:43 -04:00
nshen a8f682083b remove thirdparty mersenne-twister 2022-08-09 01:12:28 +08:00
Jeshurun Hembd fd0908d04f Fix metadata statistics property access and shader signatures 2022-08-08 13:10:04 -04:00
Sanjeet Suhag e20dba0fba Mocks sampleTerrainMostDetailed in specs 2022-08-08 11:58:15 -04:00
Sanjeet Suhag 418a8419d3 Merge branch 'main' of https://github.com/CesiumGS/cesium into camera-model-fly-to-fix 2022-08-08 10:54:33 -04:00
Sean Lilley ea4480d635 Merge branch 'main' into bounding-sphere-rtc 2022-08-06 10:46:55 -04:00
Sean Lilley f184dfa60e Merge branch 'main' into bounding-sphere-getter-fix 2022-08-06 10:28:50 -04:00
Sean Lilley 2bf666f9e7 Merge branch 'main' into gltf-1 2022-08-05 19:25:45 -04:00
Sean Lilley 5b437fd658 Upgrade glTF 1.0, KHR_techniques_webgl, and KHR_materials_common 2022-08-05 19:25:22 -04:00
Sean Lilley 1f704b0b03 Update gltf-pipeline 2022-08-05 18:49:20 -04:00
Janine Liu 8c92d86e32
Merge pull request #10644 from CesiumGS/replace-model
Replace glTF model implementation
2022-08-05 17:55:06 -04:00
Janine Liu beaee09787 Fix typo [skip ci] 2022-08-05 17:35:59 -04:00
Peter Gagliardi 6d9084e815 Add missing lines to the constructor 2022-08-05 17:30:55 -04:00
Peter Gagliardi 274ef009d0 export default function confuses JSDoc 2022-08-05 17:24:59 -04:00
Peter Gagliardi cf2f3cfd78 ModelFeature constructor docs is no longer experimental 2022-08-05 16:43:29 -04:00
Peter Gagliardi 8b757cee32 add missing `@memberof` definitions 2022-08-05 16:41:53 -04:00
Tamrat Belayneh 10feb5d117
Merge branch 'CesiumGS:main' into cesium_i3s_support 2022-08-05 11:22:45 -07:00
Janine Liu 40b1d72825 Remove ability to toggle classificationType at runtime 2022-08-05 14:12:40 -04:00
Janine Liu aebe50f97d Remove CustomShaderGuide from Source folder [skip ci] 2022-08-05 10:55:05 -04:00
Sanjeet Suhag 10b3fad572 Feedback pass 2022-08-05 10:24:29 -04:00
Janine Liu 0e24e13c3e Rename ModelExperimental folders 2022-08-05 10:08:17 -04:00
Janine Liu 916d3e8253 Merge with replace-model 2022-08-05 09:33:19 -04:00
Janine Liu 686fee702f Add experimental tag to custom shader [skip ci] 2022-08-04 17:23:02 -04:00
Janine Liu 9296b9251a Add back experimental tags [skip ci] 2022-08-04 17:19:02 -04:00
Janine Liu a049fa11bc Add check for texcoords in DequantiziationPipelineStage 2022-08-04 17:09:31 -04:00
Janine Liu 4f208d2ff2 Use texcoords in classification models 2022-08-04 16:59:29 -04:00
Janine Liu c1ee3b5d6e Code cleanup 2022-08-04 16:42:14 -04:00
Janine Liu 4603551fcf Remove classification files 2022-08-04 16:30:01 -04:00
Janine Liu 9e00dfdc10 Rename ModelExperimentalUtility and shaders 2022-08-04 16:22:27 -04:00
Janine Liu ba72b7ee87 Remove other files related to classification model 2022-08-04 16:11:42 -04:00
Janine Liu 0908dda439 Rename / remove component-related classes 2022-08-04 16:08:17 -04:00
Janine Liu fc4f4e4111 Rename / remove animation classes 2022-08-04 15:59:58 -04:00
Janine Liu c6d3acfe16 Remove ClassificationModel 2022-08-04 15:45:59 -04:00
Janine Liu 679453d201 Merge with replace-model 2022-08-04 15:36:10 -04:00
Jeshurun Hembd 84a2095595 Merge branch 'main' into metadata-statistics 2022-08-04 15:34:37 -04:00
Sam Suhag 9b986ab79a
Merge pull request #10629 from CesiumGS/shader-errors
Fix debugShaders output when shaders fail to compile
2022-08-04 15:11:32 -04:00
Sanjeet Suhag 2513c56ae9 Feedback pass 2022-08-04 15:09:40 -04:00
Peter Gagliardi 3b8354646a Remove ExperimentalFeatures since it is empty 2022-08-04 14:12:55 -04:00
Peter Gagliardi 88a27e9467 PR feedback 2022-08-04 13:42:31 -04:00
Jeshurun Hembd b27ca234ea Log raw GLSL if shader fails to compile 2022-08-04 13:35:40 -04:00
Peter Gagliardi 1c2365f02a Rename ModelExperimental -> Model 2022-08-04 12:57:20 -04:00
Peter Gagliardi d8b970ca3f Remove ModelInstanceCollection 2022-08-04 11:36:32 -04:00
Peter Gagliardi 1d64a63a24 Remove enableModelExperimental flag 2022-08-04 11:34:32 -04:00
Peter Gagliardi 2ba42cda6f Remove Model 2022-08-04 11:30:32 -04:00
Peter Gagliardi 5f50db1970 PR feedback 2022-08-04 11:27:50 -04:00
Peter Gagliardi 51012409c0 Merge branch 'replace-model' into remove-1.0-contents 2022-08-04 11:16:06 -04:00
Peter Gagliardi 4083fb5751 Merge branch 'main' into replace-model 2022-08-04 11:13:34 -04:00
Janine Liu 294f0b9d7b Refactor render resources 2022-08-04 11:11:57 -04:00
Peter Gagliardi 1de3507b1d Fix composite content tests 2022-08-04 10:44:11 -04:00
Janine Liu 15a878f41a Merge branch 'main' into bounding-sphere-rtc 2022-08-04 09:56:16 -04:00
Peter Gagliardi a2c4a1ea0d Remove 1.0 contents 2022-08-04 09:02:56 -04:00
Sean Lilley 39cfad926a Add better comments, add CESIUM_RTC handling for i3dm 2022-08-04 07:59:25 -04:00
Peter Gagliardi 6d662e5151 PR feedback 2022-08-03 17:37:03 -04:00
Janine Liu a7c9a3681e Begin rewriting ModelDrawCommand specs 2022-08-03 16:05:12 -04:00
Peter Gagliardi dac0035eee getFeature() is supposed to throw if a feature cannot be found 2022-08-03 15:39:51 -04:00
Sanjeet Suhag a087f01edb Adds comments, updates spec 2022-08-03 13:51:16 -04:00
Janine Liu 7b847e620c Merge with replace-model 2022-08-03 13:35:41 -04:00
Janine Liu 5f1844ed4c Uncomment code in shader 2022-08-03 13:16:48 -04:00
Janine Liu 3f5365a0b4 Fix bounding sphere computation for RTC 2022-08-03 12:11:22 -04:00
Janine Liu 696089a60a Update bounding sphere getter 2022-08-03 11:17:50 -04:00
Sanjeet Suhag 6a18ef9a23 Exact bounding sphere WIP 2022-08-03 10:33:22 -04:00
Sanjeet Suhag 8e9e884ee4 WIP estimate bounding sphere 2022-08-03 09:45:03 -04:00
Sanjeet Suhag df65534fb7 WIP Live update camera 2022-08-03 00:34:03 -04:00
Sanjeet Suhag 01fb5ebdf9 WIP Bounding Sphere Maps 2022-08-02 23:52:56 -04:00
Jeshurun Hembd f914fc1e6b Reorder createAndLinkProgram to fix debug output 2022-08-02 22:18:13 -04:00
Sean Lilley 9a0d654819 Add support for CESIUM_RTC 2022-08-02 19:21:15 -04:00
Sean Lilley bd40c3179a
Merge pull request #10624 from CesiumGS/custom-shader-translucency-mode
Improve control over CustomShader translucency settings
2022-08-02 17:48:04 -04:00
Peter Gagliardi 08f80d097e rename NO_CHANGE -> INHERIT 2022-08-02 17:27:00 -04:00
Janine Liu 04d10ec786 Fix documentation 2022-08-02 16:53:37 -04:00
Janine Liu cb2387cc68 Fix accidentally committed code and typos 2022-08-02 16:51:34 -04:00
Peter Gagliardi e6f8ce3b54 replace isTranslucent with translucencyMode 2022-08-02 16:43:36 -04:00
Janine Liu a7321ff029 Merge with replace-model 2022-08-02 16:01:49 -04:00
Janine Liu 6b2ab4c851 Add specs to Model3DTileContent 2022-08-02 15:53:54 -04:00
Janine Liu e99047cdce Write unit tests for classification model draw command and shader changes 2022-08-02 15:30:01 -04:00
Gabby Getz b173c1be0f Update deprecated tween usage 2022-08-02 14:58:26 -04:00
Jeshurun Hembd 1c1f79d135 Refactor helpers in MetadataPipelineStage, avoid extra statistics structs 2022-08-02 11:27:52 -04:00
Sanjeet Suhag bac00332b0 Updates package.json, Ion.js and CHANGES.md for version 1.96.0 2022-08-01 15:29:54 -04:00
Janine Liu b10fc7f98f Code cleanup 2022-08-01 14:49:39 -04:00
Janine Liu b6f1f88d30 Use ModelExperimental for classification models 2022-08-01 12:11:58 -04:00
Jeshurun Hembd dbf7f1aa59 Merge branch 'main' into metadata-statistics 2022-07-29 12:51:39 -04:00
Jeshurun Hembd 8dcea87332 Decouple the handling of different structs in MetadataPipelineStage 2022-07-28 19:20:00 -04:00
Janine Liu d092efda2b Create ClassificationModelDrawCommand 2022-07-28 17:29:22 -04:00
Jeshurun Hembd e81117963f Add MetadataStatistics type structs 2022-07-28 16:34:50 -04:00
Sam Suhag af7ba8cd02
Merge pull request #10607 from CesiumGS/primitive-ready
Fix bug where dynamic geometry was not marked as ready
2022-07-28 13:15:23 -04:00
Gabby Getz 34512c3003 Fix bug where dynamic geometry was not marked as ready 2022-07-28 12:43:42 -04:00
Jeshurun Hembd 11a004fb2e Load tileset with metadata statistics in MetadataPipelineStageSpec 2022-07-28 10:34:23 -04:00
Janine Liu 6f6b0a70d2 Fix incorrect imports 2022-07-28 09:42:51 -04:00
Janine Liu a2f6cfa526 Restore color default to undefined 2022-07-28 09:29:22 -04:00
Gabby Getz 098ac6cbb0
Merge pull request #9402 from bimangle/master
fix bug of outline data process.
2022-07-28 08:28:19 -04:00
Janine Liu 885bd65a66 Fix color bug 2022-07-27 17:42:12 -04:00
Janine Liu 640b563444 Final test adjustments 2022-07-27 15:41:52 -04:00
Janine Liu 74fda465b1 Fix loader tests 2022-07-27 14:38:01 -04:00
Janine Liu a8ce6407ae Merge branch 'replace-model' into classification-model-update 2022-07-27 13:20:21 -04:00
Janine Liu b9371654c0 Cleanup code 2022-07-27 13:19:56 -04:00
Sean Lilley b435a54945 ClassificationModelExperimental 2022-07-27 12:25:53 -04:00
Janine Liu fdd8aa3912 Reorganize ModelExperimental tests 2022-07-27 09:30:33 -04:00
Janine Liu 526ef3f207 Merge branch 'main' into replace-model 2022-07-26 17:29:08 -04:00
Peter Gagliardi 7e7ba17b4c Fix parsing POSITION_QUANTIZED in I3dmLoader 2022-07-26 13:46:40 -04:00
Peter Gagliardi 9e84228321
Merge pull request #10494 from CesiumGS/rename-model-experimental-files
Rename `ModelExperimental` files that don't conflict with `Model`
2022-07-26 12:57:22 -04:00
Janine Liu ac43b18492 Merge with main 2022-07-26 10:05:31 -04:00
Janine Liu 9e472d5aa8 Code cleanup 2022-07-26 09:38:14 -04:00
Janine Liu 81aed9f0b0 Remove support for gltF 1.0 and other extensions 2022-07-25 16:07:43 -04:00
Jeshurun Hembd 4ca98578e2 Begin adding metadataStatistics struct 2022-07-25 09:49:13 -04:00
Janine Liu a92bb5ea74 Small tweaks 2022-07-22 15:38:06 -04:00
Janine Liu 550ddaa388 Merge with main 2022-07-22 15:24:43 -04:00
Janine Liu a3010bbef1 Merge branch 'main' into rename-model-experimental-files 2022-07-22 14:08:49 -04:00
Janine Liu d3e0c37438
Merge branch 'main' into simplify-regex 2022-07-22 14:04:08 -04:00
Sam Suhag 06181ac757
Merge pull request #10579 from CesiumGS:animation-frame
Deprecate requestAnimationFrame and cancelAnimationFrame polyfills
2022-07-22 14:02:03 -04:00
Janine Liu fe714e3be0
Merge branch 'main' into model-experimental-false-by-default 2022-07-22 13:58:10 -04:00
Janine Liu 0fda93e91c Change sandcastles and unit tests 2022-07-22 13:53:11 -04:00
Peter Gagliardi 6e248f32fa Simplify the regex for sanitizing GLSL identifiers 2022-07-22 13:32:57 -04:00
Janine Liu 30b04a299c Set enableModelExperimental false, change Model bounding sphere 2022-07-22 13:04:15 -04:00
Jeshurun Hembd 77bd34ea73
Merge branch 'main' into classinfo-struct 2022-07-22 11:50:41 -04:00
Janine Liu 5a64362f0a Merge branch 'main' into rename-model-experimental-files 2022-07-22 10:33:32 -04:00
Peter Gagliardi 65f14e2631
Merge pull request #10582 from CesiumGS/tileset-style-fix
Fix application of styles in `Cesium3DTileset`
2022-07-22 10:09:07 -04:00
Janine Liu e22215a15d Refine comment [skip ci] 2022-07-22 10:07:59 -04:00
Peter Gagliardi 6d37037729
Merge pull request #10578 from CesiumGS/custom-shader-metadata-names
Update sanitization conventions for property names in Custom Shaders
2022-07-22 10:06:44 -04:00
Janine Liu e00bc86048 Fix style application in tilesets 2022-07-21 17:32:06 -04:00
Peter Gagliardi 6bf6c55581 Don't initialize show to tileset.show 2022-07-21 16:48:07 -04:00
Jeshurun Hembd ecf618ea57 Fix deprecationWarning call in requestAnimationFrame 2022-07-21 16:26:05 -04:00
Jeshurun Hembd 66df9b5f42 Deprecate requestAnimationFrame and cancelAnimationFrame polyfills 2022-07-21 16:09:50 -04:00
Janine Liu 11f153e74e Update naming convention for property names in custom shader 2022-07-21 14:46:15 -04:00
Janine Liu eeb6b255f7 Fix incorrect define to add world position to shader 2022-07-21 13:29:21 -04:00
Jeshurun Hembd 5e597cd506 Avoid unnecessary type structs for metadataClass 2022-07-21 13:20:40 -04:00
Janine Liu e8d03adc5c merge with main 2022-07-21 12:54:43 -04:00
Peter Gagliardi 82a7ff5103
Merge pull request #10549 from CesiumGS/fix-alpha-handling
Fix alpha mask + translucent features
2022-07-21 11:50:14 -04:00
Janine Liu d9bc66e528 Rename ModelExperimental files that don't have Model counterparts 2022-07-21 11:35:48 -04:00
Janine Liu 80fafe5eef Reorganize unit tests 2022-07-21 10:35:17 -04:00
Peter Gagliardi 51f3c656e6
Merge pull request #10574 from CesiumGS/refactor-model-experimental-statistics
Change how batch textures are counted in `ModelExperimentalStatistics`
2022-07-20 16:51:44 -04:00
Janine Liu d0464914d1 Edit documentation [skip ci] 2022-07-20 16:48:57 -04:00
Janine Liu 24ae20b945
Merge pull request #10575 from CesiumGS/fix-silhouette-position
fix rendering of silhouettes in `ModelExperimental`
2022-07-20 16:45:00 -04:00
Janine Liu 86fd827975 Update sandcastle 2022-07-20 16:33:35 -04:00
Peter Gagliardi 9a7559bf46 fix rendering of silhouettes in ModelExperimental 2022-07-20 15:50:48 -04:00
Janine Liu 76411c7442 Unit test cleanup 2022-07-20 15:39:29 -04:00
Sanjeet Suhag a385113959 Merge branch 'main' of https://github.com/CesiumGS/cesium into protobuf-7-0-0 2022-07-20 15:24:14 -04:00
Sean Lilley 50b5a6f8ed Support skipLods in ModelExerimentalDrawCommand 2022-07-20 15:22:53 -04:00
Janine Liu 79f7ae96e7 Merge branch 'main' into fix-alpha-handling 2022-07-20 15:18:37 -04:00
Jeshurun Hembd bafe7ddc35 Revert to ES5 loops in MetadataPipelineStage 2022-07-20 14:38:33 -04:00
Janine Liu b61d3d0f5d Small edits 2022-07-20 14:32:00 -04:00
Janine Liu 1fd231ccf9 Count batch textures differently 2022-07-20 14:02:53 -04:00
Peter Gagliardi a113a9af4f
Merge pull request #10569 from CesiumGS/metadata-point-cloud-styling
Add point cloud styling with metadata to `ModelExperimental`
2022-07-20 12:38:56 -04:00
Jeshurun Hembd c981890cb2
Merge branch 'main' into classinfo-struct 2022-07-20 12:13:30 -04:00
Janine Liu 0f6b24fdcd Reorganize if statement 2022-07-20 12:12:00 -04:00
Janine Liu 35ffe47ee7 Code cleanup 2022-07-20 11:43:48 -04:00
Peter Gagliardi c78fab6793
Merge pull request #10571 from CesiumGS/model-experimental-height-reference-fix
Fix height reference handling in `ModelExperimental`
2022-07-20 11:40:42 -04:00
Janine Liu 042b8a6ae9
Merge pull request #10570 from CesiumGS/fix-multi-content-promise
Fix multiple contents race condition
2022-07-20 11:36:16 -04:00
Peter Gagliardi b66adc9d0a [skip ci] Reword documentation comment 2022-07-20 11:14:27 -04:00
Gabby Getz 513a14e728
Merge branch 'main' into protobuf-7-0-0 2022-07-20 08:59:35 -04:00
Janine Liu 5983772686 Fix handling of height reference in ModelExperimental 2022-07-19 17:01:49 -04:00
Janine Liu a20429b7fd Update changelog, cleanup 2022-07-19 16:18:48 -04:00
Janine Liu ba960c8b67 Add unit tests 2022-07-19 15:56:47 -04:00
Peter Gagliardi eebc1c0661 Add a flag to indicate when contents have been created 2022-07-19 15:53:20 -04:00
Peter Gagliardi 1de189abc0 Add a missing short-circuit check 2022-07-19 15:36:29 -04:00
Sam Suhag 6d7f3d3ecd
Merge pull request #10399 from CesiumGS/build
Streamline build processes with esbuild
2022-07-19 14:58:13 -04:00
Janine Liu f218d24daf Add metadata styling to point clouds in ModelExperimental 2022-07-19 12:47:46 -04:00
Janine Liu dc28421ff2
Merge pull request #10558 from CesiumGS/pnts-as-attributes
Parse pnts batch table as property attributes for better performance
2022-07-19 10:31:39 -04:00
Sanjeet Suhag 2c6efa4ea6 Regenerated google-earth-dbroot-parser.js using protobufjs-cli 2022-07-18 21:18:53 -04:00
Janine Liu 8b029371c6 Cleanup 2022-07-18 17:54:40 -04:00
Peter Gagliardi a83d6f0419 PR Feedback 2022-07-18 17:16:40 -04:00
Peter Gagliardi b4da6033fb Update PntsLoader specs 2022-07-18 13:33:08 -04:00
Peter Gagliardi 3bc72075ba Fix parsing of Draco-compressed batch table 2022-07-18 13:12:26 -04:00
Janine Liu acedfff19c Remove console.log and debug comment 2022-07-18 12:24:51 -04:00
Janine Liu bb3ca6e318 Add rendering unit tests 2022-07-18 12:21:20 -04:00
Peter Gagliardi ac612d3a1c batched properties should still be parsed as property table 2022-07-18 08:26:30 -04:00
Peter Gagliardi 0d4be5a231 Update specs for parseBatchTable 2022-07-17 16:31:27 -04:00
Jeshurun Hembd c74b298fb7 Update unit tests to check MetadataClass structs 2022-07-15 17:18:41 -04:00
Janine Liu f92bae982e Add unit tests to pipeline stage and primitive 2022-07-15 16:48:35 -04:00
Janine Liu 40311aa603 Point cloud styling works for basic attributes 2022-07-15 15:53:45 -04:00
Gabby Getz 24c4590756 Merge branch 'main' into build 2022-07-15 14:43:41 -04:00
Tamrat Belayneh 636d836612
Merge branch 'CesiumGS:main' into cesium_i3s_support 2022-07-15 09:27:41 -07:00
Janine Liu f553779a1a Add pipeline stage to primitive 2022-07-15 10:29:27 -04:00
Peter Gagliardi 50f7ee03b5 Start working on unit tests 2022-07-15 10:22:02 -04:00
Sean Lilley 3b9dbaf3d3 Fixes 2022-07-15 10:16:22 -04:00
Sean Lilley b3fa45d02a Update unit tests 2022-07-15 09:54:17 -04:00
Peter Gagliardi 5bd2c477c3 Multiple underscores are invalid in GLSL 2022-07-15 09:40:59 -04:00
Peter Gagliardi db3e736ec5 Better error handler for ResourceLoader 2022-07-15 09:40:20 -04:00