* Render environment editor: rotation, intensity, backdrop colour and ground through render.environment.set * Render environment editor: rotation ring in the view with one undo step per drag * Render environment: Source, orientation, backdrop, ground and atmosphere sections * Keep segmented controls inside their allocated rows * fix: compile legacy environment controls only for tests
This commit is contained in:
@@ -132,8 +132,14 @@ final edge-aware denoising, and a thin-lens depth-of-field control. Positive ape
|
||||
requires a perspective product camera. Denoising preserves raw accumulation but can
|
||||
soften detail; glass and sharp specular first hits bypass its final spatial filter.
|
||||
|
||||
The Environment section selects no map, an original artistic sky gradient, or a local
|
||||
Radiance `.hdr` panorama. HDR input is bounded to 16 MiB, 2048 × 1024, 2:1, and linear
|
||||
The Environment Browser row opens the Environment editor. The legacy Environment
|
||||
and Background pages use that same editor, with five sections in order: Source,
|
||||
Orientation and strength, Backdrop, Ground and stage, and Atmosphere (GPU).
|
||||
Source offers None, Artistic sky, HDR file and embedded HDR for GPU, or None,
|
||||
Constant and HDR for CPU. Change opens the Environments scope of Studios and
|
||||
environments. Embedded HDR shows its name, kind and saved-in-design status; sky
|
||||
exposes zenith, horizon and ground linear colours. CPU HDR has lighting samples.
|
||||
Radiance `.hdr` input is bounded to 16 MiB, 2048 × 1024, 2:1, and linear
|
||||
sRGB/D65 primaries; unspecified primaries require the explicit interpretation checkbox.
|
||||
EXR is not supported. Rotation and intensity affect illumination, while the saved
|
||||
background remains the camera backplate. Selecting a file runs the bounded public
|
||||
@@ -141,6 +147,23 @@ background remains the camera backplate. Selecting a file runs the bounded publi
|
||||
The picker belongs to the originating document revision, setup, method and input
|
||||
selection. A cancelled or stale answer never replaces a newer selection.
|
||||
|
||||
Rotate and Intensity use the existing environment command; the rotation ring is
|
||||
their shortcut. Backdrop offers World, Colour, Gradient and Clear. Gradient uses
|
||||
the existing GPU camera backdrop (vertical, horizontal or radial, two colours,
|
||||
centre and radius). It never lights, casts shadows or reflects, and is refused
|
||||
with transparent output. World visibility and blur remain faded because no saved
|
||||
renderer setting backs them. Unsupported method choices stay faded with a reason.
|
||||
|
||||
Ground and stage fits a saved ground, floor and wall, or polygonal cyclorama.
|
||||
Replacing a stage requires the explicit consent checkbox; removing it uses the
|
||||
shared **Remove the saved stage?** confirmation. The fields expose extent margin,
|
||||
clearance gap and linear reflectance, followed by the saved panel count.
|
||||
Atmosphere edits the bounded participating medium: enable, world bounds in mm,
|
||||
extinction, scattering albedo and phase. The transitional Aging page's airborne
|
||||
section calls this same function. CPU and raster show the controls faded with
|
||||
the GPU requirement. These controls use existing render state and commands;
|
||||
opening the editor never changes the design or renderer.
|
||||
|
||||
The panel distinguishes a pending file, a checked file and **HDR saved inside this
|
||||
design**. It shows dimensions, declared colour primaries and intensity; the source
|
||||
digest is available in a collapsed details section. Check, Start and Save use the
|
||||
@@ -429,8 +452,9 @@ current numerical image setup, without inventing a saved rig.
|
||||
engine selection), Environment, Light, Shot and Output. It belongs to each document
|
||||
view and is never saved in a design. `view.render_select` validates semantic focus
|
||||
requests without opening dialogs or editing/evaluating a design. Object picks and
|
||||
Browser selections keep the existing selection commands. Selecting Output opens the Output editor. Other focus types retain their existing
|
||||
Inspector routing for subsequent selection-following editor changes.
|
||||
Browser selections keep the existing selection commands. Selecting Output opens
|
||||
the Output editor; selecting Environment opens its editor. The legacy Environment
|
||||
and Background entry points share the Environment editor.
|
||||
|
||||
Look expands Objects, Light expands Lights and Environment, and Frame expands
|
||||
Shots. Output leaves expansion unchanged. Stages preserve selection and never
|
||||
@@ -448,7 +472,8 @@ marked Soon. The shared footer exports the design library through `library.expor
|
||||
and resets the current target's override through `appearance.assign`.
|
||||
`view.render_inspector {visible}` controls transient per-document visibility;
|
||||
selecting a stage reopens the editor. Output selection routes to its dedicated editor;
|
||||
other semantic selection focus routing remains deferred.
|
||||
Environment selection routes to its editor. Other semantic selection focus routing
|
||||
remains deferred.
|
||||
|
||||
## Output editor
|
||||
|
||||
|
||||
+3
-2
@@ -138,7 +138,8 @@ table. Panel/Window/Confirm compositions also have dedicated geometry and intera
|
||||
| `status_line`, `StatusTone` | Full-width, wrapping status or refusal text in dim, warning or error ink. Translates source labels; already translated messages also work. Place directly in the form, outside `row`, so its height grows with the whole message. Rect: `dialog:status:TEXT`. | `font_label`, `text_dim`, `warning`, `error` |
|
||||
| `caption` | Dim caption aligned beneath a control | `font_small`, `text_dim`, label-column tokens |
|
||||
| `figure_rows`, `FigureSlot` | A caller-painted figure in the label column beside a stack of captioned expression fields (the Hole dialog's section); the caller gets each field's rect and hover/focus state to draw leaders and light the part it sizes. Fields keep their `dialog:<label>` handles; the block publishes `dialog:figure:<id>` and its picture `dialog:figure_picture:<id>` | `control_height`, `form_label_width`, `font_small`, `form_dim`, `space_2/4`, label gap |
|
||||
| `section`, `section_count`, `search_fold`, `divider` | Persisted small-caps disclosure with chevron, optional count badge and trailing hairline; `search_fold` is that row for shortcut matches during Preferences search, closed until opened; full-width rule | `control_height`, `dialog_rule`, `font_caption`, tracking, spacing |
|
||||
| `linear_color_field` | Linear RGB swatch with precise channel fields; clips only the preview to display gamut and preserves HDR values until edited | `control_height`, `space_4`, shared colour popover |
|
||||
| `section`, `section_count`, `section_method`, `search_fold`, `divider` | Persisted small-caps disclosure with chevron, optional count or method tag and trailing hairline; `search_fold` is that row for shortcut matches during Preferences search, closed until opened; full-width rule | `control_height`, `dialog_rule`, `font_caption`, tracking, spacing |
|
||||
| `list_row` | Picked item with a remove target | `control_height`, `font_label`, icon/spacing tokens |
|
||||
| `text`, `Text` | Hint, note, report, inline or cell text; see variants below | `font_small/label`, `text/dim/error`, `control_height`, `space_4` |
|
||||
| `text_lines` | Virtualized read-only licence/report lines, horizontal overflow | `font_small`, `text`, `control_height` |
|
||||
@@ -160,7 +161,7 @@ table. Panel/Window/Confirm compositions also have dedicated geometry and intera
|
||||
| `slider` + `Slider` options | One token-painted track/thumb over native slider/value interaction; optional step, caller formatting, whole-step manipulation and hidden value editor | `control_height`, `space_24/8/4/2`, form control/font tokens |
|
||||
| `placement_field` | Stable focus ID; drawing tool owns Enter/Tab validation and completion | `control_fill`, `font_body`, `text`, `control_height`, spacing |
|
||||
| `color_field`, `color_popover` | Opaque document RGB swatch and kit popover; global U8/F segments, copy, gamma-byte or linear RGB fields, painter-drawn HSV square/hue and current strip; outside click dismisses | `control_*`, `form_*`, `border`, `on_accent`, `space_*` |
|
||||
| choice: `segmented`, `Segments` | Equal text choices; `states` supplies mixed selection, `disabled_reasons` keeps unavailable choices visible with an explanation, `compact` clips instead of falling back to a dropdown, `primary` uses accent/on-accent for the selected segment | `control_*`, `selected_bg/ink`, `font_label`, `space_4/8` |
|
||||
| choice: `segmented`, `Segments` | Equal text choices; `states` supplies mixed selection, `enabled` keeps unsupported choices faded and inert, `disabled_reasons` also disables choices and supplies hover explanations, `compact` clips instead of falling back to a dropdown, `primary` uses accent/on-accent for the selected segment | `control_*`, `selected_bg/ink`, `font_label`, `space_4/8` |
|
||||
| `segmented_icons`, `IconSegment` | Equal icon choices and mixed states | segment tokens, icon palette |
|
||||
| `checkbox`, `checkbox_indeterminate`, `checkbox_row`, `checkbox_grid`, `options` | One box/tick painter for inline, mixed, full-row, grid and menu choices | `space_14/3/2`, `radius_sm`, `control_fill/border`, `form_primary/ink`, `hover`, `on_accent` |
|
||||
| `text_emphasis` | Bold/italic with translated accessible names | form control/font tokens |
|
||||
|
||||
Reference in New Issue
Block a user