Skip to content

Catchlight v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:21
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 .clm model with blinks, head and body turns, hair motion, and speech. Use "Import from layers" in the editor, catchlight-editor rig, or the new catchlight-auto-rig crate. 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 --gpt to draw them. Complex characters may still need manual cleanup.
  • Standalone web player (@catchlight/player). Embed and play .clm characters on a canvas without shipping the editor, cutting the WASM bundle roughly in half. Player.create renders 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 startLipSync in @catchlight/player or LipSync in catchlight-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 with catchlight-editor humanoid, or define custom keys such as mystudio.tail.
  • catchlight-cli migrate. Rewrites older .clm files 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::release exits 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-editor now 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 .clm reader 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-editor CLI 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 (.clm format 6). Removed the spine node kind along with its editor UI, CLI fitting commands, and React SpinePanel. 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/player for playback only. For editing, @catchlight/editor-core replaces @catchlight/core, and @catchlight/editor-web (with @catchlight/editor-web/theme.css) combines @catchlight/react and @catchlight/editor-ui. Both editor packages require @catchlight/player as a peer dependency.
  • --store flag and open HTTP binding by default. Renamed --store to --root in catchlight-editor and catchlight-editor-server (defaulting to the opened model's directory or the current directory). Listening on a non-local HTTP address in catchlight-editor-server now requires --allow-remote.
  • catchlight-core loading and model API changes. Loading now returns LoadError, ReadOptions replaces separate fragment and budget readers, model errors carry typed IDs, and ModelNode fields live under .properties instead of Deref. Custom extensions can no longer register catchlight.* keys.
  • catchlight-wgpu setup API changes. GpuContext replaces the standalone setup helpers, SurfaceContext::acquire returns Acquired, and RenderTarget infers its size from the view. Configure masking via StencilMode; CATCHLIGHT_DISABLE_STENCIL has been removed.
  • Editor protocol and WASM replica changes. Protocol Rust types have changed. On the WASM replica, needs() replaces texturesNeeded and extensionsNeeded, scratchTransform takes optional fields, and playback methods (play, setParam, etc.) moved to replica.player(). Pass that player to Viewport and free it alongside the replica.
  • Rust versions before 1.98. Minimum supported Rust version is now 1.98.