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

Chunkified, deserialization-free visualizers for all standard shapes #7020

Merged
merged 8 commits into from
Aug 2, 2024

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Jul 30, 2024

Chunkified, (mostly)deserialization-free visualizers for all remaining standard shapes.

Pretty straightforward now that we have all the iteration tools already in place.


Ellipsoids3D

image

Boxes2D

image

Boxes3D

image

Arrows2D

image

Arrows3D

image


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!
  • If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

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

@teh-cmc teh-cmc added 📺 re_viewer affects re_viewer itself 🔍 re_query affects re_query itself 📉 performance Optimization, memory use, etc do-not-merge Do not merge this PR 🍏 primitives Relating to Rerun primitives include in changelog labels Jul 30, 2024
@teh-cmc teh-cmc marked this pull request as ready for review July 31, 2024 08:14
@Wumpf Wumpf self-requested a review August 1, 2024 09:55
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -10,7 +10,8 @@ namespace rerun.components;
/// The box extends both in negative and positive direction along each axis.
/// Negative sizes indicate that the box is flipped along the respective axis, but this has no effect on how it is displayed.
struct HalfSize3D (
"attr.rust.derive": "Copy, PartialEq"
"attr.rust.derive": "Copy, PartialEq, bytemuck::Pod, bytemuck::Zeroable",
"attr.rust.repr": "transparent"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh actually all components should be transparent now, right?

Comment on lines 282 to 283
// TODO(#6831): we have to deserialize here because `Rotation3D` is still a complex
// type at this point.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in a pr near you! :)

@teh-cmc teh-cmc force-pushed the cmc/chunkified_queries_13_ellipsoid3d branch from 02dec9c to a12f475 Compare August 2, 2024 08:30
Base automatically changed from cmc/chunkified_queries_13_ellipsoid3d to main August 2, 2024 08:38
@teh-cmc teh-cmc force-pushed the cmc/chunkified_queries_14_remaining_shapes branch from 13bcc8d to bf6a7d9 Compare August 2, 2024 08:55
@teh-cmc teh-cmc removed the do-not-merge Do not merge this PR label Aug 2, 2024
@teh-cmc teh-cmc merged commit 35de029 into main Aug 2, 2024
27 of 29 checks passed
@teh-cmc teh-cmc deleted the cmc/chunkified_queries_14_remaining_shapes branch August 2, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include in changelog 📉 performance Optimization, memory use, etc 🍏 primitives Relating to Rerun primitives 🔍 re_query affects re_query itself 📺 re_viewer affects re_viewer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants