diff --git a/crates/store/re_types/definitions/rerun/archetypes/annotation_context.fbs b/crates/store/re_types/definitions/rerun/archetypes/annotation_context.fbs index 7369fb3086f1..069859ac3617 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/annotation_context.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/annotation_context.fbs @@ -12,7 +12,7 @@ namespace rerun.archetypes; /// See also [datatypes.ClassDescription]. /// /// \example archetypes/annotation_context_rects !api title="Rectangles" image="https://static.rerun.io/annotation_context_rects/9b446c36011ed30fce7dc6ed03d5fd9557460f70/1200w.png" -/// \example archetypes/annotation_context_segmentation title="Segmentation" image="https://static.rerun.io/annotation_context_segmentation/0e21c0a04e456fec41d16b0deaa12c00cddf2d9b/1200w.png" +/// \example archetypes/annotation_context_segmentation title="Segmentation" image="https://static.rerun.io/annotation_context_segmentation/6c9e88fc9d44a08031cadd444c2e58a985cc1208/1200w.png"" /// \example archetypes/annotation_context_connections !api title="Connections" image="https://static.rerun.io/annotation_context_connections/4a8422bc154699c5334f574ff01b55c5cd1748e3/1200w.png" table AnnotationContext ( "attr.rust.derive": "Eq, PartialEq", diff --git a/crates/store/re_types/definitions/rerun/archetypes/boxes3d.fbs b/crates/store/re_types/definitions/rerun/archetypes/boxes3d.fbs index 0582ec98763b..e8ed62fa1398 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/boxes3d.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/boxes3d.fbs @@ -9,7 +9,7 @@ namespace rerun.archetypes; /// If there's more instance poses than half sizes, the last half size will be repeated for the remaining poses. /// /// \example archetypes/box3d_simple !api title="Simple 3D boxes" image="https://static.rerun.io/box3d_simple/d6a3f38d2e3360fbacac52bb43e44762635be9c8/1200w.png" -/// \example archetypes/box3d_batch title="Batch of 3D boxes" image="https://static.rerun.io/box3d_batch/6d3e453c3a0201ae42bbae9de941198513535f1d/1200w.png" +/// \example archetypes/box3d_batch title="Batch of 3D boxes" image="https://static.rerun.io/box3d_batch/5aac5b5d29c9f2ecd572c93f6970fcec17f4984b/1200w.png" table Boxes3D ( "attr.rust.derive": "PartialEq", "attr.rust.new_pub_crate", diff --git a/crates/store/re_types/definitions/rerun/archetypes/depth_image.fbs b/crates/store/re_types/definitions/rerun/archetypes/depth_image.fbs index 6ab6cc8fcdfd..8c2365b73ac7 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/depth_image.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/depth_image.fbs @@ -9,7 +9,7 @@ namespace rerun.archetypes; /// \cpp data can be passed in without a copy from raw pointers or by reference from `std::vector`/`std::array`/c-arrays. /// \cpp If needed, this "borrow-behavior" can be extended by defining your own `rerun::CollectionAdapter`. /// -/// \example archetypes/depth_image_simple !api title="Simple example" image="https://static.rerun.io/depth_image_simple/9598554977873ace2577bddd79184ac120ceb0b0/1200w.png" +/// \example archetypes/depth_image_simple !api title="Simple example" image="https://static.rerun.io/depth_image_simple/77a6fa4f938a742bdc7c5350f668c4f31eed4d01/1200w.png" /// \example archetypes/depth_image_3d title="Depth to 3D example" image="https://static.rerun.io/depth_image_3d/924e9d4d6a39d63d4fdece82582855fdaa62d15e/1200w.png" table DepthImage ( "attr.rust.derive": "PartialEq", diff --git a/crates/store/re_types/definitions/rerun/archetypes/disconnected_space.fbs b/crates/store/re_types/definitions/rerun/archetypes/disconnected_space.fbs index 64ca237a4f72..94fe388c0b4d 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/disconnected_space.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/disconnected_space.fbs @@ -7,7 +7,7 @@ namespace rerun.archetypes; /// It *only* applies to space views that work with spatial transformations, i.e. 2D & 3D space views. /// This is useful for specifying that a subgraph is independent of the rest of the scene. /// -/// \example archetypes/disconnected_space title="Disconnected space" image="https://static.rerun.io/disconnected_space/b8f95b0e32359de625a765247c84935146c1fba9/1200w.png" +/// \example archetypes/disconnected_space title="Disconnected space" image="https://static.rerun.io/disconnected_space/709041fc304b50c74db773b780e32294fe90c95f/1200w.png" table DisconnectedSpace ( "attr.rust.derive": "Copy, PartialEq, Eq", "attr.docs.view_types": "Spatial2DView, Spatial3DView" diff --git a/crates/store/re_types/definitions/rerun/archetypes/line_strips2d.fbs b/crates/store/re_types/definitions/rerun/archetypes/line_strips2d.fbs index 4536f4a066ea..f23d0501ad31 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/line_strips2d.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/line_strips2d.fbs @@ -6,7 +6,7 @@ namespace rerun.archetypes; /// /// \example archetypes/line_strip2d_simple !api image="https://static.rerun.io/line_strip2d_simple/c4e6ce937544e66b497450fd64ac3ac2f244f0e1/1200w.png" /// \example archetypes/line_segments2d_simple !api image="https://static.rerun.io/line_segment2d_simple/53df596662dd9ffaaea5d09d091ef95220346c83/1200w.png" -/// \example archetypes/line_strip2d_batch image="https://static.rerun.io/line_strip2d_batch/d8aae7ca3d6c3b0e3b636de60b8067fa2f0b6db9/1200w.png" +/// \example archetypes/line_strip2d_batch image="https://static.rerun.io/line_strip2d_batch/c6f4062bcf510462d298a5dfe9fdbe87c754acee/1200w.png" /// \example archetypes/line_strip3d_ui_radius title="Lines with scene & UI radius each" image="https://static.rerun.io/line_strip2d_ui_radius/d3d7d5bd36278564ee37e2ed6932963ec16f5131/1200w.png table LineStrips2D ( "attr.rust.derive": "PartialEq", diff --git a/crates/store/re_types/definitions/rerun/archetypes/line_strips3d.fbs b/crates/store/re_types/definitions/rerun/archetypes/line_strips3d.fbs index 554689ede8a6..a00e5337013b 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/line_strips3d.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/line_strips3d.fbs @@ -6,8 +6,8 @@ namespace rerun.archetypes; /// /// \example archetypes/line_strip3d_simple !api title="Simple example" image="https://static.rerun.io/line_strip3d_simple/13036c0e71f78d3cec37d5724f97b47c4cf3c429/1200w.png" /// \example archetypes/line_segments3d_simple !api title="Many individual segments" image="https://static.rerun.io/line_segment3d_simple/aa800b2a6e6a7b8e32e762b42861bae36f5014bb/1200w.png" -/// \example archetypes/line_strip3d_batch title="Many strips" image="https://static.rerun.io/line_strip3d_batch/102e5ec5271475657fbc76b469267e4ec8e84337/1200w.png" -/// \example archetypes/line_strip3d_ui_radius title="Lines with scene & UI radius each" image="https://static.rerun.io/line_strip3d_ui_radius/99ed4d16eef710f6ee3e97ddf457ea4f0bc48133/1200w.png" +/// \example archetypes/line_strip3d_batch title="Many strips" image="https://static.rerun.io/line_strip3d_batch/15e8ff18a6c95a3191acb0eae6eb04adea3b4874/1200w.png" +/// \example archetypes/line_strip3d_ui_radius title="Lines with scene & UI radius each" image="https://static.rerun.io/line_strip3d_ui_radius/36b98f47e45747b5a3601511ff39b8d74c61d120/1200w.png" table LineStrips3D ( "attr.rust.derive": "PartialEq", "attr.docs.category": "Spatial 3D", diff --git a/crates/store/re_types/definitions/rerun/archetypes/mesh3d.fbs b/crates/store/re_types/definitions/rerun/archetypes/mesh3d.fbs index 88b6e6404014..1b223af0ae8f 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/mesh3d.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/mesh3d.fbs @@ -9,8 +9,8 @@ namespace rerun.archetypes; /// If there are multiple [archetypes.InstancePoses3D] instances logged to the same entity as a mesh, /// an instance of the mesh will be drawn for each transform. /// -/// \example archetypes/mesh3d_indexed title="Simple indexed 3D mesh" image="https://static.rerun.io/mesh3d_simple/e1e5fd97265daf0d0bc7b782d862f19086fd6975/1200w.png" -/// \example archetypes/mesh3d_partial_updates !api title="3D mesh with partial updates" image="https://static.rerun.io/mesh3d_partial_updates/a11e4accb0257dcd9531867b7e1d6fd5e3bee5c3/1200w.png" +/// \example archetypes/mesh3d_indexed title="Simple indexed 3D mesh" image="https://static.rerun.io/mesh3d_indexed/57c70dc992e6dc0bd9c5222ca084f5b6240cea75/1200w.png" +/// \example archetypes/mesh3d_partial_updates !api title="3D mesh with partial updates" image="https://static.rerun.io/mesh3d_partial_updates/7de33d26220585691a403098c953cd46f94c3262/1200w.png" /// \example archetypes/mesh3d_instancing title="3D mesh with instancing" image="https://static.rerun.io/mesh3d_leaf_transforms3d/c2d0ee033129da53168f5705625a9b033f3a3d61/1200w.png" table Mesh3D ( "attr.rust.derive": "PartialEq", diff --git a/crates/store/re_types/definitions/rerun/archetypes/pinhole.fbs b/crates/store/re_types/definitions/rerun/archetypes/pinhole.fbs index 9e25ae920fad..65ad644ef7bc 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/pinhole.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/pinhole.fbs @@ -4,7 +4,7 @@ namespace rerun.archetypes; /// Camera perspective projection (a.k.a. intrinsics). /// /// \example archetypes/pinhole_simple title="Simple pinhole camera" image="https://static.rerun.io/pinhole_simple/9af9441a94bcd9fd54e1fea44fb0c59ff381a7f2/1200w.png" -/// \example archetypes/pinhole_perspective title="Perspective pinhole camera" image="https://static.rerun.io/pinhole_perspective/d0bd02a0cf354a5c8eafb79a84fe8674335cab98/1200w.png" +/// \example archetypes/pinhole_perspective title="Perspective pinhole camera" image="https://static.rerun.io/pinhole_perspective/317e2de6d212b238dcdad5b67037e9e2a2afafa0/1200w.png" table Pinhole ( "attr.rust.derive": "PartialEq", "attr.docs.category": "Spatial 3D", diff --git a/crates/store/re_types/definitions/rerun/archetypes/points2d.fbs b/crates/store/re_types/definitions/rerun/archetypes/points2d.fbs index 50a33f1a91c1..116fa3e0a7e6 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/points2d.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/points2d.fbs @@ -6,7 +6,7 @@ namespace rerun.archetypes; /// A 2D point cloud with positions and optional colors, radii, labels, etc. /// -/// \example archetypes/point2d_simple !api title="Simple 2D points" image="https://static.rerun.io/point2d_simple/a8e801958bce5aa4e080659c033630f86ce95f71/1200w.png" +/// \example archetypes/point2d_simple !api title="Simple 2D points" image="https://static.rerun.io/point2d_simple/66e33b237ecd3d51363e56706566c5e7a58fe075/1200w.png" /// \example archetypes/point2d_random title="Randomly distributed 2D points with varying color and radius" image="https://static.rerun.io/point2d_random/8e8ac75373677bd72bd3f56a15e44fcab309a168/1200w.png" /// \example archetypes/point2d_ui_radius title="Log points with radii given in UI points" image="https://static.rerun.io/point2d_ui_radius/ce804fc77300d89c348b4ab5960395171497b7ac/1200w.png" table Points2D ( diff --git a/crates/store/re_types/definitions/rerun/archetypes/segmentation_image.fbs b/crates/store/re_types/definitions/rerun/archetypes/segmentation_image.fbs index 5cb4cceda696..8aa0e2048c28 100644 --- a/crates/store/re_types/definitions/rerun/archetypes/segmentation_image.fbs +++ b/crates/store/re_types/definitions/rerun/archetypes/segmentation_image.fbs @@ -14,7 +14,7 @@ namespace rerun.archetypes; /// \cpp data can be passed in without a copy from raw pointers or by reference from `std::vector`/`std::array`/c-arrays. /// \cpp If needed, this "borrow-behavior" can be extended by defining your own `rerun::CollectionAdapter`. /// -/// \example archetypes/segmentation_image_simple title="Simple segmentation image" image="https://static.rerun.io/segmentation_image_simple/eb49e0b8cb870c75a69e2a47a2d202e5353115f6/1200w.png" +/// \example archetypes/segmentation_image_simple title="Simple segmentation image" image="https://static.rerun.io/segmentation_image_simple/f8aac62abcf4c59c5d62f9ebc2d86fd0285c1736/1200w.png" table SegmentationImage ( "attr.rust.derive": "PartialEq", "attr.cpp.no_field_ctors", diff --git a/crates/store/re_types/definitions/rerun/components/disconnected_space.fbs b/crates/store/re_types/definitions/rerun/components/disconnected_space.fbs index c0e49879b44d..45449161ed9c 100644 --- a/crates/store/re_types/definitions/rerun/components/disconnected_space.fbs +++ b/crates/store/re_types/definitions/rerun/components/disconnected_space.fbs @@ -17,6 +17,7 @@ struct DisconnectedSpace ( /// Whether the entity path at which this is logged is disconnected from its parent. /// /// Set to true to disconnect the entity from its parent. - /// Set to false to disable the effects of this component, (re-)connecting the entity to its parent again. + /// Set to false to disable the effects of this component + /// TODO(#7121): Once a space is disconnected, it can't be re-connected again. is_disconnected: rerun.datatypes.Bool (order: 100); } diff --git a/crates/store/re_types/src/archetypes/annotation_context.rs b/crates/store/re_types/src/archetypes/annotation_context.rs index 8739ec15bb86..33110d7c676e 100644 --- a/crates/store/re_types/src/archetypes/annotation_context.rs +++ b/crates/store/re_types/src/archetypes/annotation_context.rs @@ -62,11 +62,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
#[derive(Clone, Debug, Eq, PartialEq)] diff --git a/crates/store/re_types/src/archetypes/boxes3d.rs b/crates/store/re_types/src/archetypes/boxes3d.rs index 7512339eade3..06a6cf4ca4e6 100644 --- a/crates/store/re_types/src/archetypes/boxes3d.rs +++ b/crates/store/re_types/src/archetypes/boxes3d.rs @@ -56,11 +56,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
#[derive(Clone, Debug, PartialEq)] diff --git a/crates/store/re_types/src/archetypes/disconnected_space.rs b/crates/store/re_types/src/archetypes/disconnected_space.rs index 1973688e440d..e094a44617a4 100644 --- a/crates/store/re_types/src/archetypes/disconnected_space.rs +++ b/crates/store/re_types/src/archetypes/disconnected_space.rs @@ -54,11 +54,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
#[derive(Clone, Debug, Copy, PartialEq, Eq)] diff --git a/crates/store/re_types/src/archetypes/line_strips2d.rs b/crates/store/re_types/src/archetypes/line_strips2d.rs index e06d93776365..40ab7b870779 100644 --- a/crates/store/re_types/src/archetypes/line_strips2d.rs +++ b/crates/store/re_types/src/archetypes/line_strips2d.rs @@ -45,11 +45,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
/// diff --git a/crates/store/re_types/src/archetypes/line_strips3d.rs b/crates/store/re_types/src/archetypes/line_strips3d.rs index ad560a2c7fb5..ace8e734819e 100644 --- a/crates/store/re_types/src/archetypes/line_strips3d.rs +++ b/crates/store/re_types/src/archetypes/line_strips3d.rs @@ -51,11 +51,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
/// @@ -91,11 +91,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
#[derive(Clone, Debug, PartialEq)] diff --git a/crates/store/re_types/src/archetypes/mesh3d.rs b/crates/store/re_types/src/archetypes/mesh3d.rs index e0da971df030..f691d22b0236 100644 --- a/crates/store/re_types/src/archetypes/mesh3d.rs +++ b/crates/store/re_types/src/archetypes/mesh3d.rs @@ -45,11 +45,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
/// diff --git a/crates/store/re_types/src/archetypes/pinhole.rs b/crates/store/re_types/src/archetypes/pinhole.rs index a30f34fb1899..4185f8d25b3d 100644 --- a/crates/store/re_types/src/archetypes/pinhole.rs +++ b/crates/store/re_types/src/archetypes/pinhole.rs @@ -64,12 +64,14 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// rec.log( /// "world/cam", /// &rerun::Pinhole::from_fov_and_aspect_ratio(fov_y, aspect_ratio) -/// .with_camera_xyz(rerun::components::ViewCoordinates::RUB), +/// .with_camera_xyz(rerun::components::ViewCoordinates::RUB) +/// .with_image_plane_distance(0.1), /// )?; /// /// rec.log( /// "world/points", -/// &rerun::Points3D::new([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)]), +/// &rerun::Points3D::new([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)]) +/// .with_radii([0.025]), /// )?; /// /// Ok(()) @@ -77,11 +79,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
#[derive(Clone, Debug, PartialEq)] diff --git a/crates/store/re_types/src/archetypes/segmentation_image.rs b/crates/store/re_types/src/archetypes/segmentation_image.rs index dd16d50977bc..67ed73ac157c 100644 --- a/crates/store/re_types/src/archetypes/segmentation_image.rs +++ b/crates/store/re_types/src/archetypes/segmentation_image.rs @@ -57,11 +57,11 @@ use ::re_types_core::{DeserializationError, DeserializationResult}; /// ``` ///
/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// /// ///
#[derive(Clone, Debug, PartialEq)] diff --git a/crates/store/re_types/src/components/disconnected_space.rs b/crates/store/re_types/src/components/disconnected_space.rs index 17f7c42f2c6f..7ee41dd19b19 100644 --- a/crates/store/re_types/src/components/disconnected_space.rs +++ b/crates/store/re_types/src/components/disconnected_space.rs @@ -29,7 +29,8 @@ pub struct DisconnectedSpace( /// Whether the entity path at which this is logged is disconnected from its parent. /// /// Set to true to disconnect the entity from its parent. - /// Set to false to disable the effects of this component, (re-)connecting the entity to its parent again. + /// Set to false to disable the effects of this component + /// TODO(#7121): Once a space is disconnected, it can't be re-connected again. pub crate::datatypes::Bool, ); diff --git a/docs/content/reference/types/archetypes/annotation_context.md b/docs/content/reference/types/archetypes/annotation_context.md index 1eebcba35e20..f1e1195f57f6 100644 --- a/docs/content/reference/types/archetypes/annotation_context.md +++ b/docs/content/reference/types/archetypes/annotation_context.md @@ -45,11 +45,11 @@ snippet: archetypes/annotation_context_rects snippet: archetypes/annotation_context_segmentation - - - - - + + + + + ### Connections diff --git a/docs/content/reference/types/archetypes/boxes3d.md b/docs/content/reference/types/archetypes/boxes3d.md index 73610454568f..e56acc7bdd75 100644 --- a/docs/content/reference/types/archetypes/boxes3d.md +++ b/docs/content/reference/types/archetypes/boxes3d.md @@ -45,10 +45,10 @@ snippet: archetypes/box3d_simple snippet: archetypes/box3d_batch - - - - - + + + + + diff --git a/docs/content/reference/types/archetypes/depth_image.md b/docs/content/reference/types/archetypes/depth_image.md index badb1a460b8e..b2ec72e6b1d2 100644 --- a/docs/content/reference/types/archetypes/depth_image.md +++ b/docs/content/reference/types/archetypes/depth_image.md @@ -29,11 +29,11 @@ Each pixel corresponds to a depth value in units specified by [`components.Depth snippet: archetypes/depth_image_simple - - - - - + + + + + ### Depth to 3D example diff --git a/docs/content/reference/types/archetypes/disconnected_space.md b/docs/content/reference/types/archetypes/disconnected_space.md index aa15910a35ff..3d61de94cf05 100644 --- a/docs/content/reference/types/archetypes/disconnected_space.md +++ b/docs/content/reference/types/archetypes/disconnected_space.md @@ -30,10 +30,10 @@ This is useful for specifying that a subgraph is independent of the rest of the snippet: archetypes/disconnected_space - - - - - + + + + + diff --git a/docs/content/reference/types/archetypes/line_strips2d.md b/docs/content/reference/types/archetypes/line_strips2d.md index cd5ac90050d9..726791f6e164 100644 --- a/docs/content/reference/types/archetypes/line_strips2d.md +++ b/docs/content/reference/types/archetypes/line_strips2d.md @@ -53,11 +53,11 @@ snippet: archetypes/line_segments2d_simple snippet: archetypes/line_strip2d_batch - - - - - + + + + + ### Lines with scene & UI radius each diff --git a/docs/content/reference/types/archetypes/line_strips3d.md b/docs/content/reference/types/archetypes/line_strips3d.md index b3102b3388fc..048d183976ba 100644 --- a/docs/content/reference/types/archetypes/line_strips3d.md +++ b/docs/content/reference/types/archetypes/line_strips3d.md @@ -53,11 +53,11 @@ snippet: archetypes/line_segments3d_simple snippet: archetypes/line_strip3d_batch - - - - - + + + + + ### Lines with scene & UI radius each @@ -65,10 +65,10 @@ snippet: archetypes/line_strip3d_batch snippet: archetypes/line_strip3d_ui_radius - - - - - + + + + + diff --git a/docs/content/reference/types/archetypes/mesh3d.md b/docs/content/reference/types/archetypes/mesh3d.md index ea6267016e5f..1cf0ce062e4c 100644 --- a/docs/content/reference/types/archetypes/mesh3d.md +++ b/docs/content/reference/types/archetypes/mesh3d.md @@ -34,11 +34,11 @@ an instance of the mesh will be drawn for each transform. snippet: archetypes/mesh3d_indexed - - - - - + + + + + ### 3D mesh with partial updates @@ -46,11 +46,11 @@ snippet: archetypes/mesh3d_indexed snippet: archetypes/mesh3d_partial_updates - - - - - + + + + + ### 3D mesh with instancing diff --git a/docs/content/reference/types/archetypes/pinhole.md b/docs/content/reference/types/archetypes/pinhole.md index 7837a6d4c143..89233ddf6d6d 100644 --- a/docs/content/reference/types/archetypes/pinhole.md +++ b/docs/content/reference/types/archetypes/pinhole.md @@ -41,10 +41,10 @@ snippet: archetypes/pinhole_simple snippet: archetypes/pinhole_perspective - - - - - + + + + + diff --git a/docs/content/reference/types/archetypes/points2d.md b/docs/content/reference/types/archetypes/points2d.md index 035cf28f23f5..887c0b5e02d5 100644 --- a/docs/content/reference/types/archetypes/points2d.md +++ b/docs/content/reference/types/archetypes/points2d.md @@ -29,11 +29,11 @@ A 2D point cloud with positions and optional colors, radii, labels, etc. snippet: archetypes/point2d_simple - - - - - + + + + + ### Randomly distributed 2D points with varying color and radius diff --git a/docs/content/reference/types/archetypes/segmentation_image.md b/docs/content/reference/types/archetypes/segmentation_image.md index 22426eb985e6..b8a5958c7128 100644 --- a/docs/content/reference/types/archetypes/segmentation_image.md +++ b/docs/content/reference/types/archetypes/segmentation_image.md @@ -34,10 +34,10 @@ See also [`archetypes.AnnotationContext`](https://rerun.io/docs/reference/types/ snippet: archetypes/segmentation_image_simple - - - - - + + + + + diff --git a/docs/snippets/all/archetypes/pinhole_perspective.cpp b/docs/snippets/all/archetypes/pinhole_perspective.cpp index c4d285f7eed0..e4b94f565a79 100644 --- a/docs/snippets/all/archetypes/pinhole_perspective.cpp +++ b/docs/snippets/all/archetypes/pinhole_perspective.cpp @@ -12,10 +12,12 @@ int main() { "world/cam", rerun::Pinhole::from_fov_and_aspect_ratio(fov_y, aspect_ratio) .with_camera_xyz(rerun::components::ViewCoordinates::RUB) + .with_image_plane_distance(0.1f) ); rec.log( "world/points", - rerun::Points3D({{0.0f, 0.0f, -0.5f}, {0.1f, 0.1f, -0.5f}, {-0.1f, -0.1f, -0.5f}}) + rerun::Points3D({{0.0f, 0.0f, -0.5f}, {0.1f, 0.1f, -0.5f}, {-0.1f, -0.1f, -0.5f}} + ).with_radii({0.025f}) ); } diff --git a/docs/snippets/all/archetypes/pinhole_perspective.py b/docs/snippets/all/archetypes/pinhole_perspective.py index 5d99b82a3526..4554f1498ab0 100644 --- a/docs/snippets/all/archetypes/pinhole_perspective.py +++ b/docs/snippets/all/archetypes/pinhole_perspective.py @@ -4,6 +4,9 @@ rr.init("rerun_example_pinhole_perspective", spawn=True) -rr.log("world/cam", rr.Pinhole(fov_y=0.7853982, aspect_ratio=1.7777778, camera_xyz=rr.ViewCoordinates.RUB)) +rr.log( + "world/cam", + rr.Pinhole(fov_y=0.7853982, aspect_ratio=1.7777778, camera_xyz=rr.ViewCoordinates.RUB, image_plane_distance=0.1), +) -rr.log("world/points", rr.Points3D([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)])) +rr.log("world/points", rr.Points3D([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)], radii=0.025)) diff --git a/docs/snippets/all/archetypes/pinhole_perspective.rs b/docs/snippets/all/archetypes/pinhole_perspective.rs index 41855042f02e..ad895d253f82 100644 --- a/docs/snippets/all/archetypes/pinhole_perspective.rs +++ b/docs/snippets/all/archetypes/pinhole_perspective.rs @@ -8,12 +8,14 @@ fn main() -> Result<(), Box> { rec.log( "world/cam", &rerun::Pinhole::from_fov_and_aspect_ratio(fov_y, aspect_ratio) - .with_camera_xyz(rerun::components::ViewCoordinates::RUB), + .with_camera_xyz(rerun::components::ViewCoordinates::RUB) + .with_image_plane_distance(0.1), )?; rec.log( "world/points", - &rerun::Points3D::new([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)]), + &rerun::Points3D::new([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)]) + .with_radii([0.025]), )?; Ok(()) diff --git a/rerun_cpp/src/rerun/archetypes/annotation_context.hpp b/rerun_cpp/src/rerun/archetypes/annotation_context.hpp index c2c0339c840c..48b9334b25d9 100644 --- a/rerun_cpp/src/rerun/archetypes/annotation_context.hpp +++ b/rerun_cpp/src/rerun/archetypes/annotation_context.hpp @@ -27,7 +27,7 @@ namespace rerun::archetypes { /// ## Example /// /// ### Segmentation - /// ![image](https://static.rerun.io/annotation_context_segmentation/0e21c0a04e456fec41d16b0deaa12c00cddf2d9b/full.png) + /// ![image](https://static.rerun.io/annotation_context_segmentation/6c9e88fc9d44a08031cadd444c2e58a985cc1208/full.png) /// /// ```cpp /// #include diff --git a/rerun_cpp/src/rerun/archetypes/boxes3d.hpp b/rerun_cpp/src/rerun/archetypes/boxes3d.hpp index e2c9b68849dc..7b15beb2d303 100644 --- a/rerun_cpp/src/rerun/archetypes/boxes3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/boxes3d.hpp @@ -33,7 +33,7 @@ namespace rerun::archetypes { /// ## Example /// /// ### Batch of 3D boxes - /// ![image](https://static.rerun.io/box3d_batch/6d3e453c3a0201ae42bbae9de941198513535f1d/full.png) + /// ![image](https://static.rerun.io/box3d_batch/5aac5b5d29c9f2ecd572c93f6970fcec17f4984b/full.png) /// /// ```cpp /// #include diff --git a/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp b/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp index 140ac70dfc20..91bffa754c0b 100644 --- a/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp +++ b/rerun_cpp/src/rerun/archetypes/disconnected_space.hpp @@ -24,7 +24,7 @@ namespace rerun::archetypes { /// ## Example /// /// ### Disconnected space - /// ![image](https://static.rerun.io/disconnected_space/b8f95b0e32359de625a765247c84935146c1fba9/full.png) + /// ![image](https://static.rerun.io/disconnected_space/709041fc304b50c74db773b780e32294fe90c95f/full.png) /// /// ```cpp /// #include diff --git a/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp b/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp index 313fea441113..1795ee98d0c0 100644 --- a/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp +++ b/rerun_cpp/src/rerun/archetypes/line_strips2d.hpp @@ -26,7 +26,7 @@ namespace rerun::archetypes { /// ## Examples /// /// ### line_strip2d_batch: - /// ![image](https://static.rerun.io/line_strip2d_batch/d8aae7ca3d6c3b0e3b636de60b8067fa2f0b6db9/full.png) + /// ![image](https://static.rerun.io/line_strip2d_batch/c6f4062bcf510462d298a5dfe9fdbe87c754acee/full.png) /// /// ```cpp /// #include diff --git a/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp b/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp index bea44f0c8065..0f8e1ef82e5a 100644 --- a/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/line_strips3d.hpp @@ -25,7 +25,7 @@ namespace rerun::archetypes { /// ## Examples /// /// ### Many strips - /// ![image](https://static.rerun.io/line_strip3d_batch/102e5ec5271475657fbc76b469267e4ec8e84337/full.png) + /// ![image](https://static.rerun.io/line_strip3d_batch/15e8ff18a6c95a3191acb0eae6eb04adea3b4874/full.png) /// /// ```cpp /// #include @@ -63,7 +63,7 @@ namespace rerun::archetypes { /// ``` /// /// ### Lines with scene & UI radius each - /// ![image](https://static.rerun.io/line_strip3d_ui_radius/99ed4d16eef710f6ee3e97ddf457ea4f0bc48133/full.png) + /// ![image](https://static.rerun.io/line_strip3d_ui_radius/36b98f47e45747b5a3601511ff39b8d74c61d120/full.png) /// /// ```cpp /// #include diff --git a/rerun_cpp/src/rerun/archetypes/mesh3d.hpp b/rerun_cpp/src/rerun/archetypes/mesh3d.hpp index 5bd0e2b0be1e..373f1b241be1 100644 --- a/rerun_cpp/src/rerun/archetypes/mesh3d.hpp +++ b/rerun_cpp/src/rerun/archetypes/mesh3d.hpp @@ -33,7 +33,7 @@ namespace rerun::archetypes { /// ## Examples /// /// ### Simple indexed 3D mesh - /// ![image](https://static.rerun.io/mesh3d_simple/e1e5fd97265daf0d0bc7b782d862f19086fd6975/full.png) + /// ![image](https://static.rerun.io/mesh3d_indexed/57c70dc992e6dc0bd9c5222ca084f5b6240cea75/full.png) /// /// ```cpp /// #include diff --git a/rerun_cpp/src/rerun/archetypes/pinhole.hpp b/rerun_cpp/src/rerun/archetypes/pinhole.hpp index d63c5062dc66..9b8486706602 100644 --- a/rerun_cpp/src/rerun/archetypes/pinhole.hpp +++ b/rerun_cpp/src/rerun/archetypes/pinhole.hpp @@ -51,7 +51,7 @@ namespace rerun::archetypes { /// ``` /// /// ### Perspective pinhole camera - /// ![image](https://static.rerun.io/pinhole_perspective/d0bd02a0cf354a5c8eafb79a84fe8674335cab98/full.png) + /// ![image](https://static.rerun.io/pinhole_perspective/317e2de6d212b238dcdad5b67037e9e2a2afafa0/full.png) /// /// ```cpp /// #include @@ -66,11 +66,13 @@ namespace rerun::archetypes { /// "world/cam", /// rerun::Pinhole::from_fov_and_aspect_ratio(fov_y, aspect_ratio) /// .with_camera_xyz(rerun::components::ViewCoordinates::RUB) + /// .with_image_plane_distance(0.1f) /// ); /// /// rec.log( /// "world/points", - /// rerun::Points3D({{0.0f, 0.0f, -0.5f}, {0.1f, 0.1f, -0.5f}, {-0.1f, -0.1f, -0.5f}}) + /// rerun::Points3D({{0.0f, 0.0f, -0.5f}, {0.1f, 0.1f, -0.5f}, {-0.1f, -0.1f, -0.5f}} + /// ).with_radii({0.025f}) /// ); /// } /// ``` diff --git a/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp b/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp index ffa99ab117e4..293fe0b95420 100644 --- a/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp +++ b/rerun_cpp/src/rerun/archetypes/segmentation_image.hpp @@ -36,7 +36,7 @@ namespace rerun::archetypes { /// ## Example /// /// ### Simple segmentation image - /// ![image](https://static.rerun.io/segmentation_image_simple/eb49e0b8cb870c75a69e2a47a2d202e5353115f6/full.png) + /// ![image](https://static.rerun.io/segmentation_image_simple/f8aac62abcf4c59c5d62f9ebc2d86fd0285c1736/full.png) /// /// ```cpp /// #include diff --git a/rerun_cpp/src/rerun/components/disconnected_space.hpp b/rerun_cpp/src/rerun/components/disconnected_space.hpp index aa1ecf2dbf81..bbc3bad2a498 100644 --- a/rerun_cpp/src/rerun/components/disconnected_space.hpp +++ b/rerun_cpp/src/rerun/components/disconnected_space.hpp @@ -20,7 +20,8 @@ namespace rerun::components { /// Whether the entity path at which this is logged is disconnected from its parent. /// /// Set to true to disconnect the entity from its parent. - /// Set to false to disable the effects of this component, (re-)connecting the entity to its parent again. + /// Set to false to disable the effects of this component + /// TODO(#7121): Once a space is disconnected, it can't be re-connected again. rerun::datatypes::Bool is_disconnected; public: diff --git a/rerun_py/rerun_sdk/rerun/archetypes/annotation_context.py b/rerun_py/rerun_sdk/rerun/archetypes/annotation_context.py index ab69f4654e25..da29c3817e22 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/annotation_context.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/annotation_context.py @@ -52,11 +52,11 @@ class AnnotationContext(Archetype): ```
- - - - - + + + + +
diff --git a/rerun_py/rerun_sdk/rerun/archetypes/boxes3d.py b/rerun_py/rerun_sdk/rerun/archetypes/boxes3d.py index 103fc741fc1a..5df7032b7969 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/boxes3d.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/boxes3d.py @@ -51,11 +51,11 @@ class Boxes3D(Boxes3DExt, Archetype): ```
- - - - - + + + + +
diff --git a/rerun_py/rerun_sdk/rerun/archetypes/disconnected_space.py b/rerun_py/rerun_sdk/rerun/archetypes/disconnected_space.py index 31cb14ed7de6..f3c55e500c7c 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/disconnected_space.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/disconnected_space.py @@ -44,11 +44,11 @@ class DisconnectedSpace(DisconnectedSpaceExt, Archetype): ```
- - - - - + + + + +
diff --git a/rerun_py/rerun_sdk/rerun/archetypes/line_strips2d.py b/rerun_py/rerun_sdk/rerun/archetypes/line_strips2d.py index faf3d889ded0..fbd0e2cb1d75 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/line_strips2d.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/line_strips2d.py @@ -50,11 +50,11 @@ class LineStrips2D(Archetype): ```
- - - - - + + + + +
diff --git a/rerun_py/rerun_sdk/rerun/archetypes/line_strips3d.py b/rerun_py/rerun_sdk/rerun/archetypes/line_strips3d.py index 9697a2a17864..8b2a20845a46 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/line_strips3d.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/line_strips3d.py @@ -60,11 +60,11 @@ class LineStrips3D(Archetype): ```
- - - - - + + + + +
@@ -102,11 +102,11 @@ class LineStrips3D(Archetype): ```
- - - - - + + + + +
diff --git a/rerun_py/rerun_sdk/rerun/archetypes/mesh3d.py b/rerun_py/rerun_sdk/rerun/archetypes/mesh3d.py index 6b6790cec8a0..6dd1d215f9e9 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/mesh3d.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/mesh3d.py @@ -46,11 +46,11 @@ class Mesh3D(Mesh3DExt, Archetype): ```
- - - - - + + + + +
diff --git a/rerun_py/rerun_sdk/rerun/archetypes/pinhole.py b/rerun_py/rerun_sdk/rerun/archetypes/pinhole.py index ab26a5314c75..8facb8bd7048 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/pinhole.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/pinhole.py @@ -51,17 +51,20 @@ class Pinhole(PinholeExt, Archetype): rr.init("rerun_example_pinhole_perspective", spawn=True) - rr.log("world/cam", rr.Pinhole(fov_y=0.7853982, aspect_ratio=1.7777778, camera_xyz=rr.ViewCoordinates.RUB)) + rr.log( + "world/cam", + rr.Pinhole(fov_y=0.7853982, aspect_ratio=1.7777778, camera_xyz=rr.ViewCoordinates.RUB, image_plane_distance=0.1), + ) - rr.log("world/points", rr.Points3D([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)])) + rr.log("world/points", rr.Points3D([(0.0, 0.0, -0.5), (0.1, 0.1, -0.5), (-0.1, -0.1, -0.5)], radii=0.025)) ```
- - - - - + + + + +
diff --git a/rerun_py/rerun_sdk/rerun/archetypes/segmentation_image.py b/rerun_py/rerun_sdk/rerun/archetypes/segmentation_image.py index a21161c669e6..109da3576ec8 100644 --- a/rerun_py/rerun_sdk/rerun/archetypes/segmentation_image.py +++ b/rerun_py/rerun_sdk/rerun/archetypes/segmentation_image.py @@ -49,11 +49,11 @@ class SegmentationImage(SegmentationImageExt, Archetype): ```
- - - - - + + + + +
diff --git a/scripts/screenshot_compare/assets/templates/index.html b/scripts/screenshot_compare/assets/templates/index.html index 4a5042565bf2..e2b3909762cd 100644 --- a/scripts/screenshot_compare/assets/templates/index.html +++ b/scripts/screenshot_compare/assets/templates/index.html @@ -17,7 +17,7 @@ diff --git a/scripts/screenshot_compare/build_screenshot_compare.py b/scripts/screenshot_compare/build_screenshot_compare.py index 20b8932a204c..eef31049b329 100755 --- a/scripts/screenshot_compare/build_screenshot_compare.py +++ b/scripts/screenshot_compare/build_screenshot_compare.py @@ -125,7 +125,7 @@ def extract_snippet_urls_from_fbs() -> dict[str, str]: def build_snippets() -> None: cmd = [ - str(SNIPPETS_DIR / "roundtrips.py"), + str(SNIPPETS_DIR / "compare_snippet_output.py"), "--no-py", "--no-cpp", "--no-py-build", @@ -138,9 +138,11 @@ def build_snippets() -> None: def collect_snippets() -> Iterable[Example]: for name in sorted(SNIPPET_URLS.keys()): - rrd = SNIPPETS_DIR / f"{name}_rust.rrd" - assert rrd.exists(), f"Missing {rrd} for {name}" - yield Example(name=name, title=name, rrd=rrd, screenshot_url=SNIPPET_URLS[name]) + rrd = SNIPPETS_DIR / "all" / f"{name}_rust.rrd" + if rrd.exists(): + yield Example(name=name, title=name, rrd=rrd, screenshot_url=SNIPPET_URLS[name]) + else: + print(f"WARNING: Missing {rrd} for {name}") # ==================================================================================================== @@ -153,16 +155,22 @@ def collect_snippets() -> Iterable[Example]: def build_examples() -> None: # fmt: off cmd = [ + "pixi", "run", "-e", "examples", "cargo", "run", "--locked", "-p", "re_dev_tools", "--", "build-examples", "rrd", "example_data", + # TODO(andreas): nightly channel would be better, but the dependencies that requires make things hard to get to run. + "--channel", "main" ] run(cmd, cwd=RERUN_DIR) cmd = [ + "pixi", "run", "-e", "examples", "cargo", "run", "--locked", "-p", "re_dev_tools", "--", "build-examples", "manifest", "example_data/examples_manifest.json", + # TODO(andreas): nightly channel would be better, but the dependencies that requires make things hard to get to run. + "--channel", "main" ] run(cmd, cwd=RERUN_DIR) # fmt: on