Make Pinhole
archetype in Rust eager serialized
#8789
+623
−286
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.
Related
Box
/AssetVideo
/ViewCoordinates
/Asset3D
eager serialized in Rust #8785Image
&Mesh3D
archetypes in Rust eager serialized #8793What
Deprecates a bunch of methods on
Pinhole
, all of them still functional though through ad-hoc deserialization utilities.In the Viewer (concrete,
re_spatial_view
) we don't use any of that and have now a new purpose-built type - I considered using the generated (attr.rust.archetype_native
) type, but a custom built made a lot more sense for untangling the mess of adhoc queries we have around Pinhole. It might not look like it but the aspiration here was to not change how things work by much while having things better decoupled & cleaner.Bonus: the odd resolution oracle we already used is now visible on the pinhole visualizers's ui