Pleochroma GitHub

User manual › Render and look

Chapter 23

Render Jobs

Collect pictures and tilt videos in a queue and let them render one after another.

All chapters

23.1 What You Will Do

Collect still pictures and tilt videos as render jobs, then let the program render them one after another while you keep working, or overnight. You can pause, resume, restart, reorder and cancel jobs at any time, edit a waiting job, change its material or copy it to other materials, and load a job's view back onto the picture of the Design place. You can also export the jobs as a script and render them on another computer with the command-line tool.

23.2 Adding a Job

You can add a job from two places:

Add to Queue sits next to the button that renders at once. The two do not replace each other. Start Export and Start Video Export still render immediately. Add to Queue saves a render job and renders nothing yet. A message tells you how many jobs were added and where to start them.

What a Job Keeps#

A job also freezes Renderer, and either the Path-Traced sample count or the Ray-Traced AA tap count and Fire option. Ray-Traced stills and tilt-video frames finish after their fixed taps and use no denoiser. Local, GPU and protocol-44 remote routes honor the frozen engine. Later view or output-setting changes do not replace it.

With "Stone Shadow" off and "Tray Reflection" at 0, Path-Traced files use format: 1 and Ray-Traced files use format: 2 with an explicit engine object. Legacy files without an engine load as Path-Traced. The shadow alone makes a still use format: 3, so an older reader refuses the job. Any still with "Tray Reflection" above 0 uses format: 4, with or without the shadow (the job keeps the reflection as tray_reflection, from 0 to 1), which an older reader also refuses. A Path-Traced job of a stone with color zones uses format: 5 whatever else it holds (a turned HDR map still makes it format: 6): the zones are saved in the job file as zoning, so a script made with Export Script... and the command line render them, and an older reader refuses the job instead of rendering the base color alone. A Ray-Traced job never carries zones, because that engine renders the base color. A job queued by an older version keeps its zones in the app; Export Script... adds them to the job file. The job supplies the same engine, shadow and reflection settings to a remote worker. A job of a stone moved within the picture (Chapter 2) uses format: 7 whatever else it holds: it keeps the move as camera_pan, and an older reader refuses the job instead of drawing the stone in the middle. A job of a centered stone keeps its format. A job of a stone in a Stone Pose (Chapter 2) uses format: 8, which wins over format: 7 and every other format: it keeps the pose as stone_pose, [tilt, turn, spin] in degrees, and an older reader refuses the job instead of drawing the stone as designed. A job of an unposed stone leaves the key out and keeps its format. A tilt-video job never carries a pose.

The shadow requires a studio light and a backdrop. HDR maps, As Lit, "Contrast view (ASET-style)" cannot use it. A tilt video draws it only when its own Stone Shadow switch was on when the job was added (Chapter 14); the job is then format 3, like a still with the shadow. The renderer builds a Final quality map before the first sample. The Tray Reflection has the same scope and works together with the shadow. In the app its row dims with the Stone Shadow row's notes ("(not used with an HDR map)", "(needs a backdrop)", "(not used with this light)"); a job or worker that cannot serve it says "Tray reflection needs a studio light with a backdrop." A tilt video draws it only when its own Tray Reflection switch was on when the job was added; the job is then format 4.

A job keeps a frozen copy of everything it needs: the finished stone, its width and material effects, the material and its color (the preview material, if you were previewing one), the lighting, the camera, the size, the samples and the other export settings. If you change the design afterwards, the job still renders what you saw when you added it.

The job does not freeze the remote worker. Its address and certificates are read from Settings when the job runs (see Limitations). The job does remember your choices about where to render: local only, local and remote, or remote only, and the transfer.

A tilt video has the same Compute pills as a still picture. Remote Only keeps this computer free: the video's frames are drawn entirely by the remote worker, and this computer only receives and saves them and encodes the video, using almost no CPU or GPU. If the remote is missing or stops answering, the job fails with a message instead of drawing the frames here; resume it once the remote is back and it continues with its first missing frame. On the command line, pleochroma-cli tilt-video takes the same choice from the job file, or from --compute local, remote or both.

