vork 0.6.0
vork now draws 2D canvases and motion graphics on the GPU, in the same scene as 3D, with sound, a colour API with Display P3 and HDR output, and a new 3D architecture that gets path-traced pictures on screen much sooner.
Install, then run vork setup
Running vork setup after installing is recommended, and the installers run it for you. Setup now also builds vork's
prebuilt 3D engine for your GPU, so the first path-traced picture of a new scene doesn't wait for that scene's
shaders to compile. Setup takes about 2 minutes on a Mac and about 80 s on an NVIDIA L4.
If you skip setup, nothing breaks. On an NVIDIA L4, a first path render takes about 8 s when vork ships that scene's shaders and about 40 s when it has to compile them; repeats take 1 to 3 s.
The Linux and macOS downloads now come as .tar.xz beside .tar.gz, and the curl installer takes the smaller one
when it can read it. The Linux and macOS npm packages are smaller than 0.5.1's (166 MB against 176 MB, and 108 MB
against 122 MB); the Windows one grows from 139 MB to 154 MB.
Python: pip install vork installs the Python SDK. It contains no renderer: install that with npm, the curl
installer or a platform archive, and keep the SDK and renderer on the same version.
New
- Canvas: SVG paths, styled text, CSS colours and gradients, image and movie paints, groups, clip paths, masks, CSS filters, blur, drop shadows and viewBox. Paths, colours, filters and text styles animate with CSS/SVG interpolation, down to individual glyphs, words and lines.
- 2D and 3D together: put a 3D world in a canvas, or use a canvas as a 3D material's image.
- Sound: any node can carry an audio file on its clock. MP4 and MOV renders get a soundtrack, a WAV-only render
needs no GPU, and
vork askreads levels and spectra. - Colour:
composition.viewand adisplayper output. Display P3 stills, video and canvases; Rec.2100 PQ and HLG PNGs for 3D worlds; EXR stored in Linear Rec.709, Linear Rec.2020 or ACEScg. Canvases write EXR too: the picture after its view, as floating-point premultiplied RGBA. A canvas can blend in Display P3, Linear Rec.709, Linear Rec.2020 or ACEScg instead of sRGB (composition.color_space). Input images and footage use their embedded colour description. - Text: one text engine for 2D and 3D, with Arabic, Indic, Hebrew and bidirectional shaping, kerning, styled runs and variable-font weights.
- Node clocks: control when a node exists, its start, speed, trimming and looping.
vork ask: fields, transforms, bounds and screen boxes, answered on the CPU without rendering.vork sessionand the SDKSessionkeep the GPU and scene between renders, for 3D and canvases.- Gaussian splats: import SPZ and 3DGS PLY captures. They cast and receive shadows and reflections with meshes.
vork skills addinstalls the agent authoring skill offline.- Help recipes:
vork help springs(sampled easing and physics),vork help sequences(exact-frame windows and transitions) andvork help captions(SRT cues to text tracks). - AMD on Linux: GPU denoising through OIDN's HIP device, adapted from Chromadera's #12, and 4K renders that fit RADV's allocation limit, from #14. Thank you, Chromadera. AMD qualification is still limited.
Faster
- 3D path tracing: the path kernel is compiled for the features each scene uses. The first picture comes from the prebuilt engine and the render exits with it; the scene's own kernel finishes compiling in the background, and later renders, or a long render once it is ready, use it.
- Glass in raster profiles compiles sooner: the glass-bottles scene's first picture comes 5 to 13% sooner than in 0.5.1 on a Windows T4 (previs 135 to 126 s, final 117 to 102 s).
- Many lights: std/draft and std/final sample 8 lights from a light tree, and the Mac renders many-light scenes that 0.5.1 aborted on.
- Thin film no longer hangs on Macs at 512 samples.
- 2D: 0.5.1 had no canvas, so this compares with Remotion. On ten templates ported from Remotion, vork renders 2× to 22× faster than Remotion, warm, on an NVIDIA L4: hello-world takes 0.97 s against 7.18 s, and skia-neon 1.48 s against 32.4 s.
- Video on AMD and other non-NVIDIA Linux GPUs: MP4 is encoded with libx264 at a quality target (CRF 18), as in 0.5.1. NVIDIA keeps NVENC.
Breaking changes
Read vork help upgrade, which lists the changes since 0.5.1 with before and after. A 0.5.1 scene either loads or is
refused in one line that names the edit. There are no aliases. Update the renderer and SDK together.
render.displayandrender.compositormove tocomposition.viewandcomposition.compositor, and a composition states its space ("space": "3d"for a world).- The view input
dither_intensityis removed: every output is dithered the same way. - View programs return
ViewResult view(ViewContext, Inputs)and importstd.view. - Compositor inputs
{node: NAME}→{step: NAME}; animation layerblend: "add"→"combine";MathOperation.FRACTION→FRACT;std.particles→fluid.particles.post/white_balanceis removed (write a composite program withstd.white_balance). std/textalign_xlosesjustifyandflush. - On macOS, vork renders with Metal only:
WGPU_BACKEND=vulkan(MoltenVK) is refused. Unset it or selectmetal. - Images and footage tagged with a wide gamut or HDR are read in their own colour, or refused where vork can't
decode them yet. Set
images.NAME.color_spaceto keep the 0.5.1 picture. - Some pictures move where 0.5.1 was wrong: per-sample environments, glTF transmission and sidedness, and undenoised
std/final keeping its detail.
vork help upgradelists these under "Look changes".
Exit codes
The contract is 0 success, 2 usage, 3 invalid scene or program, 4 device, GPU memory, encoder or setup, 5 filesystem.
vork now keeps it. Exit 3 means the scene is at fault and the machine is fine, so an error that isn't known to be the
scene's exits 4; in 0.5.1 such errors exited 3. Device limits met while installing a scene exit 4. A frame that
exhausts the fog work budget refuses with exit 4 instead of succeeding with a warning. Non-finite samples no longer
refuse the frame: they render magenta, with a warning and their coordinates in meta.json. A frame refused because of an
authored program exits 3 (it exited 4 in 0.5.1). A refused 3D frame stops the render; a canvas writing a PNG or EXR
sequence skips a frame whose result isn't finite, renders the rest, then exits non-zero naming the refused frames.
Known limits
- A first render on an empty cache still compiles the scene's own shaders, and large scenes can take minutes.
- A path still drawn before the scene's own kernel is ready comes from the prebuilt engine. It is a different sample draw, as close to the reference as the scene kernel's, so it can differ slightly from later renders of that scene.
- A render started before that background compile finishes still draws with the engine and is slower than later renders: Classroom 13.5 s against 6.0 s once compiled, on an NVIDIA L4.
- Heavy scenes can still hit the Metal watchdog. Linux AMD denoising has a report of corruption at high resolution.
- A canvas frame draws at most 335,544 ordered items; larger frames are refused.