Commit Graph

5748 Commits

Author SHA1 Message Date
Janine Liu 51a343eae3 Update changelog [skip ci] 2022-07-06 09:31:42 -04:00
Janine Liu f5d1b7c00c Update changes [skip ci] 2022-07-05 16:59:22 -04:00
Sean Lilley 9c3f26913a Update CHANGES.md 2022-07-05 10:20:29 -04:00
Sean Lilley eecf067a2d Update CHANGES.md PR number 2022-07-05 10:20:05 -04:00
Sean Lilley e6681b1c51 Update CHANGES.md 2022-07-05 10:19:15 -04:00
Janine Liu 4f0528f399 Update changes [skip ci] 2022-06-30 12:15:32 -04:00
Peter Gagliardi 7541649704 [skip ci] Move updated deprecation entries in changelog 2022-06-30 10:22:50 -04:00
Peter Gagliardi aaf6f2e2bb Defer Model deprecations until 1.96 release 2022-06-29 17:27:31 -04:00
Peter Gagliardi e6d528ca83
Merge pull request #10490 from CesiumGS/model-experimental-asynchronous-loading
Add `asynchronous` option to `ModelExperimental.fromGltf`
2022-06-29 14:37:17 -04:00
Janine Liu 862f5a5335
Merge pull request #10492 from CesiumGS/model-experimental-entities
Allow using `ModelExperimental` in entities and CZML
2022-06-29 14:30:32 -04:00
Janine Liu e57e5af32c Fix prettier 2022-06-29 14:20:01 -04:00
Peter Gagliardi 6f8fe047fa [skip ci] Didn't notice second typo on same line 2022-06-29 14:14:34 -04:00
Peter Gagliardi 42fb6fc870 [skip ci] Fix typo 2022-06-29 14:04:43 -04:00
Janine Liu 5facb4d7e8 Merge with main 2022-06-29 13:47:29 -04:00
Peter Gagliardi d7ed0770f5 Update CHANGES.md 2022-06-29 13:27:20 -04:00
Janine Liu be8d5896a8 Merge with main 2022-06-29 12:57:57 -04:00
Peter Gagliardi 5c80cba8ee
Merge pull request #10491 from CesiumGS/model-experimental-id
Add `options.id` to `ModelExperimental`
2022-06-29 12:53:10 -04:00
Janine Liu 8843eacf4b small tweaks 2022-06-29 11:22:43 -04:00
Janine Liu 2f8111f7b5 Update changelog [skip ci] 2022-06-28 15:18:29 -04:00
Janine Liu 128b40b0cc update changelog [skip ci] 2022-06-28 12:06:39 -04:00
Jeshurun Hembd c518df5496
Merge branch 'main' into texture-mipmaps 2022-06-27 16:45:53 -05:00
Jeshurun Hembd 0fe8ed70c3 Test mipmaps in TextureManager, clarify comments, update CHANGES.md 2022-06-27 17:43:26 -04:00
Janine Liu ded5160cbb
Merge branch 'main' into model-experimental-distance-display-condition 2022-06-27 15:56:26 -04:00
Janine Liu d4fcd8a829 Update changelog and unit test 2022-06-24 16:15:12 -04:00
Janine Liu 9fe5bebcf5
Merge branch 'main' into model-experimental-articulations 2022-06-24 14:28:14 -04:00
Janine Liu 80bdaaa70b Update changelog [skip ci] 2022-06-24 14:13:23 -04:00
Sam Suhag 2dc38a203f
Merge pull request #10473 from jjhembd/property-names-vs-ids
Standardize method names for 3DTiles metadata
2022-06-23 13:08:58 -04:00
Jeshurun Hembd c029ae2d40 Update CHANGES.md 2022-06-23 09:24:53 -04:00
Jeshurun Hembd ccfed288ab Update CHANGES.md 2022-06-21 17:32:25 -04:00
Peter Gagliardi b50026d143
Merge pull request #10457 from CesiumGS/model-experimental-silhouette
Add silhouettes to `ModelExperimental`
2022-06-21 16:11:47 -04:00
Jeshurun Hembd de82268a83 Merge changes from main 2022-06-16 14:36:41 -04:00
Jeshurun Hembd 9a868cc51c Update CHANGES.md 2022-06-16 14:24:34 -04:00
Jeshurun Hembd 25e58b92be Warn if Cesium3DTile content.uri is empty, and load empty tile 2022-06-16 10:53:56 -04:00
Jeshurun Hembd 470b2da017 Update changelog and CONTRIBUTORS.md 2022-06-15 10:34:13 -04:00
Janine Liu 5c4fbea5f1 Code cleanup 2022-06-14 14:12:12 -04:00
Gabby Getz 4b0b31bb20 Merge branch '1.94.3-release' into main 2022-06-13 09:24:09 -04:00
Peter Gagliardi 1c0576f3e4
Merge pull request #10448 from CesiumGS/model-experimental-height-reference
Add height reference (clamp-to-ground) to `ModelExperimental`
2022-06-10 17:24:18 -04:00
Janine Liu a33c03ac83 update changelog [skip ci] 2022-06-10 14:57:05 -04:00
Gabby Getz 6ab7c85301 Update CHANGES.md 2022-06-10 14:21:26 -04:00
Janine Liu 5754aa8607 Merge branch 'main' into add-projectTo2D-to-tilesets 2022-06-09 09:37:13 -04:00
Janine Liu b6cf89ee89
Merge pull request #10413 from CesiumGS/resource-cache-statistics
Add memory statistics for the global `ResourceCache`
2022-06-08 17:12:48 -04:00
Janine Liu 1f3ab044a2 Fix typo in changelog [skip ci] 2022-06-08 17:04:46 -04:00
Peter Gagliardi 6cb5947a3a Update CHANGES.md 2022-06-08 16:36:48 -04:00
Janine Liu 86ca4b3056 Merge with main 2022-06-08 16:21:13 -04:00
Janine Liu 0923aa3531 Update changes.md [skip ci] 2022-06-08 15:25:06 -04:00
Peter Gagliardi a3bdaa926a Update CHANGES.md 2022-06-08 13:30:43 -04:00
Janine Liu 8df5052f98 Add node statistics pipeline stage 2022-06-08 13:11:10 -04:00
Janine Liu b70e22d2e2
Merge pull request #10397 from CesiumGS/model-experimental-statistics
Add basic memory statistics in ModelExperimental
2022-06-07 14:34:03 -04:00
Janine Liu 832de638ce Fix typo, remove console log in unit test 2022-06-07 13:24:41 -04:00
Peter Gagliardi 888af9dd30 Update CHANGES.md 2022-06-07 13:04:33 -04:00
Gabby Getz 4eee06f77f
Merge pull request #10425 from DanielLeone/fix-sample-terrain-throttle-error
stop sampleTerrain from exploding if RequestScheduler throttles it 💣
2022-06-07 08:58:15 -04:00
Gabby Getz 74747da66a
Merge branch 'main' into feature-detection-edge-fix 2022-06-06 09:28:01 -04:00
Daniel Leone bcf6be6656 added code comments, added unit test, added CHANGES.md line
also fixed URL typo in CHANGES.md
2022-06-04 14:27:00 +08:00
Gabby Getz 3a28262bbb Update for 1.94.2 release 2022-06-03 15:00:39 -04:00
Sanjeet Suhag 271218055d Adds CHANGES.md entry 2022-06-03 14:10:52 -04:00
Gabby Getz bfa1479ac3 1.94.1 updates 2022-06-03 13:33:23 -04:00
Sean Lilley 27769a20c3
Merge pull request #10427 from CesiumGS/vector-tiles-fix
Fix vector tile crash by making sure billboardCollection is defined
2022-06-03 12:40:03 -04:00
Gabby Getz 6f08d23a78 Update CHANGES.md 2022-06-03 12:01:45 -04:00
Janine Liu 500640b25d Merge with main 2022-06-03 10:55:51 -04:00
Sean Lilley 4c666d63bc Update CHANGES.md 2022-06-02 17:59:40 -04:00
Janine Liu 0bb6e5dec4 Update changelog [skip ci] 2022-06-01 17:03:26 -04:00
Peter Gagliardi 699adec080 Merge branch 'main' into deprecate-some-model-options 2022-06-01 11:15:36 -04:00
Gabby Getz b63a6057f1
Merge branch 'main' into remove-imagery-split 2022-06-01 10:57:05 -04:00
Sanjeet Suhag f4ff97d5ce ESLint fixes 2022-06-01 10:29:47 -04:00
Sanjeet Suhag 353d449376 Adds breaking change to CHANGES.md 2022-06-01 10:27:03 -04:00
Sanjeet Suhag d1c37c24ea Adds CHANGES.md entry 2022-06-01 10:22:43 -04:00
Sanjeet Suhag 44abd5bfa6 Add to CHANGES.md 2022-06-01 10:01:16 -04:00
Sean Lilley f3f8c5523d Cesium -> CesiumJS 2022-06-01 09:07:21 -04:00
Peter Gagliardi f77041bf53 Add PR link to CHANGES.md 2022-05-31 17:31:03 -04:00
Peter Gagliardi b1bed7ea89 List deprecations in CHANGES.md 2022-05-31 17:03:58 -04:00
Peter Gagliardi 74b4e955e7 Deprecate glTF 1.0 assets 2022-05-31 14:42:34 -04:00
Sanjeet Suhag c0240428f7 Merge branch 'main' of https://github.com/CesiumGS/cesium into custom-texture-coordinates 2022-05-26 18:48:41 -04:00
Peter Gagliardi 44d8abb889
Merge pull request #10405 from CesiumGS/invert-scale
Reverse winding order for negatively scaled models
2022-05-26 15:54:45 -04:00
Sean Lilley ce611177ce Update CHANGES.md 2022-05-26 09:53:08 -04:00
Sean Lilley ec5f1284b8 Render back faces when scale is negative 2022-05-26 09:49:19 -04:00
Gabby Getz e433151df2 Cleanup 2022-05-26 09:32:15 -04:00
Gabby Getz 60cb2377e3 Merge branch 'main' into defer-b-gone 2022-05-26 09:15:37 -04:00
Peter Gagliardi b525bb8579
Merge pull request #10384 from CesiumGS/model-experimental-2d-cv-support
Add 2D / CV support to tilesets using ModelExperimental
2022-05-25 14:00:42 -04:00
Jussi Hirvonen 61c5c241bc
Update CHANGES.md
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2022-05-24 20:44:48 +03:00
Jussi Hirvonen d276e9f46c Added unit test for bounding spheres not centered at (0,0,0) 2022-05-24 18:22:33 +03:00
Janine Liu 0c88fb6933 Prevent crash if projectTo2D is false 2022-05-23 15:08:44 -04:00
Sam Suhag 82465d52c6
Merge pull request #10390 from CesiumGS:remove-wasm-wrkaround
Remove wasm workaround for Edge
2022-05-18 18:42:41 -04:00
Peter Gagliardi 7cabc7ad9f
Merge pull request #10388 from CesiumGS/remove-ibl-parameters
Remove individual image-based lighting parameters
2022-05-17 16:30:58 -04:00
Peter Gagliardi 3d2526e888 [skip ci] Update documentation wording 2022-05-17 15:24:12 -04:00
Janine Liu df8217bd51 Update changelog [skip ci] 2022-05-17 13:47:30 -04:00
Peter Gagliardi 3678f35d19 [skip ci] Update CHANGES.md 2022-05-17 13:18:33 -04:00
Gabby Getz 0282c1f34e Update CHANGES, doc comments 2022-05-16 11:11:31 -04:00
Gabby Getz e3f39a1f10 Update CHANGES.md 2022-05-16 09:50:18 -04:00
Erik Dahlström c7ef72a516 CHANGES++ 2022-05-13 15:59:56 +02:00
Janine Liu 4853ad0f04 Replace gltf with url in public API 2022-05-12 11:12:10 -04:00
Janine Liu 6ff107badd Update changelog [skip ci] 2022-05-12 10:12:54 -04:00
markw65 47e7d9fdcd Respond to code review 2022-05-10 14:04:56 -07:00
markw65 cd8bfda192 Add support for explicit control over model animations
Cesium currently only supports time based animation. This can
be inconvenient if the phase of the animation is related to
something other than time (eg distance along a path of an
object moving at a variable speed).