A job also keeps the Adaptive Sampling choice and its Target Noise (Chapter 9). Adaptive sampling stops each part of the picture once it is clean enough; the samples setting is the most any part gets. A job that uses it says so in its detail line, for example · adaptive (Standard), and a job without it reads as before. Jobs saved by an older version have no such choice and render every pixel to the full sample count. Adaptive sampling renders on this computer only for now, so a job that uses it needs Local Only under Compute. Adaptive sampling is an optional build feature (adaptive-sampling). The job file keeps its accel.adaptive choice and loads and validates in every build. A standard build renders such a job at the job's own samples per pixel, without adaptive sampling, and its progress note says "Adaptive sampling off: this build has no adaptive sampling."

A job also keeps the Path Cache choice (Chapter 9). The path cache is a preview that reuses the stone's light paths when a kept view is drawn again; a job that asks for it says so in its detail line with · path cache. For a still picture, Keep for Re-Renders is saved in the job: the cache is written to disk and a later render of the same view starts from it. A tilt video writes its frames' caches to disk only when Keep Path Cache for This Video was ticked when it was added. A job that asks for the cache without keeping it is drawn as without it, and a note says so. Kept caches live in the cache folder that Preferences shows (Chapter 17). Jobs saved by an older version have no such choice and render without the cache.

A job also records its estimator, the way a stone sample is drawn (Chapter 9, "Exit Collection"). The app renders with exit collection. A job recorded with the branching estimator, such as one from an older version, is re-rendered with exit collection under a new token, so its pictures and frames are never mixed with the old ones. Under exit collection the path cache is off, and a job that asks for it says "Path cache off: exit collection, the default estimator, does not use it." A tilt video started with the branching estimator is not resumed: its folder is refused with a message that names the change, and you use Restart in the Render Jobs window to render it again.

A job also keeps the Beam Tracing (Faceted Stones) choice (Chapter 9). Beam tracing follows the light through a faceted stone as beams, so the stone settles much faster, and the result equals the path-traced picture within noise. It applies to a convex stone with flat, polished facets and sharp edges; for any other stone the job draws as without it and says why in a note. A job that uses it says so in its detail line with · beams, and while it runs the progress line names the phase, tracing beams and then finishing. For a still picture, Keep Beams for Re-Renders is saved in the job too: the beams are written to the cache folder when the picture is done, and a later render of the same view, even with other lighting, starts from them. For a tilt video every frame builds its own beams, and they are written to disk only when Keep Path Cache for This Video was ticked when the job was added. A job with beam tracing uses the compute choice it was added with: a remote worker draws its share of the beam tiles (Chapter 9), and when no worker is set up the job renders on this computer and says so in a note ("Beam tracing renders on this computer"). The Ray-Traced renderer cannot use beams, so a job added with Ray-Traced selected carries no beam choice. Jobs saved by an older version have no such choice and render without beams.

Beam tracing is retired and is an optional build feature (beam). The standard build never adds a job with beams, but a job file that asks for beams still loads and renders there, without them. Its progress note says "Beam tracing off: this build has no beam tracer." A job that also asks for the path cache and keeps it uses the cache. The paragraph above describes a build with the beam feature.

One Job per Picture#

With saved lighting ticked under Also Render With Saved Lighting, each picture becomes its own job: one for the current view and one for every ticked lighting.

File Names#

The file name is worked out when you add the job, from the folder and the name template of the export dialog. If a file with that name exists by the time the job runs, or another job already uses the name, " (2)" is added to the name. A date or time in the template is the date and time of Add to Queue, not of the render.

Video tutorial · all videos

Render Jobs · 1:22

23.3 The Render Jobs window

The Render Jobs window with two queued pictures.
Fig. 23.1 — The Render Jobs window with two queued pictures.

Open it in one of three ways:

Each row shows the job's number, its name, what it renders, then its progress. A long name is cut short in the row; hover it to read the whole name. Two badges name the job's compute (Local Only, Remote Only or Local + Remote) and its state. The states are Queued, Running, Paused, Done, Failed and Cancelled; a job saved by a program version this one does not know shows Unknown. The kind line of a Ray-Traced job ends with "Ray-Traced". The list is kept in your library, so the jobs are still there the next time you start the program. The window has a round ? button that opens this chapter, and Close. Closing the window does not stop a job that is rendering.

Compute for Many Jobs at Once#

The Compute button at the top of the window opens a menu captioned "Compute for waiting, paused and failed jobs". Choose Local Only, Remote Only or Local + Remote and every waiting, paused and failed job takes that choice. For example, send the whole queue to the remote worker before you leave for the night.

23.4 Starting and Pausing the Queue

Start Queue renders the waiting jobs from the top of the list down, one job at a time. While the queue runs, the button reads Pause Queue. It stops the job that is rendering and keeps the rest waiting.

Stop After This Job, next to it while a job renders, lets the running job finish and then stops the queue; the rest keep waiting. Click it again (it then reads Keep Queue Going) to let the queue go on after all.

The queue never starts by itself, not even when the program starts. When the last waiting job is done, the queue stops and the program says so.

Only one export runs at a time, whether it is a queue job or a still picture or a tilt video started from its own dialog. While a still picture or video from a dialog is rendering, Start Queue is grayed out; while a queue job renders, the Export button and Start Video Export are grayed out. Each says why in its hover note. A dialog export can be sent to the background (Run in Background) and shows as a chip in the header; click the chip to open its dialog again (Chapter 14). Add to Queue is always available.

A row shows at most three buttons and a ... menu button, so it fits a small window. The buttons depend on the job's state:

Job state On the row
Queued Pause, Edit..., menu
Paused or Failed Resume, Edit..., menu
Done Show, Edit..., menu
Cancelled Restart, Edit..., menu
Running Pause, Cancel, menu (a running job cannot be edited)

The ... menu opens below its button, or above it when there is no room, and scrolls when the window is very small. It has three groups, and an item appears only when it makes sense for the job's state. The button already on the row is not repeated in the menu.

Item What it does
Run Next Moves the job to the top, so it is the next one to render. It does not interrupt the job that is rendering.
Move Up / Move Down Moves the job one place.
Duplicate Adds a copy of the job, right after it, with its own file name.
Copy to Materials... Copies the job to other materials (see below).
Load Job View Shows the job's view on the picture of the Design place (see below).
Restart Renders the job again from the beginning.
Cancel Stops the job for good. Restart can still bring it back.
Delete Removes the job from the list. Files it already wrote stay on disk.

The row buttons do this:

Button What it does
Pause Stops this job. The queue goes on with the next one.
Resume Puts a paused or failed job back in line. A tilt video goes on with its first missing frame.
Restart Renders the job again from the beginning.
Cancel Stops the job for good. Restart can still bring it back.
Show Opens the folder with the finished file.
Edit... Opens the Edit Render Job dialog (see below).

A running job's menu holds only Duplicate and Copy to Materials.... A job in a state this version does not know has no row button and no Edit...; its menu offers Delete only.

Two more buttons sit at the top of the window.

Button What it does
Clear Finished Removes every Done and Cancelled job from the list. Files stay on disk.
Export Script... Opens the script section at the foot of the window (see below).

Delete and Clear Finished never delete pictures, videos or frames. Only the list entry goes.

Video tutorial · all videos

Start, Pause and Resume the Queue · 2:04

23.5 What Pausing Keeps

Pausing works frame by frame.

A paused video keeps its frames on disk until it is finished or you delete the folder. At large sizes this can be many gigabytes.

Restart throws the finished frames of a video away and starts at frame one.

Closing the Program While a Job Renders#

If you close the program while a job renders, the program asks first, in the same dialog it uses for unsaved work. If you go on, the job stops and waits as Paused. A tilt video keeps its finished frames. The queue is stopped, so nothing starts by itself when you open the program again.

If the program stops without asking (a crash or a power cut), the job is found as Paused the next time the program starts, with a note on its row that the program closed while it was rendering. At most one frame is rendered twice.

23.6 Editing a Job

Press Edit... on a row to open Edit Render Job. It shows the job's own settings, not the live view and not the export dialog's settings, and it never changes those. Every control is shown in the Simple interface too. The body scrolls between a fixed header, which names the job and its state, and a fixed footer. Return does nothing in this dialog.

What You Can Change#

For a still picture:

The renderer is not editable. The dialog shows "Renderer Path-Traced · fixed for this job" (or Ray-Traced) with the hint "To change it: Load Job View, switch the renderer, then Update Job from This View."

A tilt video can change compute, transfer, samples, frame rate, whether the PNG frames are kept, the video name, output folder and label, and also its size, sweep, axes, overlay and material. The frame folder is the output folder plus the video name, so a new folder or a new video name moves it and the video renders from the start; the frames already finished stay in the old folder. A new size, sweep, axes or overlay renders the video from the start too. When the overlay is on and the material or the axes change, the dialog measures the tilt curves of the job's stone again; the footer says "Measuring the tilt curves of this job's stone..." and Save Changes waits until it is done.

The Buttons#

A line above the buttons always says what Save Changes will do, and names the first changed setting that changes the picture. For example:

Case The line
Queued job "Waiting job: Save changes it in place."
Paused job, nothing edited "Paused job: Save keeps its finished frames unless the picture changes."
Paused job, the size changed "Paused job: the size changed, so it renders from the start."
Failed job, new compute, transfer or HDR map "Failed job: Save puts it back in the queue."
Done job, new label or name "Done job: a new label or name keeps it done."
Done job, new compute "Done job: a new compute asks whether to render it again."
Done job, the picture changes "Done job: Save puts it back in the queue and renders it again. The old file stays on disk."
Tilt video, new samples "Changing the samples renders the 36 finished frames again."
Tilt video, new folder or video name "The folder changed, so the video renders from the start. Its finished frames stay in the old folder."

The numbers in the lines are the real counts.

What Saving Does#

A change that alters the picture is a change of size, samples, bounces, color space, taps, material, and for a video the sweep, axes or overlay. Changing only the label, the file name, the compute or the transfer does not alter it.

Job when opened Only label, name, compute or transfer changed The picture changed
Queued Saved in place. Saved in place.
Paused Saved; a video keeps its finished frames. Saved; the finished frames of a video are not used, and it renders from the start.
Failed A new label or name only: saved, the job stays failed. A new compute, transfer or HDR map: the job goes back in the queue, a video keeps its frames (like Resume). The job goes back in the queue and renders from the start.
Done or Cancelled A new label or name only: saved, the state stays, nothing renders again. A new compute or transfer: the dialog asks "Render this job again?" with Cancel (back to the dialog), Save Only (stores the choice, the state stays) and Render Again (the job goes back in the queue and renders from the start). The job goes back in the queue and renders from the start. The old result file stays on disk.
Running There is no Edit... button.

For a video, "name" in this table means the label only: the video name is part of the frame folder.

A few more rules:

23.7 Changing the Material

The edit dialog has a Material row. Choosing another material changes the picture, so the Save rules above apply. The job's stone is drawn again in the new material:

A material you made yourself that no longer exists is refused with a sentence that says so.

Copy to Materials#

Copy to Materials... in the row menu makes new jobs of one picture in several materials. The dialog has a search field and a checklist of materials; the job's own material is grayed and marked "this job". A line says what a copy keeps and resets, and a list shows the new jobs with their file names. Tick the materials and press Copy.

23.8 Load Job View

Load Job View in the row menu, or Load Job View... in the command palette (Chapter 19), shows the job's own stone on the picture of the Design place with everything the job holds: the stone with its tiers and frosting, the material, exposure, backdrop, lighting, HDR map, camera, Stone Pose, the renderer and the bounces. Use it to look at a job again, or to prepare a new version of it. From the palette, the Render Jobs window opens with the header "Choose a job to load its view"; click a job, or press Cancel or Esc to leave the choice.

The window switches to the Design place to show the job's view, from whichever page you started, and the picture shows a traced view. While the job's view shows, the picture is view-only (no facet picking, drag handles, Slice, Pick Meet, Cut To slider or Diagram), and the Tiers tab lists the job's stone read-only. A job that cannot be read says so and leaves you where you were. While a tutorial step keeps the places locked, Load Job View is not available, in the row menu as in the palette, and says "Locked by the guide".

