From 25e19083eaad2039f56bce48e5da5a5ccaceb66e Mon Sep 17 00:00:00 2001 From: Nikolaos Zioulis Date: Sun, 8 Sep 2024 18:34:25 +0300 Subject: [PATCH] Update index.md --- docs/content/docs/config/index.md | 165 +++++++++++++++++++++++++++++- 1 file changed, 164 insertions(+), 1 deletion(-) diff --git a/docs/content/docs/config/index.md b/docs/content/docs/config/index.md index 3007cd9..ef046a2 100644 --- a/docs/content/docs/config/index.md +++ b/docs/content/docs/config/index.md @@ -8,7 +8,8 @@ cascade: showDate: false showAuthor: false showSummary: true - invertPagination: true + invertPagination: true + showTableOfContents: true --- {{< lead >}} @@ -17,4 +18,166 @@ Learn how to use configure the `rerun-animation` package. +The `rerun-viewer` calls the `rerun-loader-plugin` with a [pre-defined](https://rerun.io/docs/reference/data-loaders/overview) interface. +As of `rerun-sdk v0.18`, it is also not possible for the viewer to adjust some its visualization parameters, although this may [change](https://rerun.io/docs/reference/roadmap). + +The `rerun-animation` package uses a global configuration file - `rerun-animation.ini` - to adapt the viewer and its loading behavior. +Multiple variants are available and new ones can be installed and used. + +All this is provided by the `rerun-animation-config {action}` interface. + +## `rerun-animation-config` actions: + +### _list_ + +This action prints all the available configurations. + +```sh +rerun-animation-config list +[DATE TIME] INFO 7 configurations available: + INFO 100style + INFO zeggs + INFO trinity_speech_gesture + INFO default + INFO amass + INFO motorica_dance + INFO lafan1 +``` + + + +Apart from the **default** configuration, `rerun-animation` comes with some pre-defined configurations for popular datasets. + +### _print_ + +This action prints a specific, or the current (_when used with no arguments_), configuration. + + +```sh +rerun-animation-config print lafan1 +{ +│ 'bvh.options': { +│ │ 'show_rotations': 'no', +│ │ 'joint_radius': '0.25' +│ }, +│ 'rerun': { +│ │ 'up_axis': 'y', +│ │ 'color': 'white', +│ │ 'fps': '30' +│ } +} +``` + +{{< alert "circle-info" >}} +The **current** configuration can be printed using `rerun-animation-config print`. +{{< /alert >}} + +### _select_ + +This action selects one of the installed configurations. + + +```sh +rerun-animation-config select zeggs +INFO 🟢 Switched to the zeggs configuration. +``` + +{{< alert "circle-info" >}} +The **installed** configurations can be printed using `rerun-animation-config list`. +{{< /alert >}} + +### _reset_ + +This action resets the configuration to the default one. + +```sh +rerun-animation-config reset +INFO 🟠 Switched back to the default configuration. +``` + +{{< alert "circle-info" >}} +The **default** configuration can be printed using `rerun-animation-config print default`. +{{< /alert >}} + +### _create_ + + +### _install_ + + + --- \ No newline at end of file