diff --git a/README.md b/README.md index d5a97a2..88f3382 100644 --- a/README.md +++ b/README.md @@ -124,8 +124,10 @@ Other useful cursor fields are: | ----------------------------------------------- | -------------------- | | Ctrl+Alt+C | Copy selection | | Ctrl+Alt+V | Paste clipboard | -| Ctrl+Alt+Enter | Toggle 2D / 3D mode | +| Ctrl+Alt+Enter | Toggle 2D / ortho 3D | +| Ctrl+Alt+P | Toggle perspective | | Ctrl+Alt+M | Toggle Mobius mode | +| Ctrl+Alt+Shift+0-9 | Activate camera slot | | Ctrl+Alt+Up | Increase warp | | Ctrl+Alt+Down | Decrease warp | | Alt+PageUp | Scroll one page up | @@ -136,6 +138,14 @@ Other useful cursor fields are: | Ctrl+- | Decrease font size | | Ctrl+Alt+0 | Reset font size | +In custom configs, `ToggleOrtho3DMode` is the current action name for the +orthographic 3D toggle. The old `Toggle3DMode` action remains supported as a +backward-compatible alias. + +Camera slot actions are named `ActivateCameraSlot0` through +`ActivateCameraSlot9`. The extra Shift modifier keeps slot 0 distinct +from the existing Ctrl+Alt+0 font reset. + ## Inline 3D objects Ratty uses its own protocol, the [Ratty Graphics Protocol](protocols/graphics.md), @@ -146,6 +156,7 @@ RGP supports: - registering `.obj`, `.glb`, and `.stl` assets by path - placing them at terminal cell anchors - animation, scale, color, depth and other attributes +- camera control for flat, orthographic, perspective and Mobius views There is a Ratatui widget called `ratatui-rgp` available in [`widget/`](widget/) if you want to build your own terminal applications that involve inline 3D objects. @@ -154,7 +165,9 @@ There is a Ratatui widget called `ratatui-rgp` available in #### [Big rat](widget/examples/big_rat.rs) -Places a single oversized rat directly in your terminal: +Places a single oversized rat directly in your terminal. Press `v` in the demo +to cycle the Ratty camera protocol through flat, orthographic, perspective and +Mobius views.