Skip to content

Crucible 0.21.0

Choose a tag to compare

@anxuanng anxuanng released this 17 Nov 16:52
d86e408

Fireballs from a real gas simulation, a PS1 material, and a phone page for reviewing a scene. Crucible rendered every picture below.

A gas-sim explosion at its peak

add-explosion bakes a fireball and smoke from a grid gas simulation (#1720).

The default look next to the retro look

material.retro gives a PS1 look: snapped vertices and warped textures (#1869).

Fireball emission before and after, next to Cycles

The smoke edge is softer. Left to right: before, after, Cycles (#1925).

A grid fire in Glaze, Cook and Cycles

The Cook path tracer now draws grid volumes. Left to right: Glaze, Cook, Cycles (#1790).

Breaking changes

Three changes alter how an existing scene looks or validates.

  • HDRI quarter turn (#1371, PR #1372). An HDRI now faces the same way as in three.js and Cycles, a quarter turn from before. To get an old scene's look back, add Math.PI / 2 to environmentRotation.
  • Irradiance grid size (#1218, PR #1858). bake.irradianceGrid now takes 8 to 40 nodes. A value from 41 to 48 is no longer accepted. Use true instead: it still reaches 48 along the longest side.
  • Grid fires are dimmer (#1733, PR #1751). A grid volume's blackbodyIntensity now gives the physical brightness and Planck colour of Blender's Principled Volume. Existing grid fires render 3 to 4 times dimmer. Raise blackbodyIntensity or the exposure to get the old look back.

Top 10

  1. Explosions in one call. scene_apply with add-explosion writes a whole blast: fireball, smoke, sparks, flash, shock ring and camera shake (#1720).
  2. A real gas simulation. bakeGasSim bakes a fireball from advection, pressure and burning fuel into grid volume frames. Fireballs now billow and break up like the real thing (#1743).
  3. Grid volumes in Cook. backend: "native" path traces a grid volume, so a fire or smoke cloud renders in Cook as well as in Glaze (#1790).
  4. Softer, more accurate glow. A glowing volume now weights each step by its exact integral. Dense fire is dimmer and its edge is narrower, closer to Cycles (#1926).
  5. Retro material. Add retro: { vertexSnap, affineUV } to a material for the PS1 look in the raster renderer (#1869).
  6. Texture sequences that stream. A map.sequence can hold up to 4,096 frames. A long sequence loads one frame at a time, so you can texture a canvas that changes over a whole film (#1852).
  7. Review on your phone. scene_export_web with review: true writes a phone review page. Your marks come back to the agent through scene_ask_user and reviewFile (#1895).
  8. Annotate inside chat. In chat apps that support MCP Apps, scene_ask_user shows its annotate view inline, with the same marks as the browser (#1891).
  9. Faster first explosion. The MCP server keeps Chrome's compiled GPU shaders and baked explosion frames between runs. The first volume scene_create of a new process takes about 0.8 s instead of 4.9 s (#1768).
  10. Smoother pose edits. A pose edit at 961 parts takes about 2 ms instead of 60 ms, so a game frame keeps its budget (#1219).

Also new

Splats snapped to an 8-colour palette with a Bayer dither

  • Pixel-art splats. createGaussianSplats takes palette (2 to 256 colours) and dither (bayer4 or bayer8) to snap cut splats to a palette (#1966).
  • Crash damage that moves. detachedPartFlight throws a torn-off part sideways off the wall, keeps its whole box on the car's side of the wall and above the ground, and settles it on its most stable face (#1960, #1975). hingedDoorSwing swings a damaged door open on its hinge to a stop (#1973).

A torn-off bumper in flight beside the wall

  • Circle what you mean. scene_ask_user has a lasso. Its marks come back with the parts under the outline, most covered first (#922). A mark can point at a moment of the film with motionTime (#922). A pin or lasso on a part that shares its material with other parts says so in materialSharedWith, so the agent gives that part its own material before recolouring it. On the Haiku bench, that took the lasso task from 0 of 3 to 3 of 3 runs (#1972).
  • One call before a mesh edit. scene_capabilities lists each meshEdit and meshStack op with its arguments (#1929).
  • Skinned assets framed right. Auto-framing and the preview ground use the skinned pose, not the bind pose (#1976).

Everything else

CI now runs the Python tests of the Cycles parity bench that need no Blender (#1963), shares one MCP server in the grid volume tests (#1965) and has no open CodeQL alerts (#1970). The full list of all 303 changes is below and on the changelog.

Install or update with npm install @codepawlhq/crucible (npm).