-
Notifications
You must be signed in to change notification settings - Fork 376
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
Expose Colormap
component for DepthImage
, depth image colormap now used outside of reprojection
#6549
Conversation
Deployed docs
|
I messed up my branch juggling/naming, this does not split out the depth image visualizer |
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/9484594175 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable.
We definitely still need to do a pass on ViewerCtx vs ViewContext vs QueryContext and what gets plumbed where, but that can come later.
### What * Part of: #5067 * Based on (for merge conflict reduction): #6549 This will soon be handled by enabling/disabling visualizers instead. A sideeffect of this is that the option to change the depth image colormap also shows up in 2D views (as it should). But we're going to do a pass over how this ui is generated soon anyways which would have also caught this. ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6550?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6550?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/6550) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
…ed (#6551) ### What Previously, depth meter editing worked via the legacy `EntityProperties`, now it is a `DepthMeter` component override. Since `EntityProperties` wasn't always applied correctly, and #6549 makes queries to images during picking go through the blueprint layer, this fixes picking interaction After: ![image](https://github.com/rerun-io/rerun/assets/1220815/4ff24444-20f3-470b-8f4b-3e6ae7bb59f9) Before, the same picking returned a different (wrong) depth value!) ![image](https://github.com/rerun-io/rerun/assets/1220815/1f9423b7-b12b-48c0-abef-5cbb22a1acee) Part of: * #5067 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6551?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6551?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/6551) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
What
Colormap component can now be set from code:
Also, the colormap is now applied for picking preview & 2d depth maps (before these were hardcoded to turbo colormap!)
Part of
Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.