Repository navigation
Immutable
release. Only release title and notes can be modified.
Catchlight 0.5.0 adds auto-rigging from See-through layers, a standalone web player, live lip sync, and camera framing zones. Spine nodes have been removed in .clm format 6 (format 5 models auto-migrate on load). This release also reorganizes the npm packages and includes breaking Rust and protocol changes (see Removed below).
New
- Auto-rigging from layered art. Turn See-through V3 exports (PSD or layer folder) into a rigged
.clmmodel with blinks, head and body turns, hair motion, and speech. Use "Import from layers" in the editor,catchlight-editor rig, or the newcatchlight-auto-rigcrate. By default, the editor draws closed eyes and mouth shapes with OpenAI's paid image API, using your own API key. You can turn either off or use your own pictures. On the command line, add--gptto draw them. Complex characters may still need manual cleanup. - Standalone web player (
@catchlight/player). Embed and play.clmcharacters on a canvas without shipping the editor, cutting the WASM bundle roughly in half.Player.createrenders with WebGPU or WebGL2 and handles animation playback, expressions, humanoid controls, and camera framing. - Live lip sync. Drive a character's mouth from live audio using
startLipSyncin@catchlight/playerorLipSyncincatchlight-extension-expressions. On the web, it works with microphones, media streams, and<audio>/<video>elements, with optional audio delay so sound stays in sync with the mouth. Uses a compact built-in neural model by default, or a formant-based mode that needs no model weights. - Zones and landmarks. Tag body zones (
head,full_body) and pin landmarks (chest,waist) to vertex slots so apps and players can frame a character cleanly in any pose. Edit them in the Controls panel or withcatchlight-editor humanoid, or define custom keys such asmystudio.tail. catchlight-cli migrate. Rewrites older.clmfiles to format 6. Format 5 models also auto-migrate on load, dropping spine nodes and their bindings while keeping child nodes in place, and report what changed.- Animation lead-outs.
AnimationPlayer::releaseexits a looping clip cleanly by playing its lead-out once and holding the final frame. - Bevy multi-camera support. Puppets now respect each camera's viewport and
RenderLayers.
Fixed
- Hardened local editor.
catchlight-editornow opens the browser with a single-use launch code that expires after 60 seconds, restricts file access to one root directory, and rejects shared-writable socket directories. - Isolated edit panics. A panic during an edit now closes only that session with an error instead of taking down the editor server.
- Stricter file and request validation. The
.clmreader rejects non-finite meshes and colors, duplicate sections, IDs over 512 bytes, and node trees deeper than 256 levels; puppets ignore non-finite param values. The editor rejects unknown request fields, manifest keys, and node kinds. - Safer mesh generation. Overly dense mesh requests fail fast instead of stalling, with caps of 65,536 vertices per part plus bounded spacing and margin. Margins also no longer distort grid meshes.
- Performance improvements. Faster mesh dragging, refitting, pose recording, weld deformation, animation playback, and texture mipmap generation.
- Session tracking and launcher exit codes.
catchlight-editorCLI commands no longer reuse a remembered session ID from a different editor instance, and stopping the launcher with a signal now exits with that signal's code.
Removed
- Spine nodes (
.clmformat 6). Removed the spine node kind along with its editor UI, CLI fitting commands, and ReactSpinePanel. Use mesh groups with motion responses instead. Older versions of Catchlight cannot open format 6 files. - Replaced npm packages (
@catchlight/core,@catchlight/react,@catchlight/editor-ui). Use@catchlight/playerfor playback only. For editing,@catchlight/editor-corereplaces@catchlight/core, and@catchlight/editor-web(with@catchlight/editor-web/theme.css) combines@catchlight/reactand@catchlight/editor-ui. Both editor packages require@catchlight/playeras a peer dependency. --storeflag and open HTTP binding by default. Renamed--storeto--rootincatchlight-editorandcatchlight-editor-server(defaulting to the opened model's directory or the current directory). Listening on a non-local HTTP address incatchlight-editor-servernow requires--allow-remote.catchlight-coreloading and model API changes. Loading now returnsLoadError,ReadOptionsreplaces separate fragment and budget readers, model errors carry typed IDs, andModelNodefields live under.propertiesinstead ofDeref. Custom extensions can no longer registercatchlight.*keys.catchlight-wgpusetup API changes.GpuContextreplaces the standalone setup helpers,SurfaceContext::acquirereturnsAcquired, andRenderTargetinfers its size from the view. Configure masking viaStencilMode;CATCHLIGHT_DISABLE_STENCILhas been removed.- Editor protocol and WASM replica changes. Protocol Rust types have changed. On the WASM replica,
needs()replacestexturesNeededandextensionsNeeded,scratchTransformtakes optional fields, and playback methods (play,setParam, etc.) moved toreplica.player(). Pass that player toViewportand free it alongside the replica. - Rust versions before 1.98. Minimum supported Rust version is now 1.98.