-
Notifications
You must be signed in to change notification settings - Fork 447
Improve 2D heuristic fallback values for image opacity #9787
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
Open
jprochazk
wants to merge
24
commits into
main
Choose a base branch
from
jan/image-opacity-heuristic
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
90e1be2
image opacity heuristic
jprochazk 5e2eed9
there there
jprochazk 151f1f1
wake up gh
jprochazk 3ff58d3
better naming
jprochazk 5ba4994
do not use opacity for multiple segmentation images
jprochazk d58263a
Merge branch 'main' into jan/image-opacity-heuristic
jprochazk a52497a
Merge branch 'main' into jan/image-opacity-heuristic
jprochazk 593d86d
Merge branch 'main' into jan/image-opacity-heuristic
jprochazk facaec1
comments
jprochazk 1cc65d6
Merge branch 'main' into jan/image-opacity-heuristic
jprochazk b222641
more comment
jprochazk f456874
update
jprochazk d7ddac8
update
jprochazk 62e0759
update
jprochazk 317e435
report all steps at once
jprochazk 1a598a3
run tests in parallel
jprochazk b914586
update snapshot screenshots
Wumpf d85738f
do not deny in test
jprochazk 416a11f
dont deny warnings for tests
jprochazk 5119e84
fix lints
jprochazk 1989935
fix fmt
jprochazk d7e7034
fix lint
jprochazk b907392
oops
jprochazk 22c819d
fix lint
jprochazk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ jobs: | |
# --------------------------------------------------------------------------- | ||
|
||
rs-lints: | ||
name: Rust lints (fmt, check, clippy, tests, doc) | ||
name: Rust lints (fmt, check, clippy, doc) | ||
# TODO(andreas): setup-vulkan doesn't work on 24.4 right now due to missing .so | ||
runs-on: ubuntu-22.04-large | ||
steps: | ||
|
@@ -76,22 +76,9 @@ jobs: | |
with: | ||
pixi-version: v0.41.4 | ||
|
||
# Install the Vulkan SDK, so we can use the software rasterizer. | ||
# TODO(andreas): It would be nice if `setup_software_rasterizer.py` could do that for us as well (note though that this action here is very fast when cached!) | ||
- name: Install Vulkan SDK | ||
uses: rerun-io/[email protected] | ||
with: | ||
vulkan_version: ${{ env.VULKAN_SDK_VERSION }} | ||
install_runtime: true | ||
cache: true | ||
stripdown: true | ||
|
||
- name: Setup software rasterizer | ||
run: pixi run python ./scripts/ci/setup_software_rasterizer.py | ||
|
||
- name: Rust checks (PR subset) | ||
if: ${{ inputs.CHANNEL == 'pr' }} | ||
run: pixi run rs-check --only base_checks sdk_variations cargo_deny wasm docs tests | ||
run: pixi run rs-check --only base_checks sdk_variations cargo_deny wasm docs | ||
|
||
- name: Rust most checks & tests | ||
if: ${{ inputs.CHANNEL == 'main' }} | ||
|
@@ -107,6 +94,48 @@ jobs: | |
# See tests/assets/rrd/README.md for more | ||
run: pixi run check-backwards-compatibility | ||
|
||
rs-tests: | ||
name: Rust lints (tests) | ||
# TODO(andreas): setup-vulkan doesn't work on 24.4 right now due to missing .so | ||
runs-on: ubuntu-22.04-large | ||
env: | ||
RUSTFLAGS: --cfg=web_sys_unstable_apis | ||
RUSTDOCFLAGS: "" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} | ||
lfs: true | ||
|
||
- name: Set up Rust | ||
uses: ./.github/actions/setup-rust | ||
with: | ||
cache_key: "build-linux" | ||
save_cache: true | ||
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} | ||
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} | ||
|
||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.41.4 | ||
|
||
# Install the Vulkan SDK, so we can use the software rasterizer. | ||
# TODO(andreas): It would be nice if `setup_software_rasterizer.py` could do that for us as well (note though that this action here is very fast when cached!) | ||
- name: Install Vulkan SDK | ||
uses: rerun-io/[email protected] | ||
with: | ||
vulkan_version: ${{ env.VULKAN_SDK_VERSION }} | ||
install_runtime: true | ||
cache: true | ||
stripdown: true | ||
|
||
- name: Setup software rasterizer | ||
run: pixi run python ./scripts/ci/setup_software_rasterizer.py | ||
|
||
- name: Rust checks (PR subset) | ||
if: ${{ inputs.CHANNEL == 'pr' }} | ||
run: pixi run rs-check --only tests | ||
|
||
- name: Upload test results | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
|
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_clamping_boxes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_clamping_spheres.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
crates/viewer/re_view_spatial/tests/snapshots/transform_hierarchy_step_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
This should probably be the same for VideoVisualizer then