#include #include #if defined(WIN32) #include #define getpid _getpid #else #include #endif #include #include using rerun::demo::grid3d; int main() { const auto rec = rerun::RecordingStream("rerun_example_shared_recording", "my_shared_recording"); rec.spawn().exit_on_failure(); rec.log("updates", rerun::TextLog(std::string("Hello from ") + std::to_string(getpid()))); std::cout << "Run me again to append more data to the recording!" << std::endl; }