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 Image & Mesh3D archetypes in Rust eager serialized #8793

Merged
merged 6 commits into from
Jan 24, 2025

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Jan 23, 2025

Related

What

Similar to the previous PRs. These two had a few touching points, so this comes in bulk.
Led actually to a few nice cleanups around Meshes. Image cache on the other hand got a little bit hairy, resolved this by moving some extensions from the archetype down to the components.

No breaking changes & deprecations.

Next step: Remove "attr.rust.archetype_eager", making this always on.

  • pass full check ci

Copy link

github-actions bot commented Jan 23, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
78cad61 https://rerun.io/viewer/pr/8793 +nightly +main

Note: This comment is updated whenever you push a commit.

@Wumpf
Copy link
Member Author

Wumpf commented Jan 23, 2025

oops, some todos left in there that indicate I wanted to test some stuff there first

@Wumpf Wumpf marked this pull request as draft January 23, 2025 17:31
@Wumpf Wumpf marked this pull request as ready for review January 23, 2025 17:52
@Wumpf
Copy link
Member Author

Wumpf commented Jan 23, 2025

indeed testing with raw_mesh rust example unearthed some issues!

@emilk emilk self-requested a review January 24, 2025 07:50
@Wumpf
Copy link
Member Author

Wumpf commented Jan 24, 2025

@rerun-bot full-check

Copy link

@Wumpf Wumpf merged commit 7436dbf into main Jan 24, 2025
64 of 68 checks passed
@Wumpf Wumpf deleted the andreas/rust/more-eager-3 branch January 24, 2025 10:56
teh-cmc pushed a commit that referenced this pull request Jan 24, 2025
### Related

* sister PR to..
	* #8789
	* #8785
	* #8793
* missed piece of #7245

### What

Ports the Tensor archetype in rust to the new eager serialized
interface.
Unfortunately this meant I had to remove some direct access methods of
the underlying tensor data. Curiously, this didn't affect any of our
test/snippet/example code.
While doing so I also fixed some wording issues in the (very similar)
C++ implementation of `with_dim_names`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants