Skip to content

Rendering upgrade - #5

Merged
primitiveailabs merged 5 commits into
mainfrom
rendering-upgrade
Nov 28, 2026
Merged

primitiveailabs merged 5 commits into
mainfrom
rendering-upgrade

Conversation

@primitiveailabs

@primitiveailabs primitiveailabs commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

A big step up in how exhibits look in the viewer, Studio and standalone HTML exports. The .decoder.json format is unchanged, so existing exhibits pick up the new engine as they are.

What's in it

  • Materials: brushed and anisotropic metals, clear-coated paint and plastics, sapphire glass with a thin anti-reflective film, and wet-looking tissue. Organ tissue stays opaque by default on software WebGL, and exhibit material overrides still win.
  • Lighting and the viewer: AgX tone mapping, a studio environment for reflections, soft key-light shadows, a contact shadow fitted to each model and a subtle bloom pass.
  • Section views: a machined cap now covers the cut face instead of showing hollow geometry.
  • Disassembly guides: drawn as real 3D rods with seated rings, so they stay visible on high-density screens and in thumbnails.
  • Effects and geometry: new procedural textures for flow, flame and particle effects, plus more detailed procedural geometry and matching illustrations.
  • Path tracing (Studio): deeper light bounces for metal and glass, fewer fireflies, sharper output and no tile seams on the first frame. Converges to 128 samples.
  • Tooling: scripts/capture-gpu-showcase.ts captures matched stills and a disassembly video, and refuses to save anything unless it is running on a physical GPU.
  • Checks: the export checks now wait for playback to start instead of sampling once, which keeps them reliable on software WebGL.
  • Release: version 0.2.0, with a new CHANGELOG.md included in the npm package.

Checks

npm run check (format, types, core checks, 16 tests, build) and npm run verify:exports all pass.

Photos

Rendered with software WebGL (SwiftShader). Hardware GPU shots are still to come.

The espresso machine in cutaway view, with a brass boiler, glossy black group head and see-through shell

The four-stroke engine pulled apart, with 3D guide rods showing where each part seats The mechanical watch pulled apart, with gold and blue gears and guide rods back to the case

Known limits

Comparisons so far were rendered with software WebGL (SwiftShader). A comparison on physical GPU hardware is still to come.

@primitiveailabs
primitiveailabs merged commit e7dc6b1 into main Nov 28, 2026
1 check passed
@primitiveailabs
primitiveailabs deleted the rendering-upgrade branch November 28, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant