rerun
rerun copied to clipboard
Frustum lines not showing unless Image and Pinhole archetypes are on the same entity
Describe the bug
Attaching a Transform3D archetype to transform, a Pinhole archetype to transform/pinhole and an EncodedImage archetype to transform/pinhole/image correctly displays the image in the 3D space, but does not show frustum lines. On the other hand, attaching both Pinhole and EncodedImage to transform/pinhole_and_image displays them correctly.
To Reproduce
// Does NOT show frustum
rr.log("transform", Transform3D(Translation3D(0, 5, 0));
rr.log("transform/pinhole", Pinhole(PinholeProjection::from_mat3x3(/* ... */)));
rr.log("transform/pinhole/image", EncodedImage::from_file(/* ... */).value_or_throw());
// Does correctly show frustum
rr.log("transform", Transform3D(Translation3D(0, 5, 0));
rr.log("transform/pinhole_and_image", Pinhole(PinholeProjection::from_mat3x3(/* ... */)));
rr.log("transform/pinhole_and_image", EncodedImage::from_file(/* ... */).value_or_throw());
Expected behavior We should see the frustum lines in both cases.
Screenshots
Backtrace
Incorrect:
Correct:
Desktop (please complete the following information):
- OS: Windows 10
Rerun version
rerun-cli 0.20.0 (default native_viewer web_viewer) [rustc 1.82.0 (f6e511eec 2024-10-15), LLVM 19.1.1] x86_64-pc-windows-msvc
Video features: av1 default ffmpeg serde