-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.0.0-beta.5
(performance improvements and bug fixes)
#12940
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Fix gl-stats.html * Update disjoint timer query extension
…al-826) Some frames where being skipped because the source was marked as not loaded. The proposed solution is to avoid to do this check for vector model layers as we do in other draw functions. Also added a check to verify the model has been uploaded before it gets rendered
This is done while keeping compatibility with b3dm tiles
…in (internal-828) * some bugfixes * extract dem._dem.dim to a variable * some more comments * one last comment * ignore flakey test temporarily * avoid borders fully and remove the need for clamping in loop * revert expectation * disable flakey test only on mac for now
…nternal-829) If 3d lights enabled and hillshade-anchor is set to map - align hillshade illumination direction with 3d lights.
…from extrusion_parallel (internal-805)
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins/tree/HEAD/packages/json) from 6.0.0 to 6.0.1. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/json/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/wasm-v6.0.1/packages/json) --- updated-dependencies: - dependency-name: "@rollup/plugin-json" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@rollup/plugin-terser](https://github.com/rollup/plugins/tree/HEAD/packages/terser) from 0.4.3 to 0.4.4. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/terser/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/HEAD/packages/terser) --- updated-dependencies: - dependency-name: "@rollup/plugin-terser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sinon](https://github.com/sinonjs/sinon) from 16.0.0 to 16.1.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](sinonjs/sinon@v16.0.0...v16.1.0) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 5.0.2 to 5.0.3. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/babel-v5.0.3/packages/replace) --- updated-dependencies: - dependency-name: "@rollup/plugin-replace" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Render 3D tiles from front to back
* Allow enabling and disabling fog per tile basis * Fix cameraPixelsPerMeter * Skip rendering of fog if it's not visible * Do not render fog for close tiles * Do not render fog for close models
…e on dynamic terrain. (internal-822) * Smoothens zoom gesture on dynamic terrain This doesn't make that picked point is under cursor. Move exaggeration evaluation from style to Terrain to throttle it. apply zoom immediately there - style evaluation is deferred for several frames after transform.zoom change. Reduces trembling of terrain when zooming over mountain peaks * keep evaluated zoom fixed during panning * Update dynamic.js transition happens 14->15 * avoid long fog when zooming in * cleanup. render test - Make the camera behave the same regardless if it is gesture or programatic - revert complex (and wrong) anticipation of zoom delta in handler_manager - fix fog covering full screen on zooming to 0 * process review comment * Update terrain.js Disable terrain when zoom dependent expression evaluates to 0 * Update terrain.js revert special memory pool handling for disabling terrain on exaggeration * update render test - Disable cut off range initially to keep the original style (editing modifies fill extrusion layer) - dynamic.js exaggeration drops 13.0 to 13.7 - update render test * backport constant elevation from native PR * fix elevation-not-yet-available keep the camera above other tiles * Fix issue with slow movement. ScrollZoom - stop inertia on recenter zoom of different sign exaggeration should jump to evaluated value only outside dynamic range On inertial recenter could lead to higher zoom (terrain is curvy) and it is important to stop zooming back (is alst zoom was in)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.0 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/@babel/core@7.23.2/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 25.0.4 to 25.0.7. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/commonjs-v25.0.7/packages/commonjs) --- updated-dependencies: - dependency-name: "@rollup/plugin-commonjs" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.13.0 to 4.14.0. - [Release notes](https://github.com/SeleniumHQ/selenium/releases) - [Commits](SeleniumHQ/selenium@selenium-4.13.0...selenium-4.14.0) --- updated-dependencies: - dependency-name: selenium-webdriver dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tape](https://github.com/ljharb/tape) from 5.7.0 to 5.7.1. - [Changelog](https://github.com/ljharb/tape/blob/master/CHANGELOG.md) - [Commits](tape-testing/tape@v5.7.0...v5.7.1) --- updated-dependencies: - dependency-name: tape dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…al-851) - Don't sample the second cascade in tiles that don't need it - Don't render the second cascade shadow map if it isn't visible on screen - Add debug monitor for rendered shadow cascades in 3d-playground - Add comment about inaccurate tile maxHeight and lastCascade calculations
…ernal-861) * Try to alleviate tile reload performance penalty when reloading extra shadow caster tiles * Only reparse when tiles coming from extraShadowCasting tiles to in view
* MAPS3D-1119: add stagig tileset into dynamic style * fix a bug with duplicate model texture references causing an error * fix unit tests * test fixup * switch back to beta 3dbuildings in debug style --------- Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
…nternal-842) * do not fail rendering on unrecognized properties * expose ValidationWarning from style-spec
Shadows are not rended only in case of terrain when opacity is zoom based expression. The value is selected experimentally - see the video.
* Fix point in footprint method * Fix zOffset flickering Previous code was not updating zOffsetVertexArray each time the sybols instances were updated. Now we make sure it happens on updateLayerOpacities. Also added an error guard in the case we can't find a bucket for a symbol and apply previous zOffset * Update expectations * enable asserts fix issue where lookup was not cached and wrong 0 height was returned. --------- Co-authored-by: Aleksandar Stojiljković <aleksandar.stojiljkovic@mapbox.com>
endanke
approved these changes
Oct 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #12829 for more information about the v3 release. Changes since
v3.0.0-beta.4
:✨ Features and improvements
renderstart
event, which combined withrender
event can be used to measure rendering frame duration.Bug fixes 🐞
setData
to animate 3D models.hillshade-illumination-direction
to align with light direction ifhillshade-illumination-anchor
is not set toviewport
.fragment: false
not to be loaded as basemap imports.map
hasImage
andupdateImage
after the map was removed.