Eye control
Used Rerun types
EyeControls3D,
Transform3D, Points3D, Pinhole, EncodedImage, Image, LineStrips3D, Scalars, TextDocument
Background
This example demonstrates how to programmatically configure and control the 3D view camera using the Rerun Blueprint API. By defining camera states in Python, you can precisely tailor your workspace to highlight the most relevant aspects of your data.
In this example, we define several specialized perspectives:
- Top-down overview: a global scene perspective for general spatial awareness.
- Comparative close-up: A focused view designed to analyze trajectory deviations between different localization methods.
- 3rd-person follow: dynamic camera that tracks the ego vehicle as it moves through the environment.
Finally, we demonstrate how to control the camera at runtime, enabling the creation of cinematic visualizations or automated data storytelling for presentations and datasets.
Useful resources
Below you will find a collection of useful Rerun resources for this example:
Run the code
This is an external example. Check the repository for more information.
To run this example, make sure you have the Pixi package manager installed.
KTH RPL (indoor handheld dataset)
pixi run kth_rplYou can type:
pixi run kth_rpl -hto see all available commands. For example, you can set the voxel size used for downsampling, where the dataset is located, and for how long to sleep in-between frames.
NTU VIRAL (drone dataset)
pixi run ntu_viral