allyhub scenery see
What cameras of a 3D scenery see at moments: each named object's share of the frame, what hides it, what the frame's edges cut, its distance; the camera's clearance; the picture's levels
allyhub scenery see [item] [options]Arguments
Section titled “Arguments”| Argument | Type | What it is |
|---|---|---|
<item> |
string | The scenery: its id in allyhub.yaml, or its module’s file, listed or not |
Options
Section titled “Options”| Option | Type | Default | What it does |
|---|---|---|---|
--times |
list of string | Seconds of scenery time for the word and anchor references the scenery’s moves and its update (w.time) are timed by, as a video’s part gives them: @turn=3.2,@show=5.1 (@turn+0.2 is found from @turn); over –piece’s | |
--piece |
string | The video whose scenery layers give those times (default, when one is needed and –times gives none: the one video of the project that draws this scenery) | |
--camera |
list of string or object | Cameras to look from: each a named camera of the scenery, or one written in JSON as a scenery’s code writes a CameraState: {“position”:[0,1.6,3],“target”:“crate”,“lens”:26}; its fields position, target, direction, yaw, pitch, up, roll, lens (default 26), lensFrame, fov, near (default 0.05), far (default 500), aperture, focus, ev | |
--move |
list of string | The scenery’s named moves to look from, at each moment | |
--at |
list of number | [0] |
Moments of scenery time, s |
--only |
list of string | The only objects drawn, by name (with what is under them) | |
--size |
string | "540x960" |
The frame, WIDTHxHEIGHT |
--pick |
list of number | A pixel to ask what is under, x,y from the top left |
Global options
Section titled “Global options”--dir <value>: the project’s folder; default the one around where it is run. --json: print the result as JSON.
Output
Section titled “Output”With --json, the command prints an object with these fields:
| Field | Type | What it is |
|---|---|---|
file |
string |
Examples
Section titled “Examples”allyhub scenery see room --camera doorallyhub scenery see room --camera '{"position":[0,1.6,3],"target":"crate"}' --at 0,2Exit codes
Section titled “Exit codes”0 when it succeeds; the others are listed in Exit codes.
In the work
Section titled “In the work”3d: Building a 3D scenery and its cameras
add search → add → scenery → scenery view → scenery map → scenery see → scenery measure → scenery motion → scenery solve → scenery bake → inspect fidelity → dev