This came up before in #7361, but the author was persuaded that
it was better to use nodeTransformations to explicitly control
the model. That was (just) doable with that example, because
there were just 3 pairs of wheels, all of which needed the
exact same, relatively trivial, transformations. The proposed
solution was also cumbersome, relying on modifying `multiplier`
on the fly, with the downside that modifying multiplier also
reset the phase of the animation.

For more complex models, with less uniform animations, this
approach isn't really doable - especially if you want the same
code to work for multiple models.

This adds an animationTime function to ModelAnimation. If set,
it's used by ModelAnimationCollection.update to compute the
localAnimationTime, rather than using the current clock time.

I also added an animateWhilePaused property to
ModelAnimationCollection. When false (the default), we continue
to do the short circuit exit from ModelAnimationCollection.update
when the scene time hasn't changed. When true, a suitable
animationTime function can continue to animate the model, even when
scene time is paused.

The new sandcastle example is just a clone of Time Dynamic Wheels,
rewritten to use Cesium_Man.glb, and the new functionality.
2022-05-10 13:55:31 -07:00
Sanjeet Suhag 85de0c6695 Merge branch 'main' of https://github.com/CesiumGS/cesium into custom-texture-coordinates 2022-05-06 08:48:22 -04:00
Ian Lilley 37343b4b0b
Merge pull request #10350 from CesiumGS/index-datatype-from-typed-array
Added IndexDatatype.fromTypedArray
2022-05-05 17:55:02 -07:00
Sean Lilley 848462dbd5
Merge branch 'main' into index-datatype-from-typed-array 2022-05-05 17:22:35 -04:00
Sean Lilley 3024c9f56f
Merge branch 'main' into zero-area-region 2022-05-05 17:22:10 -04:00
Sean Lilley 918d4af523
Update CHANGES.md 2022-05-05 17:21:48 -04:00
Gabby Getz 8c7ef1510d Merge branch 'main' into style-fix 2022-05-05 15:29:13 -04:00
Sean Lilley 07dc1cb484
Merge pull request #10343 from CesiumGS/label-background
Add label background image asynchronously
2022-05-05 13:52:26 -04:00