Skip to content
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

Make draw order editable & solve 2D flickering issues, add draw order to arrow2d archetype #6644

Merged
merged 7 commits into from
Jun 28, 2024

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Jun 25, 2024

What

Making DrawOrder editable resulting in changing the depth offset system (it has to read overrides etc.).
This in turn solved the bug of fallback not showing correctly for DrawOrder and also giving everything a draw order via the fallback system.
This + collecting visualizers into an order preserving set instead of a hashmap fixes flickering!

With all these refactors I included Arrows2D as well, so the only thing was left is to add a line to codegen in order to fix it seemingly not supporting draw order.

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
  • If applicable, add a new check to the release checklist!

To run all checks from main, comment on the PR with @rerun-bot full-check.

@Wumpf Wumpf added 🪳 bug Something isn't working 📺 re_viewer affects re_viewer itself include in changelog 🪵 Log & send APIs Affects the user-facing API for all languages labels Jun 25, 2024
Copy link

github-actions bot commented Jun 25, 2024

Deployed docs

Commit Link
29b0bf3 https://landing-gxrxn0fzl-rerun.vercel.app/docs

Co-authored-by: Jeremy Leibs <jeremy@rerun.io>
@Wumpf Wumpf merged commit d278f92 into main Jun 28, 2024
39 of 40 checks passed
@Wumpf Wumpf deleted the andreas/fix-draworder-and-make-it-editable branch June 28, 2024 09:12
Wumpf added a commit that referenced this pull request Jun 28, 2024
### What

* follow-up to #6644
* Fixes #6548
* Fixes #6660

Lots of copy & paste between the three visualizers left. Didn't want to
remove it entirely to not make it too hard to have them diverge more in
the future. But thanks to some clean-up passes it's not too bad (imho).


![image](https://github.com/rerun-io/rerun/assets/1220815/fe2b92eb-01ce-4864-b32d-7613355c763c)

![image](https://github.com/rerun-io/rerun/assets/1220815/1ed948d7-5cbf-45cd-9204-244aec4cd3f7)

![image](https://github.com/rerun-io/rerun/assets/1220815/3fe3c087-b39c-49ec-b795-6f3507059604)


### 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/6654?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/6654?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/6654)
- [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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working include in changelog 🪵 Log & send APIs Affects the user-facing API for all languages 📺 re_viewer affects re_viewer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2D spatial primitives flicker when overlapping Draw order is not exposed on Arrow2D
2 participants