Update Job from This View (also in the palette; run from another page, it shows the Design place first, so you see the view the job takes) stores the live view into the job: the job's own design and file settings stay, and the stone, camera, lighting, material and renderer become what you see now, at the job's size and bounce limit. It follows the Save rules above, because the picture changes. It is off while the job is rendering, with the reason "This job is rendering. Pause it first.", and it works only while the job's own view is the one on screen. If the job's HDR map is missing and the live view shows another one, the program asks first. For a tilt video it keeps the sweep, axes, frame rate and overlay, and measures the curves again when the overlay is on.

This is also how to change a job's renderer: load its view, switch the renderer, then Update Job from This View.

23.9 Exporting a Script

Export Script... writes the jobs that are not finished, in queue order, to a new folder. The section at the foot of the window has these choices:

Choice Meaning
Script Type: Both, PowerShell (.ps1), Shell (.sh) Which script files are written.
Render On: This Computer, This Computer and the Remote Worker (with its address), or Only the Remote Worker The script passes --compute both or --compute remote for the last two, whatever each job chose. Both are dimmed with "No remote worker is set up in Settings." when there is none.
Put the Finished Pictures and Videos in the Script Folder Without it, each picture or video goes to the folder its job was added with.

Press Choose Folder and Export and pick a folder. The program makes a new folder in it, named render-jobs- with the date and time, so nothing is ever overwritten. It holds:

text
render-jobs-2026-10-06-1403/
  run-render-jobs.ps1     the PowerShell script
  run-render-jobs.sh      the shell script
  jobs/                   one job file per job, and assets/ with any HDR maps
  renders/                the finished files, if you chose to put them there

The button is dimmed when no job is unfinished. Copy the whole folder to the computer that should render, then run:

The script runs pleochroma-cli once per job. If the tool is not on the PATH, set the environment variable PLEOCHROMA_CLI to its full path first. At the top of the script you can change the engines, the remote address and the certificate folder. A tilt video that stopped part way continues where it stopped when you run the script again.

23.10 Running a Job File by Hand

The jobs of a script are job files (*.job.json). You can run one yourself:

text
pleochroma-cli render FILE.job.json
pleochroma-cli tilt-video FILE.job.json

render renders a still picture and tilt-video renders a tilt video. A job file of the other kind is refused. Both use the program's own render engine, so the picture is the one the program would have made.

