Repository navigation
Scene studio
The Scene studio is a 3D stage. You block out a shot with models, lights and cameras, then take a still or record the timeline to video. Agents can do all of it too, see Agents-and-MCP.
The studio is docked. The outliner is on the left, the inspector is on the right, the viewport fills the middle, and the timeline and the media strip sit below it. Nothing floats over the viewport.
| Part | What it does |
|---|---|
| Outliner (left) | the objects in the scene, with groups. Width 200 to 420 pixels, 260 by default |
| Inspector (right) | the settings of the selected object. When nothing is selected it shows a hint. Width 260 to 480 pixels, 300 by default |
| Grips | the thin bars between the columns and the viewport |
| Timeline and media strip | the keyframe timeline and the library strip under the viewport |
To change the layout:
- Drag a grip to resize a column. Focus a grip and press the left or right arrow keys to move it in steps of 16 pixels.
- Double-click a grip to put that column back to its default width.
- Click the small arrow on a grip to fold the column away, and again to bring it back.
- View, Show Panels (Mod+Backslash) hides or shows the panels at once.
- File menu of the scene, Reset layout, puts widths and folds back to the defaults.
The layout is remembered on this computer, not in the project. In Record mode the grips are hidden and the controls for Capture and Record take the top of the viewport.
Navigation follows the common 3D editor conventions. The Navigation button (the question mark under the axis gizmo) lists them in the app and holds three settings: Trackpad mode, Invert zoom and Orbit speed. Trackpad mode is on by default on a Mac.
| Action | Mouse | Keyboard |
|---|---|---|
| Orbit | left drag on empty space, or middle drag | |
| Pan | Shift and middle drag, or hold Space and drag | in trackpad mode, two-finger scroll |
| Zoom | scroll wheel, toward the pointer | in trackpad mode, pinch |
| Zoom by drag | Ctrl or Command and middle drag | |
| Fly | hold the right button, then move the mouse to look | W A S D to move, Q and E for down and up. Scroll while flying to change speed |
| Frame the selection | double-click an object | F. With nothing selected, F frames everything |
| Reset the view | the Home button | Home |
| Select | click an object | |
| Look through the camera | Space (Space plays and pauses while the timeline is in use) |
In trackpad mode, hold Alt (Option on a Mac) and scroll to orbit.
The axis gizmo at the top right of the viewport shows where the view is pointing. Click an axis dot to snap to that side.
| View | Keys |
|---|---|
| Front, Right, Top | 1, 3, 7 on the number row or the numpad |
| Back, Left, Bottom | Alt+1, Alt+3, Alt+7 (Option on a Mac), or Ctrl+numpad 1, 3, 7 (Command on a Mac) |
| Perspective or orthographic | 5, or the Persp button |
View presets and Home are off while you look through a camera. The same actions are in the command search and can be rebound in Preferences, Keyboard, see Keyboard-shortcuts.
The Display button opens a menu, and Z opens it from the keyboard. Shift+Z switches wireframe on and off.
| Group | Choices |
|---|---|
| Display | Solid, Wireframe, Solid with wire, Material preview (the default), Bounding box |
| Show | Grid, Axes, Light helpers, Camera helpers, Selection outline, Backface culling |
| Selected object displays as | Viewport setting, Wireframe, Bounding box, Hidden in render |
The display mode and the overlays are for the viewport only, and they are saved with the scene so it opens the way you left it. "Hidden in render" is the one per-object choice that is meant for output: that object is left out of a still or a recording, but it stays in the scene and in the outliner.
Shift or Cmd (Ctrl on Windows and Linux) click in the view or in the outliner adds an object to the selection or takes it out. Shift drag in the view selects everything inside the box, and the Edit menu has Select All and Invert Selection. The gizmo then moves, rotates or scales the whole selection, and the inspector edits the fields the selected objects have in common. Copy, Paste and Duplicate work for every kind of object, lights and cameras included. The snap button on the toolbar shows the current steps (0.1 m, 5 degrees and 0.1 scale to start with), and the arrow beside it changes them.
Record mode looks through the active camera. The frame shows the picture area, the title and action safe areas, a rule of thirds and the focal length. Align camera to view, in the camera menu, moves the active camera to where you are looking from.
Select a shape or a model and open Material in the inspector. You can set colour, metalness, roughness, opacity and glow, pick quick materials, and choose texture maps (colour, normal, roughness) from your library or from the starter library with a tiling control. Under Environment you can choose an HDRI or a panorama picture to light the scene and, if you want, to show as the background, with strength and turn. An environment picture is saved in the scene. A .hdr or .exr lights it correctly. A tone-mapped picture lights it only approximately. A placed world sets the light itself, so the environment picture applies when the world is removed.
Switch to Record mode with Tab or the mode button. Capture (C) takes a still of the camera view. Record (R) renders the timeline to an MP4.
- Recording renders each frame of the timeline in order and hands it to the engine's ffmpeg, so the video is exact and does not depend on how fast the window draws. If the engine has no usable encoder, formcraft falls back to the window's own encoder where it has one.
- The frame rate is the timeline's frame rate (1 to 120, 30 by default). The length is the timeline's length, up to 60 seconds.
- While it works, a cover shows Recording with a percentage. Stop is the Cancel button on the cover, or Esc. Stopping always returns: the cover says Stopping, the window waits at most about a second and a half, then you are back in the scene. No video is saved and the scene is as it was. Your playhead goes back to where it was.
- No single step waits for ever. If the engine does not start the encoder, a frame does not pose or draw, or the engine stops taking frames, the recording stops and says which step failed, with a Retry button.
- Also save depth and mask records two more videos beside the main one: a grey depth video and a black and white mask video. They need the engine encoder. If they cannot be made, the main video is still saved and a message says so.
- When it finishes, a review shows the result, and the video is in the library. A message says "Your recording is ready."
A recording needs an H.264 encoder. On Linux the downloaded ffmpeg has none, so install a system ffmpeg that has one, see Troubleshooting.
A scene is a project. File, Save (Mod+S), Save As and Save a Copy are described in Projects-and-files. The title bar shows Saved, Edited or Saving. A scene with unsaved changes is kept in a recovery copy, and formcraft offers to restore it the next time it starts.
| Path | What lives there |
|---|---|
frontend/src/engine/scene/ |
the DOM-free scene: store.ts, actions.ts (the key table), viewport.ts (display state), material.ts, env-map.ts, tl-batch.ts (keys in batches) |
frontend/src/ui/scene/panels/dock.ts |
the docked columns, grips and Reset layout |
frontend/src/ui/scene/view/ |
the viewport, navigation, the axis gizmo (navui.ts) and the display menu (display.ts) |
frontend/src/ui/scene/output/ |
Capture and Record, the cover, the review |
frontend/src/ui/scene/materials/ |
the Material and Environment sections |
backend/app/services/encode_sessions.py |
the engine side of a recording |
- A scene action goes through
SCENE_ACTIONSwith a label, group, keys and a gate, so Preferences, the cheatsheet and the agent catalogue see it. - Display state is the viewport's, never the document's.
- Recording must always be stoppable: every wait has a limit and Stop returns within a moment.