#include #include using namespace rerun::demo; int main(int argc, char* argv[]) { // Create a new `RecordingStream` which sends data over gRPC to the viewer process. const auto rec = rerun::RecordingStream("rerun_example_quick_start_connect"); rec.connect_grpc().exit_on_failure(); // Create some data using the `grid` utility function. std::vector points = grid3d(-10.f, 10.f, 10); std::vector colors = grid3d(0, 255, 10); // Log the "my_points" entity with our data, using the `Points3D` archetype. rec.log( "my_points", rerun::Points3D(points).with_colors(colors).with_radii({0.5f}) ); }