Option Meaning
--engine path or ray Override the frozen image renderer. Ray-Traced uses the job's sanitized AA options and the required format rule.
--local cpu, gpu or cpu+gpu Which engines of this computer render. The default is cpu+gpu. Without GPU support in the build, everything renders on the processor and a note says so.
--remote HOST:PORT with --cert-dir FOLDER Also use a remote worker. The two go together.
--compute local, remote or both Replace the job's own choice. remote and both need --remote.
--transfer full or final Replace the job's own transfer choice.
--contribute-local With --transfer final: this computer renders a share too.
--out FILE.png render only: write the picture somewhere else than the job says.
--out-dir FOLDER tilt-video only: use another frame folder.
--restart tilt-video only: start again from the first frame. Without it a video resumes. A video made with another estimator than the one this run uses is refused: run the way the video was made to resume it (the message says how), or use --restart to start again.
--quiet No progress lines. Notes and errors are still printed.
--material NAME Render the stone in another built-in material (any letter case), at the job's stone size. An unknown name is refused with the list of materials.
--color-pattern NAME Render the stone in one of its material's typical color patterns (Chapter 29), built on the material's own color as the Color Pattern window builds it: hexagonal-banding, watermelon, "Parti Color" and so on. A Watermelon or Reverse Watermelon also turns the Crystal Axis through the table, as the app does. Not together with --color-variant.
--color-variant KEY Render the job's material in one of its built-in color variants, at the job's stone size: the full key (ruby.thai) or the part after the dot (thai). An unknown key is refused, and the message lists the material's keys.
--adaptive Use adaptive sampling with the standard Target Noise: each part of the picture stops once it is clean enough, and the job's samples are the most any part gets. A job that was saved with Adaptive Sampling ticked uses it without this option. Only in a build with the adaptive-sampling feature; otherwise an unknown flag.
--target-noise X Stop at a cleaner or rougher picture than the standard one. X is a fraction of the brightness: 0.005 is Fine, 0.01 is Standard and 0.02 is Draft. It turns adaptive sampling on. Only in a build with the adaptive-sampling feature; otherwise an unknown flag.
--min-spp N The fewest samples any part gets before it may stop. It must be a multiple of 16 and not above the job's samples. It turns adaptive sampling on. Only in a build with the adaptive-sampling feature; otherwise an unknown flag.
--noise-metric relative or absolute Measure --target-noise as a fraction of the brightness (relative, the default) or as a color difference (absolute, where 1 is a difference that is just visible). It turns adaptive sampling on. Only in a build with the adaptive-sampling feature; otherwise an unknown flag.
--path-cache Ask for the path cache: the stone is shaded from its stored light paths, a preview with approximate facet edges. It is used only together with --persist-cache; alone, the picture is drawn as without it and a note says so. A job that was saved with Path Cache ticked asks for it without this option. This run renders with the branching estimator, which the path cache needs, and says so.
--persist-cache Also keep the cache on disk for later renders of the same view. It turns the path cache on. For a tilt video it keeps the cache of every frame.
--cache-dir FOLDER Keep the caches in another folder than the one Preferences shows.
--stone-pose TILT,TURN[,SPIN] render only: stand the stone on the tray in this pose, in degrees: TILT 0 to 180 (90 stands the table upright), TURN and SPIN 0 to 360 (a value outside the range is clamped or wrapped). The job is saved as format 8. tilt-video refuses it. A value that is not two or three numbers is refused with "--stone-pose takes TILT,TURN or TILT,TURN,SPIN in degrees".
--highlights whiten or keep-color How colors too bright for the screen are shown. keep-color (the default) keeps their hue and saturation and dims them; only light brighter than white turns white. whiten keeps their brightness and makes them paler, so a bright ruby can look pink. With a remote worker, whiten needs --transfer full.

Adaptive sampling does not combine with --engine ray, or with a remote worker for now (--compute local). The path cache does not combine with --engine ray either. The options above win over what the job file says. A job saved with adaptive sampling or the path cache, and a run without these options, uses the job's own choice. A standard build, without the adaptive-sampling feature, renders a job saved with adaptive sampling at the job's own samples per pixel, with the note "Adaptive sampling off: this build has no adaptive sampling."

--material, --color-pattern, --color-variant, --stone-pose, --highlights whiten and the adaptive sampling options (only in a build with the adaptive-sampling feature) make a different picture than the job describes. The first three, and --engine ray, also drop the color zones of the job file (the Ray-Traced engine renders the base color), and the job's format follows. A tilt video run with any of them needs its own --out-dir: the folder of the plain run belongs to another job.

The tool prints one line on standard output: the path of the finished file (for a video, the MP4 or GIF, or the frame folder when no video could be made). Progress, notes and the line wrote PATH go to standard error.

Exit code Meaning
0 Done.
1 The command line is wrong, or the job file holds the other kind of job.
2 The job file cannot be used: it is not a job file, it comes from a newer version, a value is invalid, an HDR map is missing or changed, or the frame folder belongs to another job.
3 A file could not be read or written.
5 The render failed or was stopped.

23.11 Same Picture, or Nearly the Same

Ray-Traced uses fixed AA taps, not a new random sample stream on each run. CPU execution is deterministic on one target, and GPU/remote output is checked against the CPU tolerance. It can still differ slightly across devices or numerical targets; the Monte Carlo noise discussion below applies to Path-Traced.

A render done only on the CPU, or only on the GPU of one computer, gives the same picture every time. A render that splits its work between the CPU and the GPU, or that uses a remote worker, is only the same statistically. Each run shares the samples out by measured speed, so a few samples land on a different engine, and the noise differs a little from run to run. Both pictures are equally correct.

23.12 Limitations

23.13 Next Steps

Chapter 9 explains every export setting, Chapter 10 sets up a remote worker, and Chapter 14 covers the tilt video. Chapter 12 lists what to do when a job